forked from aquasecurity/trivy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(parser): squash test data for yarn (aquasecurity#6203)
- Loading branch information
1 parent
64926d8
commit e1ea02c
Showing
17 changed files
with
335 additions
and
37,958 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
15,866 changes: 67 additions & 15,799 deletions
15,866
pkg/dependency/parser/nodejs/yarn/parse_testcase.go
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
pkg/dependency/parser/nodejs/yarn/testcase_deps_generator/Dockerfile
This file was deleted.
Oops, something went wrong.
80 changes: 0 additions & 80 deletions
80
pkg/dependency/parser/nodejs/yarn/testcase_deps_generator/index.js
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
pkg/dependency/parser/nodejs/yarn/testcase_deps_generator/package.json
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
pkg/dependency/parser/nodejs/yarn/testcase_deps_generator/yarn.lock
This file was deleted.
Oops, something went wrong.
106 changes: 106 additions & 0 deletions
106
pkg/dependency/parser/nodejs/yarn/testdata/yarn_happy.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,106 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
"@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.4": | ||
version "7.4.4" | ||
resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.4.4.tgz#a47e02bc91fb259d2e6727c2a30013e3ac13c4a2" | ||
integrity sha512-Y5nuB/kESmR3tKjU8Nkn1wMGEx1tjJX076HBMeL3XLQCu6vA/YRzuTW0bbb+qRnXvQGn+d6Rx953yffl8vEy7Q== | ||
dependencies: | ||
lodash "^4.17.11" | ||
|
||
ansi-regex@^2.0.0: | ||
version "2.1.1" | ||
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" | ||
integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= | ||
|
||
ansi-regex@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" | ||
integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= | ||
|
||
asap@~2.0.6: | ||
version "2.0.6" | ||
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" | ||
integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= | ||
|
||
inherits@2, inherits@2.0.3: | ||
version "2.0.3" | ||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" | ||
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= | ||
|
||
is-fullwidth-code-point@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" | ||
integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= | ||
|
||
"js-tokens@^3.0.0 || ^4.0.0": | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" | ||
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== | ||
|
||
jquery@^3.4.1: | ||
version "3.4.1" | ||
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.4.1.tgz#714f1f8d9dde4bdfa55764ba37ef214630d80ef2" | ||
integrity sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw== | ||
|
||
lodash@4.17.11, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0: | ||
version "4.17.11" | ||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" | ||
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== | ||
|
||
promise@^8.0.3: | ||
version "8.0.3" | ||
resolved "https://registry.yarnpkg.com/promise/-/promise-8.0.3.tgz#f592e099c6cddc000d538ee7283bb190452b0bf6" | ||
integrity sha512-HeRDUL1RJiLhyA0/grn+PTShlBAcLuh/1BJGtrvjwbvRDCTLLMEz9rOGCV+R3vHY4MixIuoMEd9Yq/XvsTPcjw== | ||
dependencies: | ||
asap "~2.0.6" | ||
|
||
safe-buffer@5.1.2, safe-buffer@^5.0.1, safe-buffer@^5.1.2: | ||
version "5.1.2" | ||
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" | ||
integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== | ||
|
||
"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: | ||
version "2.1.2" | ||
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" | ||
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== | ||
|
||
"statuses@>= 1.4.0 < 2": | ||
version "1.5.0" | ||
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" | ||
integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= | ||
|
||
"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.1: | ||
version "2.1.1" | ||
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" | ||
integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== | ||
dependencies: | ||
is-fullwidth-code-point "^2.0.0" | ||
strip-ansi "^4.0.0" | ||
|
||
|
||
strip-ansi@^3.0.0, strip-ansi@^3.0.1: | ||
version "3.0.1" | ||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" | ||
integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= | ||
dependencies: | ||
ansi-regex "^2.0.0" | ||
|
||
strip-ansi@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" | ||
integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= | ||
dependencies: | ||
ansi-regex "^3.0.0" | ||
|
||
whatwg-fetch@>=0.10.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz#fc804e458cc460009b1a2b966bc8817d2578aefb" | ||
integrity sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q== | ||
|
||
wide-align@1.1.3: | ||
version "1.1.3" | ||
resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" | ||
integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== | ||
dependencies: | ||
string-width "^1.0.2 || 2" |
Oops, something went wrong.