Removed heavy dependency within @tryghost/errors
- we previously used `@stdlib/utils` instead of the child package `@stdlib/copy`, which is a lot smaller and contains our only use of the parent - this saves 140+MB of dependencies
This commit is contained in:
parent
e5084a23e6
commit
b64d32cc26
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/debug": "0.1.22",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/promise": "0.3.2",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"@tryghost/validator": "0.2.1",
|
||||
|
@ -24,7 +24,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"bson-objectid": "2.0.4"
|
||||
}
|
||||
|
@ -83,7 +83,7 @@
|
||||
"@tryghost/email-mock-receiver": "0.1.1",
|
||||
"@tryghost/email-service": "0.0.0",
|
||||
"@tryghost/email-suppression-list": "0.0.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/event-aware-cache-wrapper": "0.0.0",
|
||||
"@tryghost/express-dynamic-redirects": "0.0.0",
|
||||
"@tryghost/external-media-inliner": "0.0.0",
|
||||
@ -134,7 +134,7 @@
|
||||
"@tryghost/posts-service": "0.0.0",
|
||||
"@tryghost/pretty-cli": "1.2.34",
|
||||
"@tryghost/promise": "0.3.2",
|
||||
"@tryghost/request": "0.1.37",
|
||||
"@tryghost/request": "0.1.39",
|
||||
"@tryghost/security": "0.0.0",
|
||||
"@tryghost/session-service": "0.0.0",
|
||||
"@tryghost/settings-path-manager": "0.0.0",
|
||||
@ -243,7 +243,7 @@
|
||||
},
|
||||
"resolutions": {
|
||||
"@elastic/elasticsearch": "8.5.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"moment": "2.24.0",
|
||||
"moment-timezone": "0.5.23"
|
||||
|
@ -24,7 +24,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/debug": "0.1.22",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"lodash": "4.17.21"
|
||||
}
|
||||
|
@ -27,7 +27,7 @@
|
||||
"dependencies": {
|
||||
"@tryghost/color-utils": "0.1.23",
|
||||
"@tryghost/email-events": "0.0.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/html-to-plaintext": "0.0.0",
|
||||
"@tryghost/kg-default-cards": "6.0.5",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
|
@ -26,7 +26,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@breejs/later": "4.1.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"bree": "6.5.0",
|
||||
"cron-validate": "1.4.5",
|
||||
|
@ -24,7 +24,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/link-redirects": "0.0.0",
|
||||
"@tryghost/nql": "0.11.0",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
|
@ -24,7 +24,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"@tryghost/validator": "0.2.1",
|
||||
"jsonwebtoken": "8.5.1"
|
||||
|
@ -29,7 +29,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/domain-events": "0.0.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"@tryghost/magic-link": "0.0.0",
|
||||
"@tryghost/member-events": "0.0.0",
|
||||
|
@ -24,7 +24,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/domain-events": "0.0.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"@tryghost/member-events": "0.0.0",
|
||||
"moment-timezone": "0.5.34"
|
||||
|
@ -23,7 +23,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"@tryghost/members-csv": "0.0.0",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
|
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/debug": "0.1.22",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"cookies": "0.8.0",
|
||||
"jsonwebtoken": "8.5.1"
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"bson-objectid": "2.0.4"
|
||||
}
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/debug": "0.1.22",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"csso": "5.0.5",
|
||||
"terser": "5.16.8",
|
||||
|
@ -18,7 +18,7 @@
|
||||
"lib"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"c8": "7.13.0",
|
||||
"mocha": "10.2.0",
|
||||
"sinon": "15.0.2"
|
||||
|
@ -23,7 +23,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/debug": "0.1.22",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/http-cache-utils": "0.1.7",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"lodash": "4.17.21",
|
||||
|
@ -23,7 +23,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"semver": "7.3.8"
|
||||
}
|
||||
|
@ -22,7 +22,7 @@
|
||||
"mocha": "10.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"charset": "1.0.1",
|
||||
|
@ -24,7 +24,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/domain-events": "0.0.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/mongo-utils": "0.5.0",
|
||||
"@tryghost/string": "0.2.3",
|
||||
"lodash": "4.17.21"
|
||||
|
@ -23,7 +23,7 @@
|
||||
"tmp": "0.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"fs-extra": "11.1.1",
|
||||
"lodash": "4.17.21"
|
||||
|
@ -23,7 +23,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/domain-events": "0.0.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/members-offers": "0.0.0",
|
||||
"@tryghost/tiers": "0.0.0"
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/nql": "0.11.0",
|
||||
"@tryghost/tpl": "0.1.22"
|
||||
}
|
||||
|
@ -22,7 +22,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"date-fns": "2.29.3"
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/validator": "0.2.1",
|
||||
"@tryghost/version": "0.1.20",
|
||||
"got": "9.6.0"
|
||||
|
@ -25,7 +25,7 @@
|
||||
"dependencies": {
|
||||
"@tryghost/debug": "0.1.22",
|
||||
"@tryghost/domain-events": "0.0.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"@tryghost/member-events": "0.0.0",
|
||||
"leaky-bucket": "2.2.0",
|
||||
|
@ -22,7 +22,7 @@
|
||||
"mocha": "10.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/string": "0.2.3",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"bson-objectid": "2.0.4"
|
||||
|
@ -24,7 +24,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/debug": "0.1.22",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"@tryghost/tpl": "0.1.22",
|
||||
"lodash": "4.17.21",
|
||||
|
@ -23,7 +23,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/domain-events": "0.0.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/member-events": "0.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@
|
||||
"sinon": "15.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"cheerio": "0.22.0"
|
||||
}
|
||||
|
@ -37,7 +37,7 @@
|
||||
},
|
||||
"resolutions": {
|
||||
"@elastic/elasticsearch": "8.5.0",
|
||||
"@tryghost/errors": "1.2.23",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/logging": "2.4.1",
|
||||
"moment": "2.24.0",
|
||||
"moment-timezone": "0.5.23"
|
||||
|
Loading…
Reference in New Issue
Block a user