Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade mongoose from 4.2.4 to 4.2.5 #5935

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions goof-yarn/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:hawk:20160119':
- tap > codecov.io > request > hawk:
patched: '2023-08-30T19:50:58.965Z'
id: 'npm:hawk:20160119'
path: tap > codecov.io > request > hawk
'npm:http-signature:20150122':
- tap > codecov.io > request > http-signature:
patched: '2023-08-30T19:50:58.965Z'
id: 'npm:http-signature:20150122'
path: tap > codecov.io > request > http-signature
'npm:mime:20170907':
- tap > codecov.io > request > form-data > mime:
patched: '2023-08-30T19:50:58.965Z'
id: 'npm:mime:20170907'
path: tap > codecov.io > request > form-data > mime
12 changes: 8 additions & 4 deletions goof-yarn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"scripts": {
"start": "node app.js",
"build": "browserify -r jquery > public/js/bundle.js",
"cleanup": "mongo express-todo --eval 'db.todos.remove({});'"
"cleanup": "mongo express-todo --eval 'db.todos.remove({});'",
"prepare": "yarn run snyk-protect",
"snyk-protect": "snyk-protect"
},
"engines": {
"node": "6.14.1"
Expand All @@ -32,7 +34,7 @@
"marked": "0.3.5",
"method-override": "latest",
"moment": "2.15.1",
"mongoose": "4.2.4",
"mongoose": "4.2.5",
"morgan": "latest",
"ms": "^0.7.1",
"npmconf": "0.0.24",
Expand All @@ -41,9 +43,11 @@
"stream-buffers": "^3.0.1",
"tap": "^5.7.0",
"adm-zip": "0.4.7",
"file-type": "^8.1.0"
"file-type": "^8.1.0",
"@snyk/protect": "latest"
},
"devDependencies": {
"browserify": "^13.1.1"
}
},
"snyk": true
}
47 changes: 19 additions & 28 deletions goof-yarn/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# yarn lockfile v1


"@snyk/protect@^1.1207.0":
version "1.1207.0"
resolved "https://registry.yarnpkg.com/@snyk/protect/-/protect-1.1207.0.tgz#1fa34a07987100b43faf94e04aaaaf528b14a437"
integrity sha512-ghRa5S8aH8z9I3WGbl4/ISqkNUOmiNLG1XWkN7SyCsd1UZmY0WZDiKMLU1ZQrPQQdrCPyC+jwpRkKwDdfFLVqw==

JSONStream@^1.0.3:
version "1.3.5"
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
Expand Down Expand Up @@ -1905,13 +1910,6 @@ [email protected]:
resolved "https://registry.yarnpkg.com/kareem/-/kareem-1.0.1.tgz#7805d215bb53214ec3af969a1d0b1f17e3e7b95c"
integrity sha1-eAXSFbtTIU7Dr5aaHQsfF+PnuVw=

kerberos@~0.0:
version "0.0.24"
resolved "https://registry.yarnpkg.com/kerberos/-/kerberos-0.0.24.tgz#67e5fe0f0dbe240a505eb45de411d6031e7b381b"
integrity sha512-QO6bFq9eETHB5zcA0OJiQtw137TH45OuUcGtI+QGg2ZJQIPCvwXL2kjCqZZMColcIdbPhj4X40EY5f3oOiBfiw==
dependencies:
nan "~2.10.0"

kind-of@^3.0.2:
version "3.2.2"
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64"
Expand Down Expand Up @@ -2189,34 +2187,32 @@ [email protected]:
resolved "https://registry.yarnpkg.com/moment/-/moment-2.15.1.tgz#e979c2a29e22888e60f396f2220a6118f85cd94c"
integrity sha1-6XnCop4iiI5g85byIgphGPhc2Uw=

[email protected].19:
version "1.2.19"
resolved "https://registry.yarnpkg.com/mongodb-core/-/mongodb-core-1.2.19.tgz#fcb35f6b6abc5c3de1f1a4a5db526b9e306f3eb7"
integrity sha1-/LNfa2q8XD3h8aSl21JrnjBvPrc=
[email protected].21:
version "1.2.21"
resolved "https://registry.yarnpkg.com/mongodb-core/-/mongodb-core-1.2.21.tgz#3bcbccd31147b8cf0134c0da52675f121b1ea3fb"
integrity sha512-BoUwbWKWgVO58WoVwsdDmVcxvRU5ss1MlVvfzzVARzPkRbe7bV1pKLvHzJPfrJdXL9Vrikq6gS0OxY1gaVUnVA==
dependencies:
bson "~0.4.19"
optionalDependencies:
kerberos "~0.0"

[email protected].46:
version "2.0.46"
resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-2.0.46.tgz#b1b857465e45e259b1e0e033698341a64cb93559"
integrity sha1-sbhXRl5F4lmx4OAzaYNBpky5NVk=
[email protected].48:
version "2.0.48"
resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-2.0.48.tgz#f0eee445e8f2241c4b96658b8697e17ddabb9da3"
integrity sha512-v9WAjHBXg9kfICEzdS4wbQbCjZnbCEWtEETbe44Tj6W5i3gULiyW2piYAAVwzWSRHblJhssvpHlpeDjeTsh8Ug==
dependencies:
es6-promise "2.1.1"
mongodb-core "1.2.19"
mongodb-core "1.2.21"
readable-stream "1.0.31"

[email protected].4:
version "4.2.4"
resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-4.2.4.tgz#e2f8c007dd838f6633b4f6c965ba92a232ac9317"
integrity sha1-4vjAB92Dj2YztPbJZbqSojKskxc=
[email protected].5:
version "4.2.5"
resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-4.2.5.tgz#563a3d5b8e90fb107eb15f95471c70630638fb7e"
integrity sha512-Q8c5bgfO8Gr6nYOiGKZdboFYFZ6vHntfsVHWCTgUpdbQxfCcYvH8DQRiMxGzZEB2yjj6pWobK8khsELG0qvYAA==
dependencies:
async "0.9.0"
bson "~0.4.18"
hooks-fixed "1.1.0"
kareem "1.0.1"
mongodb "2.0.46"
mongodb "2.0.48"
mpath "0.1.1"
mpromise "0.5.4"
mquery "1.6.3"
Expand Down Expand Up @@ -2281,11 +2277,6 @@ [email protected]:
resolved "https://registry.yarnpkg.com/muri/-/muri-1.0.0.tgz#de3bf6bd71d67eae71d76689b950d2de118695c6"
integrity sha1-3jv2vXHWfq5x12aJuVDS3hGGlcY=

nan@~2.10.0:
version "2.10.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f"
integrity sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==

[email protected]:
version "0.4.9"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.4.9.tgz#92e46b6db53c7e421ed64a2bc94f08be7630df3f"
Expand Down