-
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.
Prevent --check-files from crossing symlinks
- Loading branch information
Maël Nison
committed
Jul 14, 2017
1 parent
1de6ccc
commit 581113c
Showing
11 changed files
with
66 additions
and
2 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
19 changes: 19 additions & 0 deletions
19
...sts__/fixtures/install/check-files-should-not-cross-symlinks/node_modules/.yarn-integrity
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
...ts__/fixtures/install/check-files-should-not-cross-symlinks/node_modules/some-missing-pkg
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
__tests__/fixtures/install/check-files-should-not-cross-symlinks/node_modules/some-other-pkg
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...fixtures/install/check-files-should-not-cross-symlinks/node_modules/some-pkg/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
__tests__/fixtures/install/check-files-should-not-cross-symlinks/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,7 @@ | ||
{ | ||
"dependencies": { | ||
"some-pkg": "file:./some-pkg/", | ||
"some-other-pkg": "link:./some-other-pkg", | ||
"some-missing-pkg": "link:./some-missing-pkg" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/check-files-should-not-cross-symlinks/some-other-pkg/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,4 @@ | ||
{ | ||
"name": "some-other-pkg", | ||
"version": "1.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/check-files-should-not-cross-symlinks/some-pkg/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,4 @@ | ||
{ | ||
"name": "some-pkg", | ||
"version": "1.0.0" | ||
} |
14 changes: 14 additions & 0 deletions
14
__tests__/fixtures/install/check-files-should-not-cross-symlinks/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,14 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|
||
"some-missing-pkg@link:./some-missing-pkg": | ||
version "0.0.0" | ||
uid "" | ||
|
||
"some-other-pkg@link:./some-other-pkg": | ||
version "0.0.0" | ||
uid "" | ||
|
||
"some-pkg@file:./some-pkg/": | ||
version "1.0.0" |
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