package.json 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. {
  2. "name": "es-iterator-helpers",
  3. "version": "1.0.15",
  4. "description": "An ESnext spec-compliant iterator helpers shim/polyfill/replacement that works as far down as ES3.",
  5. "main": "index.json",
  6. "exports": {
  7. ".": "./index.json",
  8. "./auto": "./auto.js",
  9. "./shim": "./shim.js",
  10. "./Iterator": "./Iterator/index.js",
  11. "./Iterator/auto": "./Iterator/auto.js",
  12. "./Iterator/polyfill": "./Iterator/polyfill.js",
  13. "./Iterator/implementation": "./Iterator/implementation.js",
  14. "./Iterator/shim": "./Iterator/shim.js",
  15. "./Iterator.prototype": "./Iterator.prototype/index.js",
  16. "./Iterator.prototype/auto": "./Iterator.prototype/auto.js",
  17. "./Iterator.prototype/polyfill": "./Iterator.prototype/polyfill.js",
  18. "./Iterator.prototype/implementation": "./Iterator.prototype/implementation.js",
  19. "./Iterator.prototype/shim": "./Iterator.prototype/shim.js",
  20. "./Iterator.from": "./Iterator.from/index.js",
  21. "./Iterator.from/auto": "./Iterator.from/auto.js",
  22. "./Iterator.from/polyfill": "./Iterator.from/polyfill.js",
  23. "./Iterator.from/implementation": "./Iterator.from/implementation.js",
  24. "./Iterator.from/shim": "./Iterator.from/shim.js",
  25. "./Iterator.prototype.constructor": "./Iterator.prototype.constructor/index.js",
  26. "./Iterator.prototype.constructor/auto": "./Iterator.prototype.constructor/auto.js",
  27. "./Iterator.prototype.constructor/polyfill": "./Iterator.prototype.constructor/polyfill.js",
  28. "./Iterator.prototype.constructor/implementation": "./Iterator.prototype.constructor/implementation.js",
  29. "./Iterator.prototype.constructor/shim": "./Iterator.prototype.constructor/shim.js",
  30. "./Iterator.prototype.map": "./Iterator.prototype.map/index.js",
  31. "./Iterator.prototype.map/auto": "./Iterator.prototype.map/auto.js",
  32. "./Iterator.prototype.map/polyfill": "./Iterator.prototype.map/polyfill.js",
  33. "./Iterator.prototype.map/implementation": "./Iterator.prototype.map/implementation.js",
  34. "./Iterator.prototype.map/shim": "./Iterator.prototype.map/shim.js",
  35. "./Iterator.prototype.filter": "./Iterator.prototype.filter/index.js",
  36. "./Iterator.prototype.filter/auto": "./Iterator.prototype.filter/auto.js",
  37. "./Iterator.prototype.filter/polyfill": "./Iterator.prototype.filter/polyfill.js",
  38. "./Iterator.prototype.filter/implementation": "./Iterator.prototype.filter/implementation.js",
  39. "./Iterator.prototype.filter/shim": "./Iterator.prototype.filter/shim.js",
  40. "./Iterator.prototype.take": "./Iterator.prototype.take/index.js",
  41. "./Iterator.prototype.take/auto": "./Iterator.prototype.take/auto.js",
  42. "./Iterator.prototype.take/polyfill": "./Iterator.prototype.take/polyfill.js",
  43. "./Iterator.prototype.take/implementation": "./Iterator.prototype.take/implementation.js",
  44. "./Iterator.prototype.take/shim": "./Iterator.prototype.take/shim.js",
  45. "./Iterator.prototype.drop": "./Iterator.prototype.drop/index.js",
  46. "./Iterator.prototype.drop/auto": "./Iterator.prototype.drop/auto.js",
  47. "./Iterator.prototype.drop/polyfill": "./Iterator.prototype.drop/polyfill.js",
  48. "./Iterator.prototype.drop/implementation": "./Iterator.prototype.drop/implementation.js",
  49. "./Iterator.prototype.drop/shim": "./Iterator.prototype.drop/shim.js",
  50. "./Iterator.prototype.flatMap": "./Iterator.prototype.flatMap/index.js",
  51. "./Iterator.prototype.flatMap/auto": "./Iterator.prototype.flatMap/auto.js",
  52. "./Iterator.prototype.flatMap/polyfill": "./Iterator.prototype.flatMap/polyfill.js",
  53. "./Iterator.prototype.flatMap/implementation": "./Iterator.prototype.flatMap/implementation.js",
  54. "./Iterator.prototype.flatMap/shim": "./Iterator.prototype.flatMap/shim.js",
  55. "./Iterator.prototype.reduce": "./Iterator.prototype.reduce/index.js",
  56. "./Iterator.prototype.reduce/auto": "./Iterator.prototype.reduce/auto.js",
  57. "./Iterator.prototype.reduce/polyfill": "./Iterator.prototype.reduce/polyfill.js",
  58. "./Iterator.prototype.reduce/implementation": "./Iterator.prototype.reduce/implementation.js",
  59. "./Iterator.prototype.reduce/shim": "./Iterator.prototype.reduce/shim.js",
  60. "./Iterator.prototype.toArray": "./Iterator.prototype.toArray/index.js",
  61. "./Iterator.prototype.toArray/auto": "./Iterator.prototype.toArray/auto.js",
  62. "./Iterator.prototype.toArray/polyfill": "./Iterator.prototype.toArray/polyfill.js",
  63. "./Iterator.prototype.toArray/implementation": "./Iterator.prototype.toArray/implementation.js",
  64. "./Iterator.prototype.toArray/shim": "./Iterator.prototype.toArray/shim.js",
  65. "./Iterator.prototype.forEach": "./Iterator.prototype.forEach/index.js",
  66. "./Iterator.prototype.forEach/auto": "./Iterator.prototype.forEach/auto.js",
  67. "./Iterator.prototype.forEach/polyfill": "./Iterator.prototype.forEach/polyfill.js",
  68. "./Iterator.prototype.forEach/implementation": "./Iterator.prototype.forEach/implementation.js",
  69. "./Iterator.prototype.forEach/shim": "./Iterator.prototype.forEach/shim.js",
  70. "./Iterator.prototype.some": "./Iterator.prototype.some/index.js",
  71. "./Iterator.prototype.some/auto": "./Iterator.prototype.some/auto.js",
  72. "./Iterator.prototype.some/polyfill": "./Iterator.prototype.some/polyfill.js",
  73. "./Iterator.prototype.some/implementation": "./Iterator.prototype.some/implementation.js",
  74. "./Iterator.prototype.some/shim": "./Iterator.prototype.some/shim.js",
  75. "./Iterator.prototype.every": "./Iterator.prototype.every/index.js",
  76. "./Iterator.prototype.every/auto": "./Iterator.prototype.every/auto.js",
  77. "./Iterator.prototype.every/polyfill": "./Iterator.prototype.every/polyfill.js",
  78. "./Iterator.prototype.every/implementation": "./Iterator.prototype.every/implementation.js",
  79. "./Iterator.prototype.every/shim": "./Iterator.prototype.every/shim.js",
  80. "./Iterator.prototype.find": "./Iterator.prototype.find/index.js",
  81. "./Iterator.prototype.find/auto": "./Iterator.prototype.find/auto.js",
  82. "./Iterator.prototype.find/polyfill": "./Iterator.prototype.find/polyfill.js",
  83. "./Iterator.prototype.find/implementation": "./Iterator.prototype.find/implementation.js",
  84. "./Iterator.prototype.find/shim": "./Iterator.prototype.find/shim.js",
  85. "./package.json": "./package.json"
  86. },
  87. "scripts": {
  88. "prepack": "npmignore --auto --commentLines=autogenerated",
  89. "prepublishOnly": "safe-publish-latest",
  90. "prepublish": "not-in-publish || npm run prepublishOnly",
  91. "prelint": "es-shim-api --bound --multi --ignore-dirs=WrapForValidIteratorPrototype,IteratorHelperPrototype",
  92. "lint": "eslint --ext=js,mjs .",
  93. "postlint": "evalmd README.md",
  94. "pretest": "npm run lint",
  95. "test": "npm run tests-only",
  96. "tests-only": "nyc tape 'test/**/*.js'",
  97. "posttest": "aud --production",
  98. "version": "auto-changelog && git add CHANGELOG.md",
  99. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  100. },
  101. "repository": {
  102. "type": "git",
  103. "url": "git+https://github.com/es-shims/iterator-helpers.git"
  104. },
  105. "keywords": [
  106. "javascript",
  107. "ecmascript",
  108. "polyfill",
  109. "shim",
  110. "es-shims",
  111. "es-shim API",
  112. "Iterator",
  113. "helpers",
  114. "from",
  115. "map",
  116. "filter",
  117. "take",
  118. "drop",
  119. "flatMap",
  120. "reduce",
  121. "toArray",
  122. "forEach",
  123. "some",
  124. "every",
  125. "find"
  126. ],
  127. "author": "Jordan Harband <ljharb@gmail.com>",
  128. "license": "MIT",
  129. "bugs": {
  130. "url": "https://github.com/es-shims/iterator-helpers/issues"
  131. },
  132. "homepage": "https://github.com/es-shims/iterator-helpers#readme",
  133. "dependencies": {
  134. "asynciterator.prototype": "^1.0.0",
  135. "call-bind": "^1.0.2",
  136. "define-properties": "^1.2.1",
  137. "es-abstract": "^1.22.1",
  138. "es-set-tostringtag": "^2.0.1",
  139. "function-bind": "^1.1.1",
  140. "get-intrinsic": "^1.2.1",
  141. "globalthis": "^1.0.3",
  142. "has-property-descriptors": "^1.0.0",
  143. "has-proto": "^1.0.1",
  144. "has-symbols": "^1.0.3",
  145. "internal-slot": "^1.0.5",
  146. "iterator.prototype": "^1.1.2",
  147. "safe-array-concat": "^1.0.1"
  148. },
  149. "devDependencies": {
  150. "@es-shims/api": "^2.4.2",
  151. "@ljharb/eslint-config": "^21.1.0",
  152. "aud": "^2.0.3",
  153. "auto-changelog": "^2.4.0",
  154. "es-value-fixtures": "^1.4.2",
  155. "eslint": "=8.8.0",
  156. "eslint-plugin-import": "^2.28.1",
  157. "evalmd": "^0.0.19",
  158. "for-each": "^0.3.3",
  159. "functions-have-names": "^1.2.3",
  160. "has-strict-mode": "^1.0.1",
  161. "has-tostringtag": "^1.0.0",
  162. "in-publish": "^2.0.1",
  163. "iterate-iterator": "^1.0.2",
  164. "make-generator-function": "^2.0.0",
  165. "mock-property": "^1.0.0",
  166. "npmignore": "^0.3.0",
  167. "nyc": "^10.3.2",
  168. "object-inspect": "^1.12.3",
  169. "safe-publish-latest": "^2.0.0",
  170. "tape": "^5.6.6"
  171. },
  172. "auto-changelog": {
  173. "output": "CHANGELOG.md",
  174. "template": "keepachangelog",
  175. "unreleased": false,
  176. "commitLimit": false,
  177. "backfillLimit": false,
  178. "hideCredit": true
  179. },
  180. "publishConfig": {
  181. "ignore": [
  182. ".github/workflows"
  183. ]
  184. }
  185. }