-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sort by type for compression benefits
Gzip is best optimized when files containing similar contents are nearby one another in the string of bytes being compressed. Sort by extname, then basename, then alphabetically, to increase the likelihood of similar files being found nearby one another in the resulting tarball archive. Fix #30
- Loading branch information
Showing
40 changed files
with
498 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/bundled-scoped-symlink.js TAP includes bundled dependency async > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"node_modules/@npmwombat/history/index.js", | ||
"node_modules/@npmwombat/history/package.json", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/bundled-scoped-symlink.js TAP includes bundled dependency sync > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"node_modules/@npmwombat/history/index.js", | ||
"node_modules/@npmwombat/history/package.json", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/bundled-scoped.js TAP includes bundled dependency async > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"node_modules/@npmwombat/history/index.js", | ||
"node_modules/@npmwombat/history/package.json", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/bundled-scoped.js TAP includes bundled dependency sync > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"node_modules/@npmwombat/history/index.js", | ||
"node_modules/@npmwombat/history/package.json", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/bundled-symlink.js TAP includes bundled dependency async > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"node_modules/history/index.js", | ||
"node_modules/history/package.json", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/bundled-symlink.js TAP includes bundled dependency sync > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"node_modules/history/index.js", | ||
"node_modules/history/package.json", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/bundled.js TAP includes bundled dependency async > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"node_modules/history/index.js", | ||
"node_modules/history/package.json", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/bundled.js TAP includes bundled dependency sync > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"node_modules/history/index.js", | ||
"node_modules/history/package.json", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/cwd.js TAP follows npm package ignoring rules async > must match snapshot 1`] = ` | ||
Array [ | ||
"deps/foo/config/config.gypi", | ||
"elf.js", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/cwd.js TAP follows npm package ignoring rules sync 1 > must match snapshot 1`] = ` | ||
Array [ | ||
"deps/foo/config/config.gypi", | ||
"elf.js", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/cwd.js TAP follows npm package ignoring rules sync 2 > must match snapshot 1`] = ` | ||
Array [ | ||
"deps/foo/config/config.gypi", | ||
"elf.js", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/empty-npmignore.js TAP follows npm package ignoring rules async > must match snapshot 1`] = ` | ||
Array [ | ||
"deps/foo/config/config.gypi", | ||
"elf.js", | ||
"lib/node_modules/foo/package.json", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/empty-npmignore.js TAP follows npm package ignoring rules sync > must match snapshot 1`] = ` | ||
Array [ | ||
"deps/foo/config/config.gypi", | ||
"elf.js", | ||
"lib/node_modules/foo/package.json", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/ignores.js TAP follows npm package ignoring rules async > must match snapshot 1`] = ` | ||
Array [ | ||
"deps/foo/config/config.gypi", | ||
"elf.js", | ||
"package.json", | ||
"readme.md", | ||
] | ||
` | ||
|
||
exports[`test/ignores.js TAP follows npm package ignoring rules sync > must match snapshot 1`] = ` | ||
Array [ | ||
"deps/foo/config/config.gypi", | ||
"elf.js", | ||
"package.json", | ||
"readme.md", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/include-gitignore.js TAP follows npm package ignoring rules async > must match snapshot 1`] = ` | ||
Array [ | ||
"z/.gitignore", | ||
"deps/foo/config/config.gypi", | ||
"elf.js", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/include-gitignore.js TAP follows npm package ignoring rules sync > must match snapshot 1`] = ` | ||
Array [ | ||
"z/.gitignore", | ||
"deps/foo/config/config.gypi", | ||
"elf.js", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/nested-lock-and-core.js TAP follows npm package ignoring rules async > must match snapshot 1`] = ` | ||
Array [ | ||
"lib/package-lock.json", | ||
"package.json", | ||
"lib/yarn.lock", | ||
"core/include-me.txt", | ||
] | ||
` | ||
|
||
exports[`test/nested-lock-and-core.js TAP follows npm package ignoring rules sync > must match snapshot 1`] = ` | ||
Array [ | ||
"lib/package-lock.json", | ||
"package.json", | ||
"lib/yarn.lock", | ||
"core/include-me.txt", | ||
] | ||
` |
24 changes: 24 additions & 0 deletions
24
tap-snapshots/test-package-json-bin-multiple.js-TAP.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/package-json-bin-multiple.js TAP follows npm package ignoring rules async > must match snapshot 1`] = ` | ||
Array [ | ||
"__bin_bar", | ||
"__bin_foo", | ||
"lib/elf.js", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/package-json-bin-multiple.js TAP follows npm package ignoring rules sync > must match snapshot 1`] = ` | ||
Array [ | ||
"__bin_bar", | ||
"__bin_foo", | ||
"lib/elf.js", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/package-json-bin-single.js TAP follows npm package ignoring rules async > must match snapshot 1`] = ` | ||
Array [ | ||
"__bin", | ||
"lib/elf.js", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/package-json-bin-single.js TAP follows npm package ignoring rules sync > must match snapshot 1`] = ` | ||
Array [ | ||
"__bin", | ||
"lib/elf.js", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/package-json-empty.js TAP follows npm package ignoring rules async > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/package-json-empty.js TAP follows npm package ignoring rules sync > must match snapshot 1`] = ` | ||
Array [ | ||
"elf.js", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/package-json-main.js TAP follows npm package ignoring rules async > must match snapshot 1`] = ` | ||
Array [ | ||
"deps/foo/config/config.gypi", | ||
"__main.js", | ||
"browser.js", | ||
"elf.js", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/package-json-main.js TAP follows npm package ignoring rules sync > must match snapshot 1`] = ` | ||
Array [ | ||
"deps/foo/config/config.gypi", | ||
"__main.js", | ||
"browser.js", | ||
"elf.js", | ||
"package.json", | ||
] | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/package-json-nested.js TAP includes nested package.json file async > must match snapshot 1`] = ` | ||
Array [ | ||
"nest/index.js", | ||
"nest/package.json", | ||
"package.json", | ||
] | ||
` | ||
|
||
exports[`test/package-json-nested.js TAP includes nested package.json file sync > must match snapshot 1`] = ` | ||
Array [ | ||
"nest/index.js", | ||
"nest/package.json", | ||
"package.json", | ||
] | ||
` |
Oops, something went wrong.