package.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. {
  2. "_dependenciesComments": {
  3. "parse5": "Pinned to exact version number because we monkeypatch its internals (see htmltodom.js)"
  4. },
  5. "_from": "jsdom@^16.6.0",
  6. "_id": "jsdom@16.7.0",
  7. "_inBundle": false,
  8. "_integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==",
  9. "_location": "/jsdom",
  10. "_phantomChildren": {
  11. "lodash": "4.17.21",
  12. "punycode": "2.1.1"
  13. },
  14. "_requested": {
  15. "type": "range",
  16. "registry": true,
  17. "raw": "jsdom@^16.6.0",
  18. "name": "jsdom",
  19. "escapedName": "jsdom",
  20. "rawSpec": "^16.6.0",
  21. "saveSpec": null,
  22. "fetchSpec": "^16.6.0"
  23. },
  24. "_requiredBy": [
  25. "/jest-environment-jsdom"
  26. ],
  27. "_resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz",
  28. "_shasum": "918ae71965424b197c819f8183a754e18977b710",
  29. "_spec": "jsdom@^16.6.0",
  30. "_where": "H:\\gs_nuxt\\node_modules\\jest-environment-jsdom",
  31. "browser": {
  32. "canvas": false,
  33. "vm": "./lib/jsdom/vm-shim.js",
  34. "./lib/jsdom/living/websockets/WebSocket-impl.js": "./lib/jsdom/living/websockets/WebSocket-impl-browser.js"
  35. },
  36. "bugs": {
  37. "url": "https://github.com/jsdom/jsdom/issues"
  38. },
  39. "bundleDependencies": false,
  40. "dependencies": {
  41. "abab": "^2.0.5",
  42. "acorn": "^8.2.4",
  43. "acorn-globals": "^6.0.0",
  44. "cssom": "^0.4.4",
  45. "cssstyle": "^2.3.0",
  46. "data-urls": "^2.0.0",
  47. "decimal.js": "^10.2.1",
  48. "domexception": "^2.0.1",
  49. "escodegen": "^2.0.0",
  50. "form-data": "^3.0.0",
  51. "html-encoding-sniffer": "^2.0.1",
  52. "http-proxy-agent": "^4.0.1",
  53. "https-proxy-agent": "^5.0.0",
  54. "is-potential-custom-element-name": "^1.0.1",
  55. "nwsapi": "^2.2.0",
  56. "parse5": "6.0.1",
  57. "saxes": "^5.0.1",
  58. "symbol-tree": "^3.2.4",
  59. "tough-cookie": "^4.0.0",
  60. "w3c-hr-time": "^1.0.2",
  61. "w3c-xmlserializer": "^2.0.0",
  62. "webidl-conversions": "^6.1.0",
  63. "whatwg-encoding": "^1.0.5",
  64. "whatwg-mimetype": "^2.3.0",
  65. "whatwg-url": "^8.5.0",
  66. "ws": "^7.4.6",
  67. "xml-name-validator": "^3.0.0"
  68. },
  69. "deprecated": false,
  70. "description": "A JavaScript implementation of many web standards",
  71. "devDependencies": {
  72. "@domenic/eslint-config": "^1.2.0",
  73. "benchmark": "^2.1.4",
  74. "browserify": "^17.0.0",
  75. "chai": "^4.3.4",
  76. "eslint": "^7.27.0",
  77. "eslint-plugin-html": "^6.1.2",
  78. "eslint-plugin-jsdom-internal": "link:./scripts/eslint-plugin",
  79. "js-yaml": "^4.1.0",
  80. "karma": "^6.3.2",
  81. "karma-browserify": "^8.0.0",
  82. "karma-chrome-launcher": "^3.1.0",
  83. "karma-mocha": "^2.0.1",
  84. "karma-mocha-webworker": "^1.3.0",
  85. "minimatch": "^3.0.4",
  86. "mocha": "^8.4.0",
  87. "mocha-sugar-free": "^1.4.0",
  88. "optimist": "0.6.1",
  89. "rimraf": "^3.0.2",
  90. "server-destroy": "^1.0.1",
  91. "watchify": "^4.0.0",
  92. "wd": "^1.14.0",
  93. "webidl2js": "^16.2.0"
  94. },
  95. "engines": {
  96. "node": ">=10"
  97. },
  98. "homepage": "https://github.com/jsdom/jsdom#readme",
  99. "keywords": [
  100. "dom",
  101. "html",
  102. "whatwg",
  103. "w3c"
  104. ],
  105. "license": "MIT",
  106. "main": "./lib/api.js",
  107. "maintainers": [
  108. {
  109. "name": "Elijah Insua",
  110. "email": "tmpvar@gmail.com",
  111. "url": "http://tmpvar.com"
  112. },
  113. {
  114. "name": "Domenic Denicola",
  115. "email": "d@domenic.me",
  116. "url": "https://domenic.me/"
  117. },
  118. {
  119. "name": "Sebastian Mayr",
  120. "email": "sebmaster16@gmail.com",
  121. "url": "https://blog.smayr.name/"
  122. },
  123. {
  124. "name": "Joris van der Wel",
  125. "email": "joris@jorisvanderwel.com"
  126. },
  127. {
  128. "name": "Timothy Gu",
  129. "email": "timothygu99@gmail.com",
  130. "url": "https://timothygu.me/"
  131. },
  132. {
  133. "name": "Magne Andersson",
  134. "email": "code@zirro.se",
  135. "url": "https://zirro.se/"
  136. },
  137. {
  138. "name": "Pierre-Marie Dartus",
  139. "email": "dartus.pierremarie@gmail.com"
  140. }
  141. ],
  142. "name": "jsdom",
  143. "peerDependencies": {
  144. "canvas": "^2.5.0"
  145. },
  146. "peerDependenciesMeta": {
  147. "canvas": {
  148. "optional": true
  149. }
  150. },
  151. "repository": {
  152. "type": "git",
  153. "url": "git+https://github.com/jsdom/jsdom.git"
  154. },
  155. "scripts": {
  156. "benchmark": "node ./benchmark/runner",
  157. "benchmark-browser": "node ./benchmark/runner --bundle",
  158. "convert-idl": "node ./scripts/webidl/convert.js",
  159. "generate-js-globals": "node ./scripts/generate-js-globals.js",
  160. "init-wpt": "git submodule update --init --recursive",
  161. "lint": "eslint . --cache --ext .js,.html",
  162. "prepare": "yarn convert-idl && yarn generate-js-globals",
  163. "pretest": "yarn prepare && yarn init-wpt",
  164. "reset-wpt": "rimraf ./test/web-platform-tests/tests && yarn init-wpt",
  165. "test": "mocha test/index.js",
  166. "test-api": "mocha test/api",
  167. "test-browser": "yarn test-browser-iframe && yarn test-browser-worker",
  168. "test-browser-iframe": "karma start test/karma.conf.js",
  169. "test-browser-worker": "karma start test/karma-webworker.conf.js",
  170. "test-mocha": "mocha",
  171. "test-tuwpt": "mocha test/web-platform-tests/run-tuwpts.js",
  172. "test-wpt": "mocha test/web-platform-tests/run-wpts.js",
  173. "update-authors": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.txt",
  174. "update-wpt": "git submodule update --recursive --remote && cd test/web-platform-tests/tests && python3 wpt.py manifest --path ../wpt-manifest.json"
  175. },
  176. "version": "16.7.0"
  177. }