You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

288 lines
8.7 KiB

1 month ago
  1. {
  2. "_args": [
  3. [
  4. "axios@1.7.9",
  5. "D:\\IDEAproject\\frontend\\Front-end logistics"
  6. ]
  7. ],
  8. "_from": "axios@1.7.9",
  9. "_id": "axios@1.7.9",
  10. "_inBundle": false,
  11. "_integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==",
  12. "_location": "/axios",
  13. "_phantomChildren": {},
  14. "_requested": {
  15. "type": "version",
  16. "registry": true,
  17. "raw": "axios@1.7.9",
  18. "name": "axios",
  19. "escapedName": "axios",
  20. "rawSpec": "1.7.9",
  21. "saveSpec": null,
  22. "fetchSpec": "1.7.9"
  23. },
  24. "_requiredBy": [
  25. "/"
  26. ],
  27. "_resolved": "https://registry.npmmirror.com/axios/-/axios-1.7.9.tgz",
  28. "_spec": "1.7.9",
  29. "_where": "D:\\IDEAproject\\frontend\\Front-end logistics",
  30. "author": {
  31. "name": "Matt Zabriskie"
  32. },
  33. "browser": {
  34. "./lib/adapters/http.js": "./lib/helpers/null.js",
  35. "./lib/platform/node/index.js": "./lib/platform/browser/index.js",
  36. "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js"
  37. },
  38. "bugs": {
  39. "url": "https://github.com/axios/axios/issues"
  40. },
  41. "bundlesize": [
  42. {
  43. "path": "./dist/axios.min.js",
  44. "threshold": "5kB"
  45. }
  46. ],
  47. "commitlint": {
  48. "rules": {
  49. "header-max-length": [
  50. 2,
  51. "always",
  52. 130
  53. ]
  54. },
  55. "extends": [
  56. "@commitlint/config-conventional"
  57. ]
  58. },
  59. "contributors": [
  60. {
  61. "name": "Matt Zabriskie",
  62. "url": "https://github.com/mzabriskie"
  63. },
  64. {
  65. "name": "Nick Uraltsev",
  66. "url": "https://github.com/nickuraltsev"
  67. },
  68. {
  69. "name": "Dmitriy Mozgovoy",
  70. "url": "https://github.com/DigitalBrainJS"
  71. },
  72. {
  73. "name": "Jay",
  74. "url": "https://github.com/jasonsaayman"
  75. },
  76. {
  77. "name": "Emily Morehouse",
  78. "url": "https://github.com/emilyemorehouse"
  79. },
  80. {
  81. "name": "Justin Beckwith",
  82. "url": "https://github.com/JustinBeckwith"
  83. },
  84. {
  85. "name": "Rubén Norte",
  86. "url": "https://github.com/rubennorte"
  87. },
  88. {
  89. "name": "Martti Laine",
  90. "url": "https://github.com/codeclown"
  91. },
  92. {
  93. "name": "Xianming Zhong",
  94. "url": "https://github.com/chinesedfan"
  95. },
  96. {
  97. "name": "Remco Haszing",
  98. "url": "https://github.com/remcohaszing"
  99. },
  100. {
  101. "name": "Rikki Gibson",
  102. "url": "https://github.com/RikkiGibson"
  103. },
  104. {
  105. "name": "Yasu Flores",
  106. "url": "https://github.com/yasuf"
  107. },
  108. {
  109. "name": "Ben Carp",
  110. "url": "https://github.com/carpben"
  111. }
  112. ],
  113. "dependencies": {
  114. "follow-redirects": "^1.15.6",
  115. "form-data": "^4.0.0",
  116. "proxy-from-env": "^1.1.0"
  117. },
  118. "description": "Promise based HTTP client for the browser and node.js",
  119. "devDependencies": {
  120. "@babel/core": "^7.23.9",
  121. "@babel/preset-env": "^7.23.9",
  122. "@commitlint/cli": "^17.8.1",
  123. "@commitlint/config-conventional": "^17.8.1",
  124. "@release-it/conventional-changelog": "^5.1.1",
  125. "@rollup/plugin-alias": "^5.1.0",
  126. "@rollup/plugin-babel": "^5.3.1",
  127. "@rollup/plugin-commonjs": "^15.1.0",
  128. "@rollup/plugin-json": "^4.1.0",
  129. "@rollup/plugin-multi-entry": "^4.1.0",
  130. "@rollup/plugin-node-resolve": "^9.0.0",
  131. "abortcontroller-polyfill": "^1.7.5",
  132. "auto-changelog": "^2.4.0",
  133. "body-parser": "^1.20.2",
  134. "chalk": "^5.3.0",
  135. "coveralls": "^3.1.1",
  136. "cross-env": "^7.0.3",
  137. "dev-null": "^0.1.1",
  138. "dtslint": "^4.2.1",
  139. "es6-promise": "^4.2.8",
  140. "eslint": "^8.56.0",
  141. "express": "^4.18.2",
  142. "formdata-node": "^5.0.1",
  143. "formidable": "^2.1.2",
  144. "fs-extra": "^10.1.0",
  145. "get-stream": "^3.0.0",
  146. "gulp": "^4.0.2",
  147. "gzip-size": "^7.0.0",
  148. "handlebars": "^4.7.8",
  149. "husky": "^8.0.3",
  150. "istanbul-instrumenter-loader": "^3.0.1",
  151. "jasmine-core": "^2.99.1",
  152. "karma": "^6.3.17",
  153. "karma-chrome-launcher": "^3.2.0",
  154. "karma-firefox-launcher": "^2.1.2",
  155. "karma-jasmine": "^1.1.2",
  156. "karma-jasmine-ajax": "^0.1.13",
  157. "karma-rollup-preprocessor": "^7.0.8",
  158. "karma-safari-launcher": "^1.0.0",
  159. "karma-sauce-launcher": "^4.3.6",
  160. "karma-sinon": "^1.0.5",
  161. "karma-sourcemap-loader": "^0.3.8",
  162. "memoizee": "^0.4.15",
  163. "minimist": "^1.2.8",
  164. "mocha": "^10.3.0",
  165. "multer": "^1.4.4",
  166. "pretty-bytes": "^6.1.1",
  167. "release-it": "^15.11.0",
  168. "rollup": "^2.79.1",
  169. "rollup-plugin-auto-external": "^2.0.0",
  170. "rollup-plugin-bundle-size": "^1.0.3",
  171. "rollup-plugin-terser": "^7.0.2",
  172. "sinon": "^4.5.0",
  173. "stream-throttle": "^0.1.3",
  174. "string-replace-async": "^3.0.2",
  175. "terser-webpack-plugin": "^4.2.3",
  176. "typescript": "^4.9.5"
  177. },
  178. "exports": {
  179. ".": {
  180. "types": {
  181. "require": "./index.d.cts",
  182. "default": "./index.d.ts"
  183. },
  184. "browser": {
  185. "require": "./dist/browser/axios.cjs",
  186. "default": "./index.js"
  187. },
  188. "default": {
  189. "require": "./dist/node/axios.cjs",
  190. "default": "./index.js"
  191. }
  192. },
  193. "./lib/adapters/http.js": "./lib/adapters/http.js",
  194. "./lib/adapters/xhr.js": "./lib/adapters/xhr.js",
  195. "./unsafe/*": "./lib/*",
  196. "./unsafe/core/settle.js": "./lib/core/settle.js",
  197. "./unsafe/core/buildFullPath.js": "./lib/core/buildFullPath.js",
  198. "./unsafe/helpers/isAbsoluteURL.js": "./lib/helpers/isAbsoluteURL.js",
  199. "./unsafe/helpers/buildURL.js": "./lib/helpers/buildURL.js",
  200. "./unsafe/helpers/combineURLs.js": "./lib/helpers/combineURLs.js",
  201. "./unsafe/adapters/http.js": "./lib/adapters/http.js",
  202. "./unsafe/adapters/xhr.js": "./lib/adapters/xhr.js",
  203. "./unsafe/utils.js": "./lib/utils.js",
  204. "./package.json": "./package.json"
  205. },
  206. "homepage": "https://axios-http.com",
  207. "jsdelivr": "dist/axios.min.js",
  208. "keywords": [
  209. "xhr",
  210. "http",
  211. "ajax",
  212. "promise",
  213. "node"
  214. ],
  215. "license": "MIT",
  216. "main": "index.js",
  217. "name": "axios",
  218. "release-it": {
  219. "git": {
  220. "commitMessage": "chore(release): v${version}",
  221. "push": true,
  222. "commit": true,
  223. "tag": true,
  224. "requireCommits": false,
  225. "requireCleanWorkingDir": false
  226. },
  227. "github": {
  228. "release": true,
  229. "draft": true
  230. },
  231. "npm": {
  232. "publish": false,
  233. "ignoreVersion": false
  234. },
  235. "plugins": {
  236. "@release-it/conventional-changelog": {
  237. "preset": "angular",
  238. "infile": "CHANGELOG.md",
  239. "header": "# Changelog"
  240. }
  241. },
  242. "hooks": {
  243. "before:init": "npm test",
  244. "after:bump": "gulp version --bump ${version} && npm run build && npm run test:build:version && git add ./dist && git add ./package-lock.json",
  245. "before:release": "npm run release:changelog:fix",
  246. "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
  247. }
  248. },
  249. "repository": {
  250. "type": "git",
  251. "url": "git+https://github.com/axios/axios.git"
  252. },
  253. "scripts": {
  254. "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m",
  255. "coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
  256. "examples": "node ./examples/server.js",
  257. "fix": "eslint --fix lib/**/*.js",
  258. "postpublish": "git push && git push --tags",
  259. "prepare": "husky install && npm run prepare:hooks",
  260. "prepare:hooks": "npx husky set .husky/commit-msg \"npx commitlint --edit $1\"",
  261. "prepublishOnly": "npm run test:build:version",
  262. "preversion": "gulp version",
  263. "release": "release-it",
  264. "release:beta": "release-it --preRelease=beta",
  265. "release:beta:no-npm": "release-it --preRelease=beta --no-npm",
  266. "release:changelog:fix": "node ./bin/injectContributorsList.js && git add CHANGELOG.md",
  267. "release:dry": "release-it --dry-run --no-npm",
  268. "release:info": "release-it --release-version",
  269. "release:no-npm": "release-it --no-npm",
  270. "start": "node ./sandbox/server.js",
  271. "test": "npm run test:eslint && npm run test:mocha && npm run test:karma && npm run test:dtslint && npm run test:exports",
  272. "test:build:version": "node ./bin/check-build-version.js",
  273. "test:dtslint": "dtslint --localTs node_modules/typescript/lib",
  274. "test:eslint": "node bin/ssl_hotfix.js eslint lib/**/*.js",
  275. "test:exports": "node bin/ssl_hotfix.js mocha test/module/test.js --timeout 30000 --exit",
  276. "test:karma": "node bin/ssl_hotfix.js cross-env LISTEN_ADDR=:: karma start karma.conf.cjs --single-run",
  277. "test:karma:firefox": "node bin/ssl_hotfix.js cross-env LISTEN_ADDR=:: Browsers=Firefox karma start karma.conf.cjs --single-run",
  278. "test:karma:server": "node bin/ssl_hotfix.js cross-env karma start karma.conf.cjs",
  279. "test:mocha": "node bin/ssl_hotfix.js mocha test/unit/**/*.js --timeout 30000 --exit",
  280. "version": "npm run build && git add dist && git add package.json"
  281. },
  282. "sideEffects": false,
  283. "type": "module",
  284. "types": "index.d.ts",
  285. "typings": "./index.d.ts",
  286. "unpkg": "dist/axios.min.js",
  287. "version": "1.7.9"
  288. }