Get node_modules in order

This commit is contained in:
Timothy Clem
2019-09-23 20:01:12 -07:00
parent 907eb9b682
commit 343ceb1920
7410 changed files with 1868249 additions and 0 deletions

14
node_modules/optimist/test/parse_modified.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
var optimist = require('../');
var test = require('tap').test;
test('parse with modifier functions' , function (t) {
t.plan(1);
var argv = optimist().boolean('b').parse([ '-b', '123' ]);
t.deepEqual(fix(argv), { b: true, _: ['123'] });
});
function fix (obj) {
delete obj.$0;
return obj;
}