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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/primitives.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/examples/twitterfeed.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify_object.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/two-ways.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/empty.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/memory.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test2.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/fn.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects_error.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/bool.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/destroy_missing.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/parsejson.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects.js
challenge6/finished/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/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/examples/all_docs.js
challenge6/finished/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/node_modules/http-browserify/example/post/main.js
challenge6/finished/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/node_modules/http-browserify/example/post/server.js
challenge6/finished/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/node_modules/http-browserify/lib/request.js
challenge6/finished/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/node_modules/http-browserify/lib/response.js
challenge6/finished/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/node_modules/insert-module-globals/index.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/process/index.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/process/browser.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/index.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/bench/jquery.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/bench/run.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/index.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/esprima.js
challenge6/finished/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/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/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/runner.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/reflect.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/harmonytest.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/compare.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/test.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/compat.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/run.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/benchmarks.js
challenge6/finished/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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/module.js
challenge6/finished/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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
kwhinnery/node-workshop
https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/benchmark.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/benchmark.js
/*! * Benchmark.js v1.0.0 <http://benchmarkjs.com/> * Copyright 2010-2012 Mathias Bynens <http://mths.be/> * Based on JSLitmus.js, copyright Robert Kieffer <http://broofa.com/> * Modified by John-David Dalton <http://allyoucanleet.com/> * Available under MIT license <http://mths.be/mit> */ ;(function(window, unde...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/mootools-1.4.1.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/mootools-1.4.1.js
/* --- MooTools: the javascript framework web build: - http://mootools.net/core/76bf47062d6c1983d66ce47ad66aa0e0 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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/prototype-1.7.0.0.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/prototype-1.7.0.0.js
/* Prototype JavaScript framework, version 1.7 * (c) 2005-2010 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/ * *--------------------------------------------------------------------------*/ v...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/parse-js.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/parse-js.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. This version is suitable for Node.js. With minimal changes (the exports stuff) it should work on any JS platform. This file contains the tokenizer/parser. It is a port to Java...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/backbone-0.5.3.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/backbone-0.5.3.js
// Backbone.js 0.5.3 // (c) 2010 Jeremy Ashkenas, DocumentCloud Inc. // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://documentcloud.github.com/backbone (function(){ // Initial Setup // ------------- // Save a reference to the globa...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/ext-core-3.0.0.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/ext-core-3.0.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; Ext = { version: '3.0' }; Ext.apply = function(o, c, defaults){ // no "this" reference for f...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/jquery.mobile-1.0.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/test/3rdparty/jquery.mobile-1.0.js
/* * jQuery Mobile Framework 1.0 * http://jquerymobile.com * * Copyright 2011 (c) jQuery Project * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * */ /*! * jQuery UI Widget @VERSION * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL ...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/bin/esparse.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/bin/esparse.js
#!/usr/bin/env node /* 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 the above copyright notice, this...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/require.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/require.js
/* RequireJS 2.0.4 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. Available via the MIT or new BSD license. see: http://github.com/jrburke/requirejs for details */ var requirejs,require,define; (function(Y){function x(b){return J.call(b)==="[object Function]"}function G(b){return J.call(b)==="[obj...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/json2.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/json2.js
/* http://www.JSON.org/json2.js 2011-10-19 Public Domain. NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. See http://www.JSON.org/js.html This code should be minified before deployment. See http://javascript.crockford.com/jsmin.html USE YOUR OWN COPY. IT IS EXTREMELY UNWISE...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/codemirror/codemirror.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/codemirror/codemirror.js
// CodeMirror version 2.32 // // All functions that need access to the editor's state live inside // the CodeMirror function. Below that, at the bottom of the file, // some utilities are defined. // CodeMirror is the only global var we claim var CodeMirror = (function() { // This is the function that produces an edi...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/codemirror/javascript.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/codemirror/javascript.js
CodeMirror.defineMode("javascript", function(config, parserConfig) { var indentUnit = config.indentUnit; var jsonMode = parserConfig.json; // Tokenizer var keywords = function(){ function kw(type) {return {type: type, style: "keyword"};} var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword 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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/yui/yahoo-dom-event.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/yui/yahoo-dom-event.js
/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ if(typeof YAHOO=="undefined"||!YAHOO){var YAHOO={};}YAHOO.namespace=function(){var b=arguments,g=null,e,c,f;for(e=0;e<b.length;e=e+1){f=(""+b[e]).split(".");g=YAHOO;...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/yui/treeview-min.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/yui/treeview-min.js
/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ (function(){var d=YAHOO.util.Dom,b=YAHOO.util.Event,f=YAHOO.lang,e=YAHOO.widget;YAHOO.widget.TreeView=function(h,g){if(h){this.init(h);}if(g){this.buildTreeFromObjec...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/prettify/prettify.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/assets/prettify/prettify.js
var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; (function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/examples/detectnestedternary.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/examples/detectnestedternary.js
// Usage: node detectnestedternary.js /path/to/some/directory // For more details, please read http://esprima.org/doc/#nestedternary /*jslint node:true sloppy:true plusplus:true */ var fs = require('fs'), esprima = require('../esprima'), dirname = process.argv[2]; // Executes visitor on the object and its 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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/examples/tokendist.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/examples/tokendist.js
/*jslint node:true */ var fs = require('fs'), esprima = require('../esprima'), files = process.argv.splice(2), histogram, type; histogram = { Boolean: 0, Identifier: 0, Keyword: 0, Null: 0, Numeric: 0, Punctuator: 0, RegularExpression: 0, String: 0 }; files.forEach(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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/examples/findbooleantrap.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/examples/findbooleantrap.js
// Usage: node findbooleantrap.js /path/to/some/directory // For more details, please read http://esprima.org/doc/#booleantrap. /*jslint node:true sloppy:true plusplus:true */ var fs = require('fs'), esprima = require('../esprima'), dirname = process.argv[2], doubleNegativeList = []; // Black-list of te...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/collector.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/collector.js
/* 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 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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/checkenv.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/checkenv.js
/* 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 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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/rewrite.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/rewrite.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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/transpile.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/transpile.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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/functiontrace.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/functiontrace.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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/highlight.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/highlight.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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/validate.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/validate.js
/*jslint sloppy:true browser:true */ /*global esprima:true, CodeMirror:true */ var validateId; function validate(delay) { if (validateId) { window.clearTimeout(validateId); } validateId = window.setTimeout(function () { var code, result, i, str; if (typeof window.editor === 'undef...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/minify.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima-six/demo/minify.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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/test/parent.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/test/parent.js
var astw = require('../'); var test = require('tape'); var generate = require('escodegen').generate; function unparse (s) { return generate(s, { format: { compact: true } }); } test('parent', function (t) { t.plan(4); var walk = astw('(' + function () { var xs = [ 1, 2, 3 ]; fn(ys); ...
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/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/example/types.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/example/types.js
var astw = require('../'); var deparse = require('escodegen').generate; var walk = astw('4 + beep(5 * 2)'); walk(function (node) { var src = deparse(node); console.log(node.type + ' :: ' + JSON.stringify(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/node_modules/insert-module-globals/node_modules/lexical-scope/test/return_hash.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/return_hash.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/return_hash.js'); test('return hash', function (t) { t.plan(3); var scope = detect(src); t.same(scope.globals.implicit, []); t.same(scope.globals.exported, []); t.same...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/multiple-exports.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/multiple-exports.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/multiple-exports.js'); test('multiple-exports', function (t) { t.plan(3); var scope = detect(src); t.same(scope.globals.implicit.sort(), ['bar', 'exports'].sort()); t.sam...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/named_arg.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/named_arg.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/named_arg.js'); test('named argument parameter', function (t) { t.plan(3); var scope = detect(src); t.same(scope.globals.implicit, []); t.same(scope.globals.exported, []);...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/right_hand.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/right_hand.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/right_hand.js'); test('globals on the right-hand of assignment', function (t) { t.plan(3); var scope = detect(src); t.same( scope.globals.implicit.sort(), [ 'e...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/detect.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/detect.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/detect.js'); test('check locals and globals', function (t) { t.plan(3); var scope = detect(src); t.same(scope.globals.implicit, [ 'w', 'foo', 'process', 'console', 'AA...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/assign_implicit.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/assign_implicit.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/assign_implicit.js'); test('assign from an implicit global', function (t) { t.plan(3); var scope = detect(src); t.same(scope.globals.implicit, [ 'bar' ]); t.same(scope.glo...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/argument.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/argument.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/argument.js'); test('parameters from inline arguments', function (t) { t.plan(3); var scope = detect(src); t.same(scope.globals.implicit, []); t.same(scope.globals.exporte...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/shebang.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/shebang.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = '#!/beep/boop blah\n' + fs.readFileSync(__dirname + '/files/detect.js') ; test('shebangs', function (t) { t.plan(3); var scope = detect(src); t.same(scope.globals.implicit, [ 'w', 'foo', '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/node_modules/insert-module-globals/node_modules/lexical-scope/test/obj.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/obj.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/obj.js'); test('globals on the right-hand of a colon in an object literal', function (t) { t.plan(3); var scope = detect(src); t.same( scope.globals.implicit.sort(), ...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/labels.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/labels.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/labels.js'); test('globals on the right-hand of a colon in an object literal', function (t) { t.plan(3); var scope = detect(src); t.same(scope.globals.implicit, []); t.sam...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/try_catch.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/try_catch.js
var test = require('tape'); var detect = require('../'); var fs = require('fs'); var src = fs.readFileSync(__dirname + '/files/try_catch.js'); test('the exception in a try catch block is a local', function (t) { t.plan(3); var scope = detect(src); t.same(scope.globals.implicit, []); t.same(scope.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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/return_hash.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/return_hash.js
function foo() { return { bar: true } }
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/multiple-exports.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/multiple-exports.js
exports.foo = function () { return bar; }; exports.bar = function (bar) { return bar; };
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/named_arg.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/named_arg.js
function foo (x) { var a = x; return function (c) { a += 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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/right_hand.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/right_hand.js
exports.filename = __filename; exports.dirname = __dirname;
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/detect.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/detect.js
var x = 5; var y = 3, z = 2; w.foo(); w = 2; RAWR=444; RAWR.foo(); BLARG=3; foo(function () { var BAR = 3; process.nextTick(function (ZZZZZZZZZZZZ) { console.log('beep boop'); var xyz = 4; x += 10; x.zzzzzz; ZZZ=6; }); function doom () { if (AAA.aaa) {...
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/assign_implicit.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/assign_implicit.js
var foo; foo = bar;
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/argument.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/argument.js
function foo () { var a; return function (c) { a = 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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/obj.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/obj.js
module.exports = {foo: bar}
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/labels.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/labels.js
test_label1: while(true) { break test_label1; continue test_label1; } function nest() { test_label2: while(true) { break test_label2; continue test_label2; } };
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/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/try_catch.js
challenge6/finished/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/try_catch.js
function foo() { try { } catch (ex) { foo(ex) } }
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false