superagent 7.1.4 → 7.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -14
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "superagent",
|
|
3
3
|
"description": "elegant & feature rich browser / node HTTP with a fluent API",
|
|
4
|
-
"version": "7.1.
|
|
4
|
+
"version": "7.1.5",
|
|
5
5
|
"author": "TJ Holowaychuk <tj@vision-media.ca>",
|
|
6
6
|
"browser": {
|
|
7
7
|
"./src/node/index.js": "./src/client.js",
|
|
@@ -37,6 +37,8 @@
|
|
|
37
37
|
"@babel/plugin-transform-runtime": "^7.18.2",
|
|
38
38
|
"@babel/preset-env": "^7.18.2",
|
|
39
39
|
"@babel/runtime": "^7.18.3",
|
|
40
|
+
"@commitlint/cli": "^17.0.1",
|
|
41
|
+
"@commitlint/config-conventional": "^17.0.0",
|
|
40
42
|
"Base64": "^1.1.0",
|
|
41
43
|
"babelify": "^10.0.0",
|
|
42
44
|
"basic-auth-connect": "^1.0.0",
|
|
@@ -45,18 +47,27 @@
|
|
|
45
47
|
"codecov": "^3.8.3",
|
|
46
48
|
"cookie-parser": "^1.4.6",
|
|
47
49
|
"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",
|
|
48
54
|
"express": "^4.18.1",
|
|
49
55
|
"express-session": "^1.17.3",
|
|
50
56
|
"fixpack": "^4.0.0",
|
|
51
57
|
"get-port": "4.2.0",
|
|
58
|
+
"husky": "^8.0.1",
|
|
59
|
+
"lint-staged": "^12.5.0",
|
|
52
60
|
"marked": "^2.0.0",
|
|
53
61
|
"mocha": "6.2.2",
|
|
54
62
|
"multer": "^1.4.4",
|
|
55
63
|
"nyc": "^15.1.0",
|
|
64
|
+
"remark-cli": "^10.0.1",
|
|
65
|
+
"remark-preset-github": "^4.0.1",
|
|
56
66
|
"rimraf": "^3.0.2",
|
|
57
67
|
"should": "^13.2.3",
|
|
58
68
|
"should-http": "^0.1.1",
|
|
59
69
|
"tinyify": "^3.0.0",
|
|
70
|
+
"xo": "^0.49.0",
|
|
60
71
|
"zuul": "^3.12.0"
|
|
61
72
|
},
|
|
62
73
|
"engines": {
|
|
@@ -102,19 +113,6 @@
|
|
|
102
113
|
],
|
|
103
114
|
"license": "MIT",
|
|
104
115
|
"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
|
-
},
|
|
118
116
|
"repository": {
|
|
119
117
|
"type": "git",
|
|
120
118
|
"url": "git://github.com/visionmedia/superagent.git"
|
|
@@ -130,6 +128,7 @@
|
|
|
130
128
|
"lint": "eslint -c .eslintrc src test && remark . -qfo && eslint -c .lib.eslintrc lib/**/*.js && eslint -c .dist.eslintrc dist/**/*.js",
|
|
131
129
|
"minify": "cross-env NODE_ENV=production browserify src/node/index.js -o dist/superagent.min.js -s superagent -g [ babelify --configFile ./.dist.babelrc ] -p tinyify",
|
|
132
130
|
"nyc": "cross-env NODE_ENV=test nyc ava",
|
|
131
|
+
"prepare": "husky install",
|
|
133
132
|
"test": "npm run build && npm run lint && make test",
|
|
134
133
|
"test-http2": "npm run build && npm run lint && make test-node-http2"
|
|
135
134
|
},
|