Skip to content

Commit

Permalink
Merge pull request #14 from thepeanutgalleryandco/security-patch-2
Browse files Browse the repository at this point in the history
Simple-Get And Canvas Patch
  • Loading branch information
thepeanutgalleryandco committed Jan 31, 2022
2 parents 20c24e8 + ef8b4ef commit bc7f3ea
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 62 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ If you would like to support my NFT collection, please take a look at the below.

## Dependencies for scripts to run
- `npm install`
- `npm install node-fetch@2`
- `npm install async-sema`


## UPDATES & FIXES
Expand Down
153 changes: 115 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-and-mint-nft-collection",
"version": "1.4.1",
"version": "1.4.2",
"description": "Source code to create and mint generative art via NFTPort API. Special thanks to codeSTACKr and Hashlips for their source codebase.",
"main": "index.js",
"bin": "index.js",
Expand Down Expand Up @@ -40,10 +40,11 @@
"license": "MIT",
"dependencies": {
"async-sema": "^3.1.1",
"canvas": "^2.8.0",
"canvas": "^2.9.0",
"form-data": "^4.0.0",
"gif-encoder-2": "^1.0.5",
"node-fetch": "^2.6.7",
"sha1": "^1.1.1"
"sha1": "^1.1.1",
"simple-get": "4.0.1"
}
}
52 changes: 33 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@
"balanced-match" "^1.0.0"
"concat-map" "0.0.1"

"canvas@^2.8.0":
"integrity" "sha512-gLTi17X8WY9Cf5GZ2Yns8T5lfBOcGgFehDFb+JQwDqdOoBOcECS9ZWMEAqMSVcMYwXD659J8NyzjRY/2aE+C2Q=="
"resolved" "https://registry.npmjs.org/canvas/-/canvas-2.8.0.tgz"
"version" "2.8.0"
"canvas@^2.9.0":
"integrity" "sha512-0l93g7uxp7rMyr7H+XRQ28A3ud0dKIUTIEkUe1Dxh4rjUYN7B93+SjC3r1PDKA18xcQN87OFGgUnyw7LSgNLSQ=="
"resolved" "https://registry.npmjs.org/canvas/-/canvas-2.9.0.tgz"
"version" "2.9.0"
dependencies:
"@mapbox/node-pre-gyp" "^1.0.0"
"nan" "^2.14.0"
"simple-get" "^3.0.3"
"nan" "^2.15.0"
"simple-get" "^4.0.1"

"charenc@>= 0.0.1":
"integrity" "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc="
Expand Down Expand Up @@ -122,12 +122,12 @@
dependencies:
"ms" "2.1.2"

"decompress-response@^4.2.0":
"integrity" "sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw=="
"resolved" "https://registry.npmjs.org/decompress-response/-/decompress-response-4.2.1.tgz"
"version" "4.2.1"
"decompress-response@^6.0.0":
"integrity" "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ=="
"resolved" "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz"
"version" "6.0.0"
dependencies:
"mimic-response" "^2.0.0"
"mimic-response" "^3.1.0"

"delayed-stream@~1.0.0":
"integrity" "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
Expand Down Expand Up @@ -259,6 +259,11 @@
"resolved" "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz"
"version" "2.1.0"

"mimic-response@^3.1.0":
"integrity" "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ=="
"resolved" "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz"
"version" "3.1.0"

"minimatch@^3.0.4":
"integrity" "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA=="
"resolved" "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz"
Expand Down Expand Up @@ -291,13 +296,13 @@
"resolved" "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz"
"version" "2.1.2"

"nan@^2.14.0":
"nan@^2.15.0":
"integrity" "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ=="
"resolved" "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz"
"version" "2.15.0"

"node-fetch@^2.6.7":
"integrity" "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
"node-fetch@^2.6.5", "node-fetch@^2.6.7":
"integrity" "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ=="
"resolved" "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz"
"version" "2.6.7"
dependencies:
Expand Down Expand Up @@ -393,12 +398,21 @@
"resolved" "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz"
"version" "1.0.1"

"simple-get@^3.0.3":
"integrity" "sha512-bCR6cP+aTdScaQCnQKbPKtJOKDp/hj9EDLJo3Nw4y1QksqaovlW/bnptB6/c1e+qmNIDHRK+oXFDdEqBT8WzUA=="
"resolved" "https://registry.npmjs.org/simple-get/-/simple-get-3.1.0.tgz"
"version" "3.1.0"
"simple-get@^4.0.1":
"integrity" "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA=="
"resolved" "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz"
"version" "4.0.1"
dependencies:
"decompress-response" "^6.0.0"
"once" "^1.3.1"
"simple-concat" "^1.0.0"

"[email protected]":
"integrity" "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA=="
"resolved" "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz"
"version" "4.0.1"
dependencies:
"decompress-response" "^4.2.0"
"decompress-response" "^6.0.0"
"once" "^1.3.1"
"simple-concat" "^1.0.0"

Expand Down

0 comments on commit bc7f3ea

Please sign in to comment.