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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-22.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-22.js
return_with_no_value_in_if_body: { options = { conditionals: true }; input: { function foo(bar) { if (bar) { return; } else { return 1; } } } expect: { function foo (bar) { return bar ? void 0 : 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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/properties.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/properties.js
keep_properties: { options = { properties: false }; input: { a["foo"] = "bar"; } expect: { a["foo"] = "bar"; } } dot_properties: { options = { properties: true }; input: { a["foo"] = "bar"; a["if"] = "if"; } expect: { 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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/blocks.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/blocks.js
remove_blocks: { input: { {;} foo(); {}; { {}; }; bar(); {} } expect: { foo(); bar(); } } keep_some_blocks: { input: { // 1. if (foo) { {{{}}} if (bar) { baz(); } ...
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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-59.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-59.js
keep_continue: { options = { dead_code: true, evaluate: true }; input: { while (a) { if (b) { switch (true) { case c(): d(); } continue; } 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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-105.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-105.js
typeof_eq_undefined: { options = { comparisons: true, unsafe: false }; input: { a = typeof b.c != "undefined" } expect: { a = "undefined" != typeof b.c } } typeof_eq_undefined_unsafe: { options = { comparisons: true, unsafe: true }; input: { a = typeof b.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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/conditionals.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/conditionals.js
ifs_1: { options = { conditionals: true }; input: { if (foo) bar(); if (!foo); else bar(); if (foo); else bar(); if (foo); else; } expect: { foo&&bar(); foo&&bar(); foo||bar(); foo; } } ifs_2: { options = { cond...
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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/drop-unused.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/drop-unused.js
unused_funarg_1: { options = { unused: true }; input: { function f(a, b, c, d, e) { return a + b; } } expect: { function f(a, b) { return a + b; } } } unused_funarg_2: { options = { unused: true }; input: { function f(a, b, 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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-12.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-12.js
keep_name_of_getter: { options = { unused: true }; input: { a = { get foo () {} } } expect: { a = { get foo () {} } } } keep_name_of_setter: { options = { unused: true }; input: { a = { set foo () {} } } expect: { a = { set foo () {} } } }
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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/debugger.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/debugger.js
keep_debugger: { options = { drop_debugger: false }; input: { debugger; } expect: { debugger; } } drop_debugger: { options = { drop_debugger: true }; input: { debugger; if (foo) debugger; } expect: { if (foo); } }
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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-44.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/issue-44.js
issue_44_valid_ast_1: { options = { unused: true }; input: { function a(b) { for (var i = 0, e = b.qoo(); ; i++) {} } } expect: { function a(b) { var i = 0; for (b.qoo(); ; i++); } } } issue_44_valid_ast_2: { options = { unused...
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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/labels.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/labels.js
labels_1: { options = { if_return: true, conditionals: true, dead_code: true }; input: { out: { if (foo) break out; console.log("bar"); } }; expect: { foo || console.log("bar"); } } labels_2: { options = { if_return: true, conditionals: true, dead...
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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/arrays.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/arrays.js
holes_and_undefined: { input: { x = [1, 2, undefined]; y = [1, , 2, ]; z = [1, undefined, 3]; } expect: { x=[1,2,void 0]; y=[1,,2]; z=[1,void 0,3]; } }
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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/dead-code.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/dead-code.js
dead_code_1: { options = { dead_code: true }; input: { function f() { a(); b(); x = 10; return; if (x) { y(); } } } expect: { function f() { a(); 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/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/loops.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/test/compress/loops.js
while_becomes_for: { options = { loops: true }; input: { while (foo()) bar(); } expect: { for (; foo(); ) bar(); } } drop_if_break_1: { options = { loops: true }; input: { for (;;) if (foo()) break; } expect: { for (; !foo();); } } dr...
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/umd/node_modules/ruglify/node_modules/uglify-js/lib/compress.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/lib/compress.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
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/umd/node_modules/ruglify/node_modules/uglify-js/lib/sourcemap.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/lib/sourcemap.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
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/umd/node_modules/ruglify/node_modules/uglify-js/lib/ast.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/lib/ast.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
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/umd/node_modules/ruglify/node_modules/uglify-js/lib/scope.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/lib/scope.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
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/umd/node_modules/ruglify/node_modules/uglify-js/lib/parse.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/lib/parse.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
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/umd/node_modules/ruglify/node_modules/uglify-js/lib/output.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/lib/output.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
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/umd/node_modules/ruglify/node_modules/uglify-js/lib/mozilla-ast.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/lib/mozilla-ast.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
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/umd/node_modules/ruglify/node_modules/uglify-js/lib/utils.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/lib/utils.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
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/umd/node_modules/ruglify/node_modules/uglify-js/lib/transform.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/node_modules/uglify-js/lib/transform.js
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
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/umd/node_modules/ruglify/test/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/index.js
var assert = require('assert'); var rfile = require('rfile'); var ruglify = require('../'); describe('ruglify(file)', function () { it('returns the minified source code for the file', function () { assert.equal(ruglify('./fixture/jquery.js'), rfile('./fixture/jquery.min.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/umd/node_modules/ruglify/test/fixture/jquery.min.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.min.js
(function(e,t){function n(e){var t=e.length,n=ut.type(e);return ut.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Nt[e]={};return ut.each(e.match(ct)||[],function(e,n){t[n]=!0}),t}function i(e,n,r,i){if(ut.acceptData(e)){var o,a,s=ut.expan...
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/umd/node_modules/ruglify/test/fixture/jquery.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.js
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do 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/umd/test/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/test/index.js
var assert = require('assert') var umd = require('../') var src = umd('sentinel-prime', 'return "sentinel"') var namespacedSrc = umd('sentinel.prime', 'return "sentinel"') var multiNamespaces = umd('a.b.c.d.e', 'return "sentinel"') describe('with CommonJS', function () { it('uses module.exports', function () { v...
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/umd/bin/cli.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/umd/bin/cli.js
#!/usr/bin/env node var read = require('fs').createReadStream var write = require('fs').createWriteStream var umd = require('../') var args = process.argv.slice(2) var help = false var commonJS = false args = args.filter(function (arg) { if (arg === '-h' || arg === '--help') { help = true return false }...
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/util/util.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/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/util/support/isBuffer.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/support/isBuffer.js
module.exports = function isBuffer(arg) { return arg instanceof 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/util/support/isBufferBrowser.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/support/isBufferBrowser.js
module.exports = function isBuffer(arg) { return arg && typeof arg === 'object' && typeof arg.copy === 'function' && typeof arg.fill === 'function' && typeof arg.readUInt8 === '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/util/test/node/inspect.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/test/node/inspect.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/util/test/node/log.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/test/node/log.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/util/test/node/debug.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/test/node/debug.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/util/test/node/util.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/test/node/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/util/test/node/format.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/test/node/format.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/util/test/browser/inspect.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/test/browser/inspect.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/util/test/browser/is.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/util/test/browser/is.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/inherits/inherits_browser.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/inherits/inherits_browser.js
if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { ctor.super_ = superCtor ctor.prototype = Object.create(superCtor.prototype, { constructor: { value: ctor, enumerable: false, wr...
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/inherits/test.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/inherits/test.js
var inherits = require('./inherits.js') var assert = require('assert') function test(c) { assert(c.constructor === Child) assert(c.constructor.super_ === Parent) assert(Object.getPrototypeOf(c) === Child.prototype) assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) assert(c instance...
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/inherits/inherits.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/inherits/inherits.js
module.exports = require('util').inherits
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/commondir/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/commondir/index.js
var path = require('path'); module.exports = function (basedir, relfiles) { if (relfiles) { var files = relfiles.map(function (r) { return path.resolve(basedir, r); }); } else { var files = basedir; } var res = files.slice(1).reduce(function (ps, file) { ...
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/commondir/test/dirs.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/commondir/test/dirs.js
var assert = require('assert'); var commondir = require('../'); exports.common = function () { assert.equal( commondir([ '/foo', '//foo/bar', '/foo//bar/baz' ]), '/foo' ); assert.equal( commondir([ '/a/b/c', '/a/b', '/a/b/c/d/e' ]), '/a/b' ); assert.equal( ...
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/commondir/example/base.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/commondir/example/base.js
var commondir = require('commondir'); var dir = commondir('/foo/bar', [ '../baz', '../../foo/quux', './bizzy' ]) console.log(dir);
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/commondir/example/dir.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/commondir/example/dir.js
var commondir = require('commondir'); var dir = commondir([ '/x/y/z', '/x/y', '/x/y/w/q' ]) console.log(dir);
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/querystring/decode.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/querystring/decode.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/querystring/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/querystring/index.js
'use strict'; exports.decode = exports.parse = require('./decode'); exports.encode = exports.stringify = require('./encode');
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/querystring/encode.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/querystring/encode.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/querystring/test/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/querystring/test/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/querystring/test/common-index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/querystring/test/common-index.js
"use strict"; require("test").run(require("./index"))
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/querystring/test/tap-index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/querystring/test/tap-index.js
"use strict"; require("retape")(require("./index"))
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/tty-browserify/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/tty-browserify/index.js
exports.isatty = function () { return false; }; function ReadStream() { throw new Error('tty.ReadStream is not implemented'); } exports.ReadStream = ReadStream; function WriteStream() { throw new Error('tty.ReadStream is not implemented'); } exports.WriteStream = WriteStream;
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/parents/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/parents/index.js
var path = require('path'); module.exports = function (cwd, opts) { if (cwd === undefined) cwd = process.cwd(); if (!opts) opts = {}; var platform = opts.platform || process.platform; var isWindows = /^win/.test(platform); var sep = isWindows ? /[\\\/]/ : '/'; var init = isWindows ? '' : '...
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/parents/test/win32.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/parents/test/win32.js
var test = require('tap').test; var parents = require('../'); test('win32', function (t) { var dir = 'C:\\Program Files\\Maxis\\Sim City 2000\\cities'; var dirs = parents(dir, { platform : 'win32' }); t.same(dirs, [ 'C:\\Program Files\\Maxis\\Sim City 2000\\cities', 'C:\\Program Files\\Maxi...
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/parents/test/dirname.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/parents/test/dirname.js
var test = require('tap').test; var parents = require('../'); test('dirname', function (t) { var dirs = parents('/foo/bar/baz/quux'); t.same(dirs, [ '/foo/bar/baz/quux', '/foo/bar/baz', '/foo/bar', '/foo', '/', ]); t.end(); }); test('root', function (t) { va...
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/parents/example/win32.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/parents/example/win32.js
var parents = require('../'); var dir = 'C:\\Program Files\\Maxis\\Sim City 2000\\cities'; var dirs = parents(dir, { platform : 'win32' }); console.dir(dirs);
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/parents/example/dirname.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/parents/example/dirname.js
var parents = require('../'); var dirs = parents(__dirname); console.dir(dirs);
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/browser-pack/_prelude.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/_prelude.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].exports...
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/browser-pack/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/index.js
var JSONStream = require('JSONStream'); var through = require('through'); var fs = require('fs'); var path = require('path'); var combineSourceMap = require('combine-source-map'); var defaultPreludePath = path.join(__dirname, '_prelude.js'); var defaultPrelude = fs.readFileSync(defaultPreludePath, 'utf8'); 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/browser-pack/prelude.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/prelude.js
// modules are defined as an array // [ module function, map of requireuires ] // // map of requireuires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the requireuire for previous bundles (function outer (modules, cache, entry) { /...
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/browser-pack/node_modules/combine-source-map/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/index.js
'use strict'; var convert = require('convert-source-map'); var createGenerator = require('inline-source-map'); var mappingsFromMap = require('./lib/mappings-from-map'); function resolveMap(source) { var gen = convert.fromSource(source); return gen ? gen.toObject() : null; } function hasInlinedSource(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-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/Makefile.dryice.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/Makefile.dryice.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ var path = require('path'); var fs = require('fs'); var copy = require('dryice').copy; function removeAmdefine(s...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/node_modules/amdefine/amdefine.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/node_modules/amdefine/amdefine.js
/** vim: et:ts=4:sw=4:sts=4 * @license amdefine 0.1.0 Copyright (c) 2011, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/amdefine for details */ /*jslint node: true */ /*global module, process */ 'use strict'; /** * Creates a define for node....
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/node_modules/amdefine/intercept.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/node_modules/amdefine/intercept.js
/*jshint node: true */ var inserted, Module = require('module'), fs = require('fs'), existingExtFn = Module._extensions['.js'], amdefineRegExp = /amdefine\.js/; inserted = "if (typeof define !== 'function') {var define = require('amdefine')(module)}"; //From the node/lib/module.js source: function st...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/run-tests.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/run-tests.js
#!/usr/bin/env node /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ var assert = require('assert'); var fs = require('fs'); var path = require('path'); var util ...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-source-map-consumer.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-source-map-consumer.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-dog-fooding.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-dog-fooding.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-source-map-generator.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-source-map-generator.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-array-set.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-array-set.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-binary-search.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-binary-search.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-base64.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-base64.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-api.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-api.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2012 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-base64-vlq.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-base64-vlq.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-source-node.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/test-source-node.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/util.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/test/source-map/util.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/suffix-browser.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/suffix-browser.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /////////////////////////////////////////////////////////////////////////////// this.sourceMap = { SourceMapConsumer: require('source-map/source-map-consumer').SourceMapConsumer, SourceMapGenerator: require('source-map/source-map-generator').SourceMapGenerator, SourceN...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/test-prefix.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/test-prefix.js
/* * WARNING! * * Do not edit this file directly, it is built from the sources at * https://github.com/mozilla/source-map/ */ Components.utils.import('resource://test/Utils.jsm');
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/mini-require.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/mini-require.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ /** * Define a module along with a payload. * @param {string} moduleName Name for the payload * @param {ignor...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/assert-shim.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/assert-shim.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ define('test/source-map/assert', ['exports'], function (exports) { let do_throw = function (msg) { throw 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/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/test-suffix.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/build/test-suffix.js
function run_test() { runSourceMapTests('{THIS_MODULE}', do_throw); }
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map.js
/* * Copyright 2009-2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE.txt or: * http://opensource.org/licenses/BSD-3-Clause */ exports.SourceMapGenerator = require('./source-map/source-map-generator').SourceMapGenerator; exports.SourceMapConsumer = require('./source-map/sour...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/source-node.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/source-node.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/base64.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/base64.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/array-set.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/array-set.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/source-map-generator.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/source-map-generator.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/base64-vlq.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/base64-vlq.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause * * Based on the Base 64 VLQ implementation in Closure Compiler: * https://code.google.com/p/closure-compiler/sour...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/source-map-consumer.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/source-map-consumer.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/binary-search.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/binary-search.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/util.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/source-map/lib/source-map/util.js
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(function (req...
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/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/index.js
'use strict'; var fs = require('fs'); var path = require('path'); var commentRx = /^[ \t]*\/\/[@#][ \t]+sourceMappingURL=data:(?:application|text)\/json;base64,(.+)/mg; var mapFileCommentRx = // //# sourceMappingURL=foo.js.map /*# sourceMappingURL=foo.js.map */ /(?:^[ \t]*\/\/[@|#][ \t]+sour...
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/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/convert-source-map.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/convert-source-map.js
'use strict'; /*jshint asi: true */ var test = require('tap').test , generator = require('inline-source-map') , convert = require('..') var gen = generator() .addMappings('foo.js', [{ original: { line: 2, column: 3 } , generated: { line: 5, column: 10 } }], { line: 5 }) .addGeneratedMappings('bar.js', 'va...
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/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/map-file-comment.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/map-file-comment.js
'use strict'; /*jshint asi: true */ var test = require('tap').test , rx = require('..') , fs = require('fs') , convert = require('..') test('\nresolving a "/*# sourceMappingURL=map-file-comment.css.map*/" style comment inside a given css content', function (t) { var css = fs.readFileSync(__dirname + '/fixture...
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/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/comment-regex.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/comment-regex.js
'use strict'; /*jshint asi: true */ var test = require('tap').test , generator = require('inline-source-map') , rx = require('..').commentRegex , mapFileRx = require('..').mapFileCommentRegex function comment(s) { rx.lastIndex = 0; return rx.test(s + 'sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW...
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/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/example/comment-to-json.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/example/comment-to-json.js
'use strict'; var convert = require('..'); var json = convert .fromComment('//@ sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vLmpzIiwic291cmNlcyI6WyJjb25zb2xlLmxvZyhcImhpXCIpOyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIvIn0=') .toJSON(); var modified = convert ...
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/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/index.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/index.js
'use strict'; var SourceMapGenerator = require('source-map').SourceMapGenerator; function offsetMapping(mapping, offset) { return { line: offset.line + mapping.line, column: offset.column + mapping.column }; } function newlinesIn(src) { if (!src) return 0; var newlines = src.match(/\n/g); return newlines ? 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/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/inline-source-map.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/inline-source-map.js
'use strict'; /*jshint asi: true*/ var test = require('tap').test var generator = require('..'); var foo = '' + function foo () { var hello = 'hello'; var world = 'world'; console.log('%s %s', hello, world); } var bar = '' + function bar () { console.log('yes?'); } function decode(base64) { return new 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/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/source-content.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/source-content.js
'use strict'; /*jshint asi: true*/ var test = require('tap').test var generator = require('..'); var foo = '' + function foo () { var hello = 'hello'; var world = 'world'; console.log('%s %s', hello, world); } var bar = '' + function bar () { console.log('yes?'); } function decode(base64) { return new 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/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/example/foo-bar.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/example/foo-bar.js
var generator = require('..'); var gen = generator() .addMappings('foo.js', [{ original: { line: 2, column: 3 } , generated: { line: 5, column: 10 } }], { line: 5 }) .addGeneratedMappings('bar.js', 'var a = 2;\nconsole.log(a)', { line: 23, column: 22 }); console.log('base64 mapping', gen.base64Encode()); console....
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/browser-pack/node_modules/combine-source-map/test/combine-source-map.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/test/combine-source-map.js
'use strict'; /*jshint asi: true */ var test = require('tap').test; var convert = require('convert-source-map'); var commentRegex = require('convert-source-map').commentRegex; var combine = require('..'); var mappingsFromMap = require('../lib/mappings-from-map'); function checkMappi...
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/browser-pack/node_modules/combine-source-map/example/two-files-short.js
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/example/two-files-short.js
'use strict'; var convert = require('convert-source-map'); var combine = require('..'); var fooComment = '//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZm9vLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7Q0FBQTtDQUFBLENBQU...
javascript
MIT
594bfc6bebf38d34a36b797e48f6f6d4600da5e4
2026-01-05T03:35:40.007163Z
false