Skip to content

Commit 708fa6c

Browse files
authored
Merge pull request #1728 from perrin4869/fix/dev-dependencies
Optional dependencies are dev dependencies
2 parents 3b1ff63 + 9d34958 commit 708fa6c

File tree

2 files changed

+38
-40
lines changed

2 files changed

+38
-40
lines changed

package.json

+11-13
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
"@babel/plugin-transform-runtime": "^7.18.2",
3838
"@babel/preset-env": "^7.18.2",
3939
"@babel/runtime": "^7.18.3",
40+
"@commitlint/cli": "^17.0.1",
41+
"@commitlint/config-conventional": "^17.0.0",
4042
"Base64": "^1.1.0",
4143
"babelify": "^10.0.0",
4244
"basic-auth-connect": "^1.0.0",
@@ -45,18 +47,27 @@
4547
"codecov": "^3.8.3",
4648
"cookie-parser": "^1.4.6",
4749
"cross-env": "^7.0.3",
50+
"eslint": "^8.16.0",
51+
"eslint-config-xo-lass": "^1.0.6",
52+
"eslint-plugin-compat": "^4.0.2",
53+
"eslint-plugin-node": "^11.1.0",
4854
"express": "^4.18.1",
4955
"express-session": "^1.17.3",
5056
"fixpack": "^4.0.0",
5157
"get-port": "4.2.0",
58+
"husky": "^8.0.1",
59+
"lint-staged": "^12.5.0",
5260
"marked": "^2.0.0",
5361
"mocha": "6.2.2",
5462
"multer": "^1.4.4",
5563
"nyc": "^15.1.0",
64+
"remark-cli": "^10.0.1",
65+
"remark-preset-github": "^4.0.1",
5666
"rimraf": "^3.0.2",
5767
"should": "^13.2.3",
5868
"should-http": "^0.1.1",
5969
"tinyify": "^3.0.0",
70+
"xo": "^0.49.0",
6071
"zuul": "^3.12.0"
6172
},
6273
"engines": {
@@ -102,19 +113,6 @@
102113
],
103114
"license": "MIT",
104115
"main": "lib/node/index.js",
105-
"optionalDependencies": {
106-
"@commitlint/cli": "^17.0.1",
107-
"@commitlint/config-conventional": "^17.0.0",
108-
"eslint": "^8.16.0",
109-
"eslint-config-xo-lass": "^1.0.6",
110-
"eslint-plugin-compat": "^4.0.2",
111-
"eslint-plugin-node": "^11.1.0",
112-
"husky": "^8.0.1",
113-
"lint-staged": "^12.5.0",
114-
"remark-cli": "^10.0.1",
115-
"remark-preset-github": "^4.0.1",
116-
"xo": "^0.49.0"
117-
},
118116
"repository": {
119117
"type": "git",
120118
"url": "git://github.com/visionmedia/superagent.git"

yarn.lock

+27-27
Original file line numberDiff line numberDiff line change
@@ -925,9 +925,9 @@
925925
to-fast-properties "^2.0.0"
926926

927927
"@commitlint/cli@^17.0.1":
928-
version "17.0.1"
929-
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.0.1.tgz#88c5ad3f297760ded589c3a33ed49321242e7ab0"
930-
integrity sha512-5xT1G5pnynR0tk/ms8Ji7yr9lZCeQs4GLVVtyK/gw20w+enoLTVuRKKY9zg88hy9FoCycc/W8iip2xv3c8payg==
928+
version "17.0.2"
929+
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.0.2.tgz#57c925fb5f09b8e4a83448d94db291ddf7aa58ee"
930+
integrity sha512-Axe89Js0YzGGd4gxo3JLlF7yIdjOVpG1LbOorGc6PfYF+drBh14PvarSDLzyd2TNqdylUCq9wb9/A88ZjIdyhA==
931931
dependencies:
932932
"@commitlint/format" "^17.0.0"
933933
"@commitlint/lint" "^17.0.0"
@@ -941,11 +941,11 @@
941941
yargs "^17.0.0"
942942

943943
"@commitlint/config-conventional@^17.0.0":
944-
version "17.0.0"
945-
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.0.0.tgz#7dc2ef3ac1a11ff62bcd333343cc8921edd1646a"
946-
integrity sha512-jttJXBIq3AuQCvUVwxSctCwKfHxxbALE0IB9OIHYCu/eQdOzPxN72pugeZsWDo1VK/T9iFx+MZoPb6Rb1/ylsw==
944+
version "17.0.2"
945+
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.0.2.tgz#298c9076e25c1e8760f04ee1be8ce43c856a4b72"
946+
integrity sha512-MfP0I/JbxKkzo+HXWB7B3WstGS4BiniotU3d3xQ9gK8cR0DbeZ4MuyGCWF65YDyrcDTS3WlrJ3ndSPA1pqhoPw==
947947
dependencies:
948-
conventional-changelog-conventionalcommits "^4.3.1"
948+
conventional-changelog-conventionalcommits "^5.0.0"
949949

950950
"@commitlint/config-validator@^17.0.0":
951951
version "17.0.0"
@@ -1322,9 +1322,9 @@
13221322
integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==
13231323

13241324
"@types/node@*", "@types/node@>=12", "@types/node@^17.0.0":
1325-
version "17.0.37"
1326-
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.37.tgz#33ef36d1587be16d81822771c6cc3007e88786cb"
1327-
integrity sha512-22CDt5mU+EbwJ/JYw4pZGVtO0M0UhaFQP1pJ+JW+lQYx8cqErY//QfvpE0nVBr4LJpPcIrFs1Ew2LAIx1OSXZw==
1325+
version "17.0.38"
1326+
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.38.tgz#f8bb07c371ccb1903f3752872c89f44006132947"
1327+
integrity sha512-5jY9RhV7c0Z4Jy09G+NIDTsCZ5G0L5n+Z+p+Y7t5VJHM30bgwzSjVtlcBxqAj+6L/swIlvtOSzr8rBk/aNyV2g==
13281328

13291329
"@types/normalize-package-data@^2.4.0":
13301330
version "2.4.1"
@@ -3106,10 +3106,10 @@ conventional-changelog-angular@^5.0.11:
31063106
compare-func "^2.0.0"
31073107
q "^1.5.1"
31083108

3109-
conventional-changelog-conventionalcommits@^4.3.1:
3110-
version "4.6.3"
3111-
resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz#0765490f56424b46f6cb4db9135902d6e5a36dc2"
3112-
integrity sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==
3109+
conventional-changelog-conventionalcommits@^5.0.0:
3110+
version "5.0.0"
3111+
resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz#41bdce54eb65a848a4a3ffdca93e92fa22b64a86"
3112+
integrity sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==
31133113
dependencies:
31143114
compare-func "^2.0.0"
31153115
lodash "^4.17.15"
@@ -3703,9 +3703,9 @@ [email protected]:
37033703
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==
37043704

37053705
electron-to-chromium@^1.4.118:
3706-
version "1.4.142"
3707-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.142.tgz#70cc8871f7c0122b29256089989e67cee637b40d"
3708-
integrity sha512-ea8Q1YX0JRp4GylOmX4gFHIizi0j9GfRW4EkaHnkZp0agRCBB4ZGeCv17IEzIvBkiYVwfoKVhKZJbTfqCRdQdg==
3706+
version "1.4.143"
3707+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.143.tgz#10f1bb595ad6cd893c05097039c685dcf5c8e30c"
3708+
integrity sha512-2hIgvu0+pDfXIqmVmV5X6iwMjQ2KxDsWKwM+oI1fABEOy/Dqmll0QJRmIQ3rm+XaoUa/qKrmy5h7LSTFQ6Ldzg==
37093709

37103710
elliptic@^6.5.3:
37113711
version "6.5.4"
@@ -7805,12 +7805,12 @@ node-releases@^2.0.3:
78057805
node-uuid@~1.4.0, node-uuid@~1.4.1:
78067806
version "1.4.8"
78077807
resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.8.tgz#b040eb0923968afabf8d32fb1f17f1167fdab907"
7808-
integrity sha1-sEDrCSOWivq/jTL7HxfxFn/auQc=
7808+
integrity sha512-TkCET/3rr9mUuRp+CpO7qfgT++aAxfDRaalQhwPFzI9BY/2rCDn6OfpZOVggi1AXfTPpfkTrg5f5WQx5G1uLxA==
78097809

78107810
78117811
version "3.0.6"
78127812
resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9"
7813-
integrity sha1-xkZdvwirzU2zWTF/eaxopkayj/k=
7813+
integrity sha512-4GUt3kSEYmk4ITxzB/b9vaIDfUVWN/Ml1Fwl11IlnIG2iaJ9O6WXZ9SrYM9NLI8OCBieN2Y8SWC2oJV0RQ7qYg==
78147814
dependencies:
78157815
abbrev "1"
78167816

@@ -7837,7 +7837,7 @@ normalize-package-data@^3.0.0, normalize-package-data@^3.0.2:
78377837
normalize-path@^2.0.0, normalize-path@^2.0.1:
78387838
version "2.1.1"
78397839
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
7840-
integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=
7840+
integrity sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==
78417841
dependencies:
78427842
remove-trailing-separator "^1.0.1"
78437843

@@ -7894,7 +7894,7 @@ nyc@^15.1.0:
78947894
oauth-sign@~0.4.0:
78957895
version "0.4.0"
78967896
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.4.0.tgz#f22956f31ea7151a821e5f2fb32c113cad8b9f69"
7897-
integrity sha1-8ilW8x6nFRqCHl8vsywRPK2Ln2k=
7897+
integrity sha512-vF36cbrUyfy7Yr6kTIzrj3RsuaPYeJKU3IUOC6MglfNTyiGT6leGvEVOa3UsSsgwBzfVfRnvMiMVyUnpXNqN8w==
78987898

78997899
obj-props@^1.0.0:
79007900
version "1.4.0"
@@ -7904,12 +7904,12 @@ obj-props@^1.0.0:
79047904
object-assign@^4.1.0, object-assign@^4.1.1:
79057905
version "4.1.1"
79067906
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
7907-
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
7907+
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
79087908

79097909
object-copy@^0.1.0:
79107910
version "0.1.0"
79117911
resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c"
7912-
integrity sha1-fn2Fi3gb18mRpBupde04EnVOmYw=
7912+
integrity sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==
79137913
dependencies:
79147914
copy-descriptor "^0.1.0"
79157915
define-property "^0.2.5"
@@ -7936,12 +7936,12 @@ object-keys@^1.0.11, object-keys@^1.1.1:
79367936
object-keys@~0.4.0:
79377937
version "0.4.0"
79387938
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-0.4.0.tgz#28a6aae7428dd2c3a92f3d95f21335dd204e0336"
7939-
integrity sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=
7939+
integrity sha512-ncrLw+X55z7bkl5PnUvHwFK9FcGuFYo9gtjws2XtSzL+aZ8tm830P60WJ0dSmFVaSalWieW5MD7kEdnXda9yJw==
79407940

79417941
object-visit@^1.0.0:
79427942
version "1.0.1"
79437943
resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb"
7944-
integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=
7944+
integrity sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==
79457945
dependencies:
79467946
isobject "^3.0.0"
79477947

@@ -7978,15 +7978,15 @@ object.getownpropertydescriptors@^2.0.3:
79787978
object.omit@^2.0.0:
79797979
version "2.0.1"
79807980
resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa"
7981-
integrity sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=
7981+
integrity sha512-UiAM5mhmIuKLsOvrL+B0U2d1hXHF3bFYWIuH1LMpuV2EJEHG1Ntz06PgLEHjm6VFd87NpH8rastvPoyv6UW2fA==
79827982
dependencies:
79837983
for-own "^0.1.4"
79847984
is-extendable "^0.1.1"
79857985

79867986
object.pick@^1.3.0:
79877987
version "1.3.0"
79887988
resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747"
7989-
integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=
7989+
integrity sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==
79907990
dependencies:
79917991
isobject "^3.0.1"
79927992

0 commit comments

Comments
 (0)