-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Validates both checksum and integrity * Adds a test * Revert "Fixes the problem another way" This reverts commit 29a8c58. * Revert "Fixes tests" This reverts commit 9322e76. * Revert "Fixes flow linting" This reverts commit 431a9e9. * Fixes flow * Back to v5 we are
- Loading branch information
Showing
11 changed files
with
89 additions
and
112 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
14 changes: 14 additions & 0 deletions
14
__tests__/fixtures/install/invalid-checksum-good-integrity/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,14 @@ | ||
{ | ||
"name": "badpkg", | ||
"version": "1.0.0", | ||
"description": "A bad package", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "UNLICENSED", | ||
"dependencies": { | ||
"express": "4.11.1" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
__tests__/fixtures/install/invalid-checksum-good-integrity/yarn.lock
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,8 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|
||
express@4.11.1: | ||
version "4.11.1" | ||
resolved "https://registry.yarnpkg.com/ponyhooves/-/ponyhooves-1.0.1.tgz#36d04dd27aa1667634e987529767f9c99de7903f" | ||
integrity sha1-5XycPpdtVw+X8ik1bKXW7hPv01g= |
61 changes: 0 additions & 61 deletions
61
...itlab.com/leanlabsio/kanban/raw/7f21696fb9d08130dd62abd96c9572f513c05301/package.json.bin
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
__tests__/fixtures/request-cache/GET/registry.yarnpkg.com/is-pnp.bin
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-2 KB
__tests__/fixtures/request-cache/GET/registry.yarnpkg.com/is-pnp/-/is-pnp-1.0.2.tgz.bin
Binary file not shown.
Binary file added
BIN
+1.7 KB
...s__/fixtures/request-cache/GET/registry.yarnpkg.com/ponyhooves/-/ponyhooves-1.0.1.tgz.bin
Binary file not shown.
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
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