repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/tests/packages/foo/lib/main.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/tests/packages/foo/lib/main.js
define(function (require, exports) { exports.name = 'foo'; exports.alphaName = require('alpha').name; });
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/tests/packages/foo/lib/second.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/tests/packages/foo/lib/second.js
define({ name: 'foo/second' });
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/dist/dist-site.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/dist/dist-site.js
/** * @license RequireJS Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ /* To run this file: > node dist-site.js */ /*jslint regexp: false, nomen: false, plusplus: false, strict: false */ /*g...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/dist/file.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/dist/file.js
/** * @license Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ /*jslint plusplus: false, octal:false, strict: false */ /*global require: false, exports: false */ var fs = require('fs'), path...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/dist/init.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/dist/init.js
$(document).ready(function($) { // set panel min-height to full browser height $(window).bind("load resize", function(){ var h = $(window).height(); $("#wrapper, #grid, #navBg").css({ "min-height" : (h) }); $("#content").css({ "min-height" : (h-168) }); }); // toggle grid ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/index.js
var Writable = require('readable-stream').Writable var inherits = require('inherits') var TA = require('typedarray') var U8 = typeof Uint8Array !== 'undefined' ? Uint8Array : TA.Uint8Array function ConcatStream(opts, cb) { if (!(this instanceof ConcatStream)) return new ConcatStream(opts, cb) if (typeof opts === ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/readable.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/readable.js
exports = module.exports = require('./lib/_stream_readable.js'); exports.Stream = require('stream'); exports.Readable = exports; exports.Writable = require('./lib/_stream_writable.js'); exports.Duplex = require('./lib/_stream_duplex.js'); exports.Transform = require('./lib/_stream_transform.js'); exports.PassThrough = ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/duplex.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/duplex.js
module.exports = require("./lib/_stream_duplex.js")
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/passthrough.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/passthrough.js
module.exports = require("./lib/_stream_passthrough.js")
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/writable.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/writable.js
module.exports = require("./lib/_stream_writable.js")
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/transform.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/transform.js
module.exports = require("./lib/_stream_transform.js")
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/util.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/util.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/lib/util.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/lib/util.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder/index.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/node_modules/debuglog/debuglog.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/node_modules/debuglog/debuglog.js
var util = require('util'); module.exports = util.debuglog || debuglog; var debugs = {}; var debugEnviron = process.env.NODE_DEBUG || ''; function debuglog(set) { set = set.toUpperCase(); if (!debugs[set]) { if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { var pid = process.pid; deb...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/typedarray/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/typedarray/index.js
var undefined = (void 0); // Paranoia // Beyond this value, index getters/setters (i.e. array[0], array[1]) are so slow to // create, and consume so much memory, that the browser appears frozen. var MAX_ARRAY_LENGTH = 1e5; // Approximations of internal ECMAScript conversion functions var ECMAScript = (function() { ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/typedarray/test/tarray.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/typedarray/test/tarray.js
var TA = require('../'); var test = require('tape'); test('tiny u8a test', function (t) { var ua = new(TA.Uint8Array)(5); t.equal(ua.length, 5); ua[1] = 256 + 55; t.equal(ua[1], 55); t.end(); });
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/typedarray/test/server/undef_globals.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/typedarray/test/server/undef_globals.js
var test = require('tape'); var vm = require('vm'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/../../index.js', 'utf8'); test('u8a without globals', function (t) { var c = { module: { exports: {} }, }; c.exports = c.module.exports; vm.runInNewContext(src, c); var TA = c...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/typedarray/example/tarray.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/node_modules/typedarray/example/tarray.js
var Uint8Array = require('../').Uint8Array; var ua = new Uint8Array(5); ua[1] = 256 + 55; console.log(ua[1]);
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/typedarray.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/typedarray.js
var concat = require('../') var test = require('tape') var TA = require('typedarray') var U8 = typeof Uint8Array !== 'undefined' ? Uint8Array : TA.Uint8Array test('typed array stream', function (t) { t.plan(2) var a = new U8(5) a[0] = 97; a[1] = 98; a[2] = 99; a[3] = 100; a[4] = 101; var b = new U8(3) b[0] =...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/buffer.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/buffer.js
var concat = require('../') var test = require('tape') var TA = require('typedarray') var U8 = typeof Uint8Array !== 'undefined' ? Uint8Array : TA.Uint8Array test('buffer stream', function (t) { t.plan(2) var buffers = concat(function(out) { t.ok(Buffer.isBuffer(out)) t.equal(out.toString('utf8'), 'pizza A...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/string.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/string.js
var concat = require('../') var test = require('tape') var TA = require('typedarray') var U8 = typeof Uint8Array !== 'undefined' ? Uint8Array : TA.Uint8Array test('string -> buffer stream', function (t) { t.plan(2) var strings = concat({ encoding: 'buffer'}, function(out) { t.ok(Buffer.isBuffer(out)) t.equ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/nothing.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/nothing.js
var concat = require('../') var test = require('tape') test('no callback stream', function (t) { var stream = concat() stream.write('space') stream.end(' cats') t.end() })
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/objects.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/objects.js
var concat = require('../') var test = require('tape') test('writing objects', function (t) { var stream = concat({encoding: "objects"}, concatted) function concatted(objs) { t.equal(objs.length, 2) t.deepEqual(objs[0], {"foo": "bar"}) t.deepEqual(objs[1], {"baz": "taco"}) } stream.write({"foo": "b...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/array.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/array.js
var concat = require('../') var test = require('tape') test('array stream', function (t) { t.plan(1) var arrays = concat({ encoding: 'array' }, function(out) { t.deepEqual(out, [1,2,3,4,5,6]) }) arrays.write([1,2,3]) arrays.write([4,5,6]) arrays.end() })
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/infer.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/infer.js
var concat = require('../') var test = require('tape') test('type inference works as expected', function(t) { var stream = concat() t.equal(stream.inferEncoding(['hello']), 'array', 'array') t.equal(stream.inferEncoding(new Buffer('hello')), 'buffer', 'buffer') t.equal(stream.inferEncoding(undefined), 'buffer'...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/server/ls.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/concat-stream/test/server/ls.js
var concat = require('../../') var spawn = require('child_process').spawn var exec = require('child_process').exec var test = require('tape') test('ls command', function (t) { t.plan(1) var cmd = spawn('ls', [ __dirname ]) cmd.stdout.pipe( concat(function(out) { exec('ls ' + __dirname, function (err, b...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/index.js
var http = module.exports; var EventEmitter = require('events').EventEmitter; var Request = require('./lib/request'); var url = require('url') http.request = function (params, cb) { if (typeof params === 'string') { params = url.parse(params) } if (!params) params = {}; if (!params.host && !par...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/inject.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/inject.js
;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].export...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/node_modules/Base64/base64.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/node_modules/Base64/base64.js
;(function () { var object = typeof exports != 'undefined' ? exports : this; // #8: web workers var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; function InvalidCharacterError(message) { this.message = message; } InvalidCharacterError.prototype = new Error; InvalidChara...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/node_modules/Base64/base64.min.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/node_modules/Base64/base64.min.js
(function(){function t(t){this.message=t}var e="undefined"!=typeof exports?exports:this,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.prototype=Error(),t.prototype.name="InvalidCharacterError",e.btoa||(e.btoa=function(e){for(var o,n,a=0,i=r,c="";e.charAt(0|a)||(i="=",a%1);c+=i.charAt(63&o>>8-8...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/test/request_url.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/test/request_url.js
global.window = { location: { host: 'localhost:8081', port: 8081, protocol: 'http:' } }; var noop = function() {}; global.window.XMLHttpRequest = function() { this.open = noop; this.send = noop; }; var test = require('tape').test; var http = require('../index.js'); test('Test simple url string',...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/streaming/main.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/streaming/main.js
var http = require('../../'); http.get({ path : '/doom' }, function (res) { var div = document.getElementById('result'); if (!div.style) div.style = {}; div.style.color = 'rgb(80,80,80)'; res.on('data', function (buf) { div.innerHTML += buf; }); res.on('end', function () { ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/streaming/server.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/streaming/server.js
var http = require('http'); var ecstatic = require('ecstatic')(__dirname); var server = http.createServer(function (req, res) { if (req.url === '/doom') { res.setHeader('content-type', 'multipart/octet-stream'); res.write('d'); var i = 0; var iv = setInterval(function () { ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/headers/main.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/headers/main.js
var http = require('../../'); var opts = { path : '/beep', method : 'GET' }; var req = http.request(opts, function (res) { var div = document.getElementById('result'); for (var key in res.headers) { div.innerHTML += key + ': ' + res.getHeader(key) + '<br>'; } div.innerHTML += '<br>'; ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/headers/server.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/headers/server.js
var http = require('http'); var ecstatic = require('ecstatic')(__dirname); var server = http.createServer(function (req, res) { if (req.url === '/beep') { res.setHeader('content-type', 'text/plain'); res.setHeader('foo', 'bar'); res.setHeader('bling', req.headers.bling + '-blong'); ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/get/main.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/get/main.js
var http = require('../../'); http.get({ path : '/beep' }, function (res) { var div = document.getElementById('result'); div.innerHTML += 'GET /beep<br>'; res.on('data', function (buf) { div.innerHTML += buf; }); res.on('end', function () { div.innerHTML += '<br>__END__'; ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/get/server.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/get/server.js
var http = require('http'); var ecstatic = require('ecstatic')(__dirname); var server = http.createServer(function (req, res) { if (req.url === '/beep') { res.setHeader('content-type', 'text/plain'); res.end('boop'); } else ecstatic(req, res); }); console.log('Listening on :8082'); server.l...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/main.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/main.js
var http = require('../../'); var JSONStream = require('JSONStream'); http.get({ path : '/data.json' }, function (res) { var parser = JSONStream.parse([ true ]); res.pipe(parser); parser.on('data', function (msg) { var div = document.createElement('div'); div.textContent = JSON.stringi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/server.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/server.js
var http = require('http'); var ecstatic = require('ecstatic')(__dirname); var fs = require('fs'); var server = http.createServer(function (req, res) { ecstatic(req, res); }); console.log('Listening on :8088'); server.listen(8088);
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/index.js
var Parser = require('jsonparse') , Stream = require('stream').Stream /* the value of this.stack that creationix's jsonparse has is weird. it makes this code ugly, but his problem is way harder that mine, so i'll forgive him. */ exports.parse = function (path) { var stream = new Stream() var parser = ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/jsonparse.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/jsonparse.js
/*global Buffer*/ // Named constants with unique integer values var C = {}; // Tokens var LEFT_BRACE = C.LEFT_BRACE = 0x1; var RIGHT_BRACE = C.RIGHT_BRACE = 0x2; var LEFT_BRACKET = C.LEFT_BRACKET = 0x3; var RIGHT_BRACKET = C.RIGHT_BRACKET = 0x4; var COLON = C.COLON = 0x5; var COMMA =...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/bench.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/bench.js
var fs = require('fs'), Parser = require('./jsonparse'); var json = fs.readFileSync("samplejson/basic.json"); while (true) { var start = Date.now(); for (var i = 0; i < 1000; i++) { JSON.parse(json); } var first = Date.now() - start; start = Date.now(); var p = new Parser(); for (var i = 0; i...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/utf8.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/utf8.js
var test = require('tape'); var Parser = require('../'); test('3 bytes of utf8', function (t) { t.plan(1); var p = new Parser(); p.onValue = function (value) { t.equal(value, '├──'); }; p.write('"├──"'); }); test('utf8 snowman', function (t) { t.plan(1); var p = new Parser(); p.onValue = functi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/primitives.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/primitives.js
var test = require('tape'); var Parser = require('../'); var expected = [ [ [], '' ], [ [], 'Hello' ], [ [], 'This"is' ], [ [], '\r\n\f\t\\/"' ], [ [], 'Λάμβδα' ], [ [], '\\' ], [ [], '/' ], [ [], '"' ], [ [ 0 ], 0 ], [ [ 1 ], 1 ], [ [ 2 ], -1 ], [ [], [ 0, 1, -1 ] ], [ [ 0 ], 1 ], [ [ 1 ],...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/examples/twitterfeed.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/examples/twitterfeed.js
var Parser = require('../jsonparse'); var Http = require('http'); require('./colors'); var p = new Parser(); var cred = require('./credentials'); var client = Http.createClient(80, "stream.twitter.com"); var request = client.request("GET", "/1/statuses/sample.json", { "Host": "stream.twitter.com", "Authorization": ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify_object.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify_object.js
var fs = require ('fs') , join = require('path').join , file = join(__dirname, 'fixtures','all_npm.json') , JSONStream = require('../') , it = require('it-is').style('colour') , es = require('event-stream') , pending = 10 , passed = true function randomObj () { return ( Math.random () < 0.4 ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/two-ways.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/two-ways.js
var fs = require ('fs') , join = require('path').join , file = join(__dirname, 'fixtures','all_npm.json') , JSONStream = require('../') , it = require('it-is').style('colour') function randomObj () { return ( Math.random () < 0.4 ? {hello: 'eonuhckmqjk', whatever: 236515, ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test.js
var fs = require ('fs') , join = require('path').join , file = join(__dirname, 'fixtures','all_npm.json') , JSONStream = require('../') , it = require('it-is') var expected = JSON.parse(fs.readFileSync(file)) , parser = JSONStream.parse(['rows', /\d+/ /*, 'value'*/]) , called = 0 , ended = false , pa...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/empty.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/empty.js
var JSONStream = require('../') , stream = require('stream') , it = require('it-is') var output = [ [], [] ] var parser1 = JSONStream.parse(['docs', /./]) parser1.on('data', function(data) { output[0].push(data) }) var parser2 = JSONStream.parse(['docs', /./]) parser2.on('data', function(data) { output[1].pu...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/memory.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/memory.js
var JSONStream = require('..') var from = require('from') var assert = require('assert') var probe = require('probe-stream')({interval: 1000}) var letters = '.pyfgcrlaoeuidhthtnsqjbmwvmbbkjqAOFEXACGOBQRCBK>RCMORPKGPOCRKB' function randWord (l) { var s = '' l = l || 1000 while (l --) s = lette...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test2.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test2.js
var fs = require ('fs') , join = require('path').join , file = join(__dirname, '..','package.json') , JSONStream = require('../') , it = require('it-is') var expected = JSON.parse(fs.readFileSync(file)) , parser = JSONStream.parse([]) , called = 0 , ended = false , parsed = [] fs.createReadStream(fi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify.js
var fs = require ('fs') , join = require('path').join , file = join(__dirname, 'fixtures','all_npm.json') , JSONStream = require('../') , it = require('it-is').style('colour') function randomObj () { return ( Math.random () < 0.4 ? {hello: 'eonuhckmqjk', whatever: 236515, ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/fn.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/fn.js
var fs = require ('fs') , join = require('path').join , file = join(__dirname, 'fixtures','all_npm.json') , JSONStream = require('../') , it = require('it-is') function fn (s) { return !isNaN(parseInt(s, 10)) } var expected = JSON.parse(fs.readFileSync(file)) , parser = JSONStream.parse(['rows', fn]) ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects_error.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects_error.js
var fs = require ('fs'); var net = require('net'); var join = require('path').join; var file = join(__dirname, 'fixtures','all_npm.json'); var it = require('it-is'); var JSONStream = require('../'); var str = fs.readFileSync(file); var server = net.createServer(function(client) { var root_calls = 0; var data_...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/bool.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/bool.js
var fs = require ('fs') , join = require('path').join , file = join(__dirname, 'fixtures','all_npm.json') , JSONStream = require('../') , it = require('it-is').style('colour') function randomObj () { return ( Math.random () < 0.4 ? {hello: 'eonuhckmqjk', whatever: 236515, ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/destroy_missing.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/destroy_missing.js
var fs = require ('fs'); var net = require('net'); var join = require('path').join; var file = join(__dirname, 'fixtures','all_npm.json'); var JSONStream = require('../'); var server = net.createServer(function(client) { var parser = JSONStream.parse([]); parser.on('close', function() { console.error(...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/parsejson.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/parsejson.js
/* sometimes jsonparse changes numbers slightly. */ var r = Math.random() , Parser = require('jsonparse') , p = new Parser() , assert = require('assert') , times = 20 while (times --) { assert.equal(JSON.parse(JSON.stringify(r)), r, 'core JSON') p.onValue = function (v) { console.error('parsed',...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects.js
var fs = require ('fs'); var net = require('net'); var join = require('path').join; var file = join(__dirname, 'fixtures','all_npm.json'); var it = require('it-is'); var JSONStream = require('../'); var str = fs.readFileSync(file); var datas = {} var server = net.createServer(function(client) { var root_calls = ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/examples/all_docs.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/examples/all_docs.js
var request = require('request') , JSONStream = require('JSONStream') , es = require('event-stream') var parser = JSONStream.parse(['rows', true]) //emit parts that match this path (any element of the rows array) , req = request({url: 'http://isaacs.couchone.com/registry/_all_docs'}) , logger = es.mapSync(func...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/post/main.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/post/main.js
var http = require('../../'); var n = 100; var opts = { path : '/plusone', method : 'post' }; var req = http.request(opts, function (res) { var div = document.getElementById('result'); div.innerHTML += n.toString() + ' + 1 = '; res.on('data', function (buf) { div.innerHTML += buf; }); });...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/post/server.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/example/post/server.js
var http = require('http'); var ecstatic = require('ecstatic')(__dirname); var server = http.createServer(function (req, res) { if (req.method === 'POST' && req.url === '/plusone') { res.setHeader('content-type', 'text/plain'); var s = ''; req.on('data', function (buf) { s += buf.to...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/lib/request.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/lib/request.js
var Stream = require('stream'); var Response = require('./response'); var Base64 = require('Base64'); var inherits = require('inherits'); var Request = module.exports = function (xhr, params) { var self = this; self.writable = true; self.xhr = xhr; self.body = []; self.uri = (params.scheme || ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/lib/response.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/http-browserify/lib/response.js
var Stream = require('stream'); var util = require('util'); var Response = module.exports = function (res) { this.offset = 0; this.readable = true; }; util.inherits(Response, Stream); var capable = { streaming : true, status2 : true }; function parseHeaders (res) { var lines = res.getAllResponse...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/index.js
var parseScope = require('lexical-scope'); var through = require('through'); var path = require('path'); var fs = require('fs'); var processModulePath = require.resolve('process/browser.js'); var defaultVars = { process: function () { return 'require(' + JSON.stringify(processModulePath) + ')'; }, ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/index.js
// for now just expose the builtin process global from node.js module.exports = global.process;
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js
// shim for using process in browser var process = module.exports = {}; process.nextTick = (function () { var canSetImmediate = typeof window !== 'undefined' && window.setImmediate; var canPost = typeof window !== 'undefined' && window.postMessage && window.addEventListener ; if (canSetImmedi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/index.js
var astw = require('astw'); module.exports = function (src) { var locals = {}; var implicit = {}; var exported = {}; if (typeof src === 'string') { src = String(src).replace(/^#![^\n]*\n/, ''); } if (src && typeof src === 'object' && typeof src.copy === 'function' && typeof src...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/jquery.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/jquery.js
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/run.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/run.js
#!/usr/bin/env node var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/jquery.js'); var scope = detect(src); console.dir(scope);
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/index.js
var parse = require('esprima-six').parse; module.exports = function (src) { var ast = typeof src === 'string' ? parse(src) : src; return function (cb) { walk(ast, undefined, cb); }; }; function walk (node, parent, cb) { var keys = objectKeys(node); for (var i = 0; i < keys.length; i++) { ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/esprima.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/esprima.js
/* Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be> Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl> Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com> Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com> Copyright (C) 20...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/tools/generate-test-fixture.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/tools/generate-test-fixture.js
// #!/usr/bin/env node /* Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com> Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/runner.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/runner.js
/* Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl> Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com> Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com> Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/reflect.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/reflect.js
// This is modified from Mozilla Reflect.parse test suite (the file is located // at js/src/tests/js1_8_5/extensions/reflect-parse.js in the source tree). // // Some notable changes: // * Removed unsupported features (destructuring, let, comprehensions...). // * Removed tests for E4X (ECMAScript for XML). // * Re...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/harmonytest.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/harmonytest.js
/* Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl> Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com> Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com> Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/compare.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/compare.js
/* Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must reta...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/test.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/test.js
/* Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl> Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com> Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com> Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/compat.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/compat.js
/* Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl> Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/run.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/run.js
/* Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com> Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/benchmarks.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/benchmarks.js
/* Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com> Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/module.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/module.js
/*jslint browser:true plusplus:true */ /*global require:true */ function runTests() { 'use strict'; function setText(el, str) { if (typeof el.innerText === 'string') { el.innerText = str; } else { el.textContent = str; } } function reportSuccess(code) { ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/ext-core-3.1.0.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/ext-core-3.1.0.js
/*! * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt */ // for old browsers window.undefined = window.undefined; /** * @class Ext * Ext core utilities and functions. * @singleton */ Ext = { /** * The version of t...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/modifier.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/modifier.js
var modifier = function() {var parse = esprima.parse, Syntax = esprima.Syntax; var Modifier = (function () { function Modifier(src) { this.ast = parse(src, { loc: true }); this.lines = src.split('\n'); } Modifier.prototype.finish = function() { return this.lines.join('\n'); }; ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/platform.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/platform.js
/*! * Platform.js v1.0.0-pre <http://mths.be/platform> * Copyright 2010-2012 John-David Dalton <http://allyoucanleet.com/> * Available under MIT license <http://mths.be/mit> */ ;(function(window) { /** Backup possible window/global object */ var oldWin = window; /** Detect free variable `exports` */ var f...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/esmorph.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/esmorph.js
/* Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/acorn.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/acorn.js
// Acorn is a tiny, fast JavaScript parser written in JavaScript. // // Acorn was written by Marijn Haverbeke and released under an MIT // license. The Unicode regexps (for identifiers and whitespace) were // taken from [Esprima](http://esprima.org) by Ariya Hidayat. // // Git repositories for Acorn are available at //...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/mootools-1.3.2.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/mootools-1.3.2.js
/* --- MooTools: the javascript framework web build: - http://mootools.net/core/7c56cfef9dddcf170a5d68e3fb61cfd7 packager build: - packager build Core/Core Core/Array Core/String Core/Number Core/Function Core/Object Core/Event Core/Browser Core/Class Core/Class.Extras Core/Slick.Parser Core/Slick.Finder Core/Eleme...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/prototype-1.6.1.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/prototype-1.6.1.js
/* Prototype JavaScript framework, version 1.6.1 * (c) 2005-2009 Sam Stephenson * * Prototype is freely distributable under the terms of an MIT-style license. * For details, see the Prototype web site: http://www.prototypejs.org/ * *--------------------------------------------------------------------------*/ ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/harmonizr.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/harmonizr.js
var harmonizr = function() {var parse = esprima.parse, Syntax = esprima.Syntax; var Modifier = modifier.Modifier; var Modifier = Modifier; function harmonize(src, options) { options = options || {}; var modifier = new Modifier(src); var stages = [ {name: 'shorthand properties', fn: processShorthan...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/jquery-1.6.4.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/jquery-1.6.4.js
/*! * jQuery JavaScript Library v1.6.4 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/XMLHttpRequest.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/XMLHttpRequest.js
/** * XMLHttpRequest.js Copyright (C) 2011 Sergey Ilinsky (http://www.ilinsky.com) * * This work is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/jquery-1.7.1.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/jquery-1.7.1.js
/*! * jQuery JavaScript Library v1.7.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/underscore-1.2.3.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/underscore-1.2.3.js
// Underscore.js 1.2.3 // (c) 2009-2011 Jeremy Ashkenas, DocumentCloud Inc. // Underscore is freely distributable under the MIT license. // Portions of Underscore are inspired or borrowed from Prototype, // Oliver Steele's Functional, and John Resig's Micro-Templating. // For all details and doc...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/escodegen.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/escodegen.js
/* Copyright (C) 2012 Michael Ficarra <escodegen.copyright@michael.ficarra.me> Copyright (C) 2012 Robert Gust-Bardon <donate@robert.gust-bardon.org> Copyright (C) 2012 John Freeman <jfreeman08@gmail.com> Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2012 Mathias Bynens <mathias@qiwi...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
true