Skip to content

Commit

Permalink
fix: remove transitive dev dependencies from bundled jsii constructs (#…
Browse files Browse the repository at this point in the history
…3092)

* remove transitive dev dependencies from jsii constructs

* update jsii

* update yarn.lock

* update dep licenses
  • Loading branch information
atierian authored Dec 23, 2024
1 parent 829ae34 commit f1243e2
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 242 deletions.
34 changes: 0 additions & 34 deletions dependency_licenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13903,40 +13903,6 @@ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-----

The following software may be included in this product: diff. A copy of the source code may be downloaded from git://github.com/kpdecker/jsdiff.git. This software contains the following license and notice below:

BSD 3-Clause License

Copyright (c) 2009-2015, Kevin Decker <[email protected]>
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-----

The following software may be included in this product: doctrine. A copy of the source code may be downloaded from https://github.com/eslint/doctrine.git. This software contains the following license and notice below:

Apache License
Expand Down
44 changes: 0 additions & 44 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,51 +201,29 @@
"@aws-amplify/data-construct/@smithy/util-stream",
"@aws-amplify/data-construct/@smithy/util-uri-escape",
"@aws-amplify/data-construct/@smithy/util-utf8",
"@aws-amplify/data-construct/ajv",
"@aws-amplify/data-construct/ansi-regex",
"@aws-amplify/data-construct/ansi-styles",
"@aws-amplify/data-construct/astral-regex",
"@aws-amplify/data-construct/at-least-node",
"@aws-amplify/data-construct/bowser",
"@aws-amplify/data-construct/chalk",
"@aws-amplify/data-construct/charenc",
"@aws-amplify/data-construct/ci-info",
"@aws-amplify/data-construct/color-convert",
"@aws-amplify/data-construct/color-name",
"@aws-amplify/data-construct/crypt",
"@aws-amplify/data-construct/diff",
"@aws-amplify/data-construct/emoji-regex",
"@aws-amplify/data-construct/fast-deep-equal",
"@aws-amplify/data-construct/fast-uri",
"@aws-amplify/data-construct/fast-xml-parser",
"@aws-amplify/data-construct/fs-extra",
"@aws-amplify/data-construct/graceful-fs",
"@aws-amplify/data-construct/graphql",
"@aws-amplify/data-construct/graphql-mapping-template",
"@aws-amplify/data-construct/graphql-transformer-common",
"@aws-amplify/data-construct/has-flag",
"@aws-amplify/data-construct/hjson",
"@aws-amplify/data-construct/immer",
"@aws-amplify/data-construct/is-buffer",
"@aws-amplify/data-construct/is-ci",
"@aws-amplify/data-construct/is-fullwidth-code-point",
"@aws-amplify/data-construct/json-schema-traverse",
"@aws-amplify/data-construct/jsonfile",
"@aws-amplify/data-construct/libphonenumber-js",
"@aws-amplify/data-construct/lodash",
"@aws-amplify/data-construct/lodash.mergewith",
"@aws-amplify/data-construct/lodash.truncate",
"@aws-amplify/data-construct/md5",
"@aws-amplify/data-construct/object-hash",
"@aws-amplify/data-construct/pluralize",
"@aws-amplify/data-construct/require-from-string",
"@aws-amplify/data-construct/semver",
"@aws-amplify/data-construct/slice-ansi",
"@aws-amplify/data-construct/string-width",
"@aws-amplify/data-construct/strip-ansi",
"@aws-amplify/data-construct/strnum",
"@aws-amplify/data-construct/supports-color",
"@aws-amplify/data-construct/table",
"@aws-amplify/data-construct/ts-dedent",
"@aws-amplify/data-construct/tslib",
"@aws-amplify/data-construct/universalify",
Expand Down Expand Up @@ -345,51 +323,29 @@
"@aws-amplify/graphql-api-construct/@smithy/util-stream",
"@aws-amplify/graphql-api-construct/@smithy/util-uri-escape",
"@aws-amplify/graphql-api-construct/@smithy/util-utf8",
"@aws-amplify/graphql-api-construct/ajv",
"@aws-amplify/graphql-api-construct/ansi-regex",
"@aws-amplify/graphql-api-construct/ansi-styles",
"@aws-amplify/graphql-api-construct/astral-regex",
"@aws-amplify/graphql-api-construct/at-least-node",
"@aws-amplify/graphql-api-construct/bowser",
"@aws-amplify/graphql-api-construct/chalk",
"@aws-amplify/graphql-api-construct/charenc",
"@aws-amplify/graphql-api-construct/ci-info",
"@aws-amplify/graphql-api-construct/color-convert",
"@aws-amplify/graphql-api-construct/color-name",
"@aws-amplify/graphql-api-construct/crypt",
"@aws-amplify/graphql-api-construct/diff",
"@aws-amplify/graphql-api-construct/emoji-regex",
"@aws-amplify/graphql-api-construct/fast-deep-equal",
"@aws-amplify/graphql-api-construct/fast-uri",
"@aws-amplify/graphql-api-construct/fast-xml-parser",
"@aws-amplify/graphql-api-construct/fs-extra",
"@aws-amplify/graphql-api-construct/graceful-fs",
"@aws-amplify/graphql-api-construct/graphql",
"@aws-amplify/graphql-api-construct/graphql-mapping-template",
"@aws-amplify/graphql-api-construct/graphql-transformer-common",
"@aws-amplify/graphql-api-construct/has-flag",
"@aws-amplify/graphql-api-construct/hjson",
"@aws-amplify/graphql-api-construct/immer",
"@aws-amplify/graphql-api-construct/is-buffer",
"@aws-amplify/graphql-api-construct/is-ci",
"@aws-amplify/graphql-api-construct/is-fullwidth-code-point",
"@aws-amplify/graphql-api-construct/json-schema-traverse",
"@aws-amplify/graphql-api-construct/jsonfile",
"@aws-amplify/graphql-api-construct/libphonenumber-js",
"@aws-amplify/graphql-api-construct/lodash",
"@aws-amplify/graphql-api-construct/lodash.mergewith",
"@aws-amplify/graphql-api-construct/lodash.truncate",
"@aws-amplify/graphql-api-construct/md5",
"@aws-amplify/graphql-api-construct/object-hash",
"@aws-amplify/graphql-api-construct/pluralize",
"@aws-amplify/graphql-api-construct/require-from-string",
"@aws-amplify/graphql-api-construct/semver",
"@aws-amplify/graphql-api-construct/slice-ansi",
"@aws-amplify/graphql-api-construct/string-width",
"@aws-amplify/graphql-api-construct/strip-ansi",
"@aws-amplify/graphql-api-construct/strnum",
"@aws-amplify/graphql-api-construct/supports-color",
"@aws-amplify/graphql-api-construct/table",
"@aws-amplify/graphql-api-construct/ts-dedent",
"@aws-amplify/graphql-api-construct/tslib",
"@aws-amplify/graphql-api-construct/universalify",
Expand Down
26 changes: 1 addition & 25 deletions packages/amplify-data-construct/.jsii
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
"@aws-amplify/graphql-transformer-interfaces": "4.2.1",
"@aws-amplify/platform-core": "^1.0.0",
"@aws-amplify/plugin-types": "^1.0.0",
"@aws-cdk/cfnspec": "2.68.0",
"@aws-cdk/cloudformation-diff": "2.68.0",
"@aws-crypto/crc32": "5.2.0",
"@aws-crypto/sha256-browser": "5.2.0",
"@aws-crypto/sha256-js": "^5.2.0",
Expand Down Expand Up @@ -102,51 +100,29 @@
"@smithy/util-stream": "^3.1.3",
"@smithy/util-uri-escape": "^3.0.0",
"@smithy/util-utf8": "^3.0.0",
"ajv": "^8.0.1",
"ansi-regex": "^5.0.1",
"ansi-styles": "^4.1.0",
"astral-regex": "^2.0.0",
"at-least-node": "^1.0.0",
"bowser": "^2.11.0",
"chalk": "^4",
"charenc": "^0.0.2",
"ci-info": "^3.2.0",
"color-convert": "^2.0.1",
"color-name": "~1.1.4",
"crypt": "^0.0.2",
"diff": "^5.1.0",
"emoji-regex": "^8.0.0",
"fast-deep-equal": "^3.1.3",
"fast-uri": "^3.0.1",
"fast-xml-parser": "4.4.1",
"fs-extra": "^8.1.0",
"graceful-fs": "^4.2.0",
"graphql": "^15.5.0",
"graphql-mapping-template": "5.0.2",
"graphql-transformer-common": "5.1.2",
"has-flag": "^4.0.0",
"hjson": "^3.2.2",
"immer": "^9.0.12",
"is-buffer": "~1.1.6",
"is-ci": "^3.0.1",
"is-fullwidth-code-point": "^3.0.0",
"json-schema-traverse": "^1.0.0",
"jsonfile": "^4.0.0",
"libphonenumber-js": "1.9.47",
"lodash": "^4.17.21",
"lodash.mergewith": "^4.6.2",
"lodash.truncate": "^4.4.2",
"md5": "^2.2.1",
"object-hash": "^3.0.0",
"pluralize": "8.0.0",
"require-from-string": "^2.0.2",
"semver": "^7.6.3",
"slice-ansi": "^4.0.0",
"string-width": "^4.2.3",
"strip-ansi": "^6.0.1",
"strnum": "^1.0.5",
"supports-color": "^7.1.0",
"table": "^6.8.1",
"ts-dedent": "^2.0.0",
"tslib": "^2.6.2",
"universalify": "^0.1.0",
Expand Down Expand Up @@ -4090,5 +4066,5 @@
},
"types": {},
"version": "1.14.3",
"fingerprint": "PUetlxHLsvRKImL1CBv76hMaXqygnzyUf7RskYAIv9U="
"fingerprint": "UQiK5GuQIpq7OG8vglMhaPd/82OaQqVaKTmhDoui4ZM="
}
44 changes: 0 additions & 44 deletions packages/amplify-data-construct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,51 +127,29 @@
"@smithy/util-stream",
"@smithy/util-uri-escape",
"@smithy/util-utf8",
"ajv",
"ansi-regex",
"ansi-styles",
"astral-regex",
"at-least-node",
"bowser",
"chalk",
"charenc",
"ci-info",
"color-convert",
"color-name",
"crypt",
"diff",
"emoji-regex",
"fast-deep-equal",
"fast-uri",
"fast-xml-parser",
"fs-extra",
"graceful-fs",
"graphql",
"graphql-mapping-template",
"graphql-transformer-common",
"has-flag",
"hjson",
"immer",
"is-buffer",
"is-ci",
"is-fullwidth-code-point",
"json-schema-traverse",
"jsonfile",
"libphonenumber-js",
"lodash",
"lodash.mergewith",
"lodash.truncate",
"md5",
"object-hash",
"pluralize",
"require-from-string",
"semver",
"slice-ansi",
"string-width",
"strip-ansi",
"strnum",
"supports-color",
"table",
"ts-dedent",
"tslib",
"universalify",
Expand Down Expand Up @@ -274,51 +252,29 @@
"@smithy/util-stream": "^3.1.3",
"@smithy/util-uri-escape": "^3.0.0",
"@smithy/util-utf8": "^3.0.0",
"ajv": "^8.0.1",
"ansi-regex": "^5.0.1",
"ansi-styles": "^4.1.0",
"astral-regex": "^2.0.0",
"at-least-node": "^1.0.0",
"bowser": "^2.11.0",
"chalk": "^4",
"charenc": "^0.0.2",
"ci-info": "^3.2.0",
"color-convert": "^2.0.1",
"color-name": "~1.1.4",
"crypt": "^0.0.2",
"diff": "^5.1.0",
"emoji-regex": "^8.0.0",
"fast-deep-equal": "^3.1.3",
"fast-uri": "^3.0.1",
"fast-xml-parser": "4.4.1",
"fs-extra": "^8.1.0",
"graceful-fs": "^4.2.0",
"graphql": "^15.5.0",
"graphql-mapping-template": "5.0.2",
"graphql-transformer-common": "5.1.2",
"has-flag": "^4.0.0",
"hjson": "^3.2.2",
"immer": "^9.0.12",
"is-buffer": "~1.1.6",
"is-ci": "^3.0.1",
"is-fullwidth-code-point": "^3.0.0",
"json-schema-traverse": "^1.0.0",
"jsonfile": "^4.0.0",
"libphonenumber-js": "1.9.47",
"lodash": "^4.17.21",
"lodash.mergewith": "^4.6.2",
"lodash.truncate": "^4.4.2",
"md5": "^2.2.1",
"object-hash": "^3.0.0",
"pluralize": "8.0.0",
"require-from-string": "^2.0.2",
"semver": "^7.6.3",
"slice-ansi": "^4.0.0",
"string-width": "^4.2.3",
"strip-ansi": "^6.0.1",
"strnum": "^1.0.5",
"supports-color": "^7.1.0",
"table": "^6.8.1",
"ts-dedent": "^2.0.0",
"tslib": "^2.6.2",
"universalify": "^0.1.0",
Expand Down
26 changes: 1 addition & 25 deletions packages/amplify-graphql-api-construct/.jsii
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
"@aws-amplify/graphql-transformer-interfaces": "4.2.1",
"@aws-amplify/platform-core": "^1.0.0",
"@aws-amplify/plugin-types": "^1.0.0",
"@aws-cdk/cfnspec": "2.68.0",
"@aws-cdk/cloudformation-diff": "2.68.0",
"@aws-crypto/crc32": "5.2.0",
"@aws-crypto/sha256-browser": "5.2.0",
"@aws-crypto/sha256-js": "^5.2.0",
Expand Down Expand Up @@ -102,51 +100,29 @@
"@smithy/util-stream": "^3.1.3",
"@smithy/util-uri-escape": "^3.0.0",
"@smithy/util-utf8": "^3.0.0",
"ajv": "^8.0.1",
"ansi-regex": "^5.0.1",
"ansi-styles": "^4.1.0",
"astral-regex": "^2.0.0",
"at-least-node": "^1.0.0",
"bowser": "^2.11.0",
"chalk": "^4",
"charenc": "^0.0.2",
"ci-info": "^3.2.0",
"color-convert": "^2.0.1",
"color-name": "~1.1.4",
"crypt": "^0.0.2",
"diff": "^5.1.0",
"emoji-regex": "^8.0.0",
"fast-deep-equal": "^3.1.3",
"fast-uri": "^3.0.1",
"fast-xml-parser": "4.4.1",
"fs-extra": "^8.1.0",
"graceful-fs": "^4.2.0",
"graphql": "^15.5.0",
"graphql-mapping-template": "5.0.2",
"graphql-transformer-common": "5.1.2",
"has-flag": "^4.0.0",
"hjson": "^3.2.2",
"immer": "^9.0.12",
"is-buffer": "~1.1.6",
"is-ci": "^3.0.1",
"is-fullwidth-code-point": "^3.0.0",
"json-schema-traverse": "^1.0.0",
"jsonfile": "^4.0.0",
"libphonenumber-js": "1.9.47",
"lodash": "^4.17.21",
"lodash.mergewith": "^4.6.2",
"lodash.truncate": "^4.4.2",
"md5": "^2.2.1",
"object-hash": "^3.0.0",
"pluralize": "8.0.0",
"require-from-string": "^2.0.2",
"semver": "^7.6.3",
"slice-ansi": "^4.0.0",
"string-width": "^4.2.3",
"strip-ansi": "^6.0.1",
"strnum": "^1.0.5",
"supports-color": "^7.1.0",
"table": "^6.8.1",
"ts-dedent": "^2.0.0",
"tslib": "^2.6.2",
"universalify": "^0.1.0",
Expand Down Expand Up @@ -9428,5 +9404,5 @@
}
},
"version": "1.18.3",
"fingerprint": "Ka78vIHt2OMPE280pvdptsbxH0O06tbCJ6tZ/4Y27gk="
"fingerprint": "V+t+v6vsfwjiE3aMKawX1LSLlOoNPC/BQcmsS1Ns7qA="
}
Loading

0 comments on commit f1243e2

Please sign in to comment.