noodleseed-cli 0.1.15 → 0.1.16

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.
Files changed (558) hide show
  1. package/dist/cli.js +3 -3
  2. package/dist/cli.js.map +1 -1
  3. package/dist/project.d.ts +1 -1
  4. package/dist/project.d.ts.map +1 -1
  5. package/dist/project.js +103 -3
  6. package/dist/project.js.map +1 -1
  7. package/node_modules/@modelcontextprotocol/sdk/package.json +0 -2
  8. package/node_modules/@noodle-borg/authoring/dist/index.d.ts +3 -2
  9. package/node_modules/@noodle-borg/authoring/dist/index.d.ts.map +1 -1
  10. package/node_modules/@noodle-borg/authoring/dist/index.js +2 -1
  11. package/node_modules/@noodle-borg/authoring/dist/index.js.map +1 -1
  12. package/node_modules/@noodle-borg/compiler/dist/compile.d.ts.map +1 -1
  13. package/node_modules/@noodle-borg/compiler/dist/compile.js +30 -2
  14. package/node_modules/@noodle-borg/compiler/dist/compile.js.map +1 -1
  15. package/node_modules/@noodle-borg/compiler/dist/index.d.ts +1 -0
  16. package/node_modules/@noodle-borg/compiler/dist/index.d.ts.map +1 -1
  17. package/node_modules/@noodle-borg/compiler/dist/index.js +1 -0
  18. package/node_modules/@noodle-borg/compiler/dist/index.js.map +1 -1
  19. package/node_modules/@noodle-borg/compiler/dist/manifest/schema.d.ts +14866 -2
  20. package/node_modules/@noodle-borg/compiler/dist/manifest/schema.d.ts.map +1 -1
  21. package/node_modules/@noodle-borg/compiler/dist/manifest/schema.js +12 -2
  22. package/node_modules/@noodle-borg/compiler/dist/manifest/schema.js.map +1 -1
  23. package/node_modules/@noodle-borg/compiler/dist/widget-ui.d.ts +95 -0
  24. package/node_modules/@noodle-borg/compiler/dist/widget-ui.d.ts.map +1 -0
  25. package/node_modules/@noodle-borg/compiler/dist/widget-ui.js +177 -0
  26. package/node_modules/@noodle-borg/compiler/dist/widget-ui.js.map +1 -0
  27. package/node_modules/@noodle-borg/compiler/node_modules/.bin/yaml +3 -3
  28. package/node_modules/@noodle-borg/connector-defs/node_modules/.bin/yaml +3 -3
  29. package/node_modules/@noodle-borg/protocol/dist/widget/bootstrap.d.ts.map +1 -1
  30. package/node_modules/@noodle-borg/protocol/dist/widget/bootstrap.js +60 -3
  31. package/node_modules/@noodle-borg/protocol/dist/widget/bootstrap.js.map +1 -1
  32. package/node_modules/@noodle-borg/service/package.json +0 -1
  33. package/node_modules/cors/package.json +0 -1
  34. package/node_modules/cross-spawn/node_modules/.bin/node-which +3 -3
  35. package/package.json +1 -56
  36. package/node_modules/accepts/HISTORY.md +0 -250
  37. package/node_modules/accepts/LICENSE +0 -23
  38. package/node_modules/accepts/README.md +0 -140
  39. package/node_modules/accepts/index.js +0 -238
  40. package/node_modules/accepts/package.json +0 -47
  41. package/node_modules/body-parser/LICENSE +0 -23
  42. package/node_modules/body-parser/README.md +0 -494
  43. package/node_modules/body-parser/index.js +0 -71
  44. package/node_modules/body-parser/lib/read.js +0 -247
  45. package/node_modules/body-parser/lib/types/json.js +0 -158
  46. package/node_modules/body-parser/lib/types/raw.js +0 -42
  47. package/node_modules/body-parser/lib/types/text.js +0 -36
  48. package/node_modules/body-parser/lib/types/urlencoded.js +0 -142
  49. package/node_modules/body-parser/lib/utils.js +0 -98
  50. package/node_modules/body-parser/package.json +0 -52
  51. package/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  52. package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  53. package/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  54. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  55. package/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  56. package/node_modules/call-bind-apply-helpers/README.md +0 -62
  57. package/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  58. package/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  59. package/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  60. package/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  61. package/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  62. package/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  63. package/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  64. package/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  65. package/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  66. package/node_modules/call-bind-apply-helpers/index.js +0 -15
  67. package/node_modules/call-bind-apply-helpers/package.json +0 -85
  68. package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  69. package/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  70. package/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  71. package/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  72. package/node_modules/call-bound/.eslintrc +0 -13
  73. package/node_modules/call-bound/.github/FUNDING.yml +0 -12
  74. package/node_modules/call-bound/.nycrc +0 -9
  75. package/node_modules/call-bound/CHANGELOG.md +0 -42
  76. package/node_modules/call-bound/LICENSE +0 -21
  77. package/node_modules/call-bound/README.md +0 -53
  78. package/node_modules/call-bound/index.d.ts +0 -94
  79. package/node_modules/call-bound/index.js +0 -19
  80. package/node_modules/call-bound/package.json +0 -99
  81. package/node_modules/call-bound/test/index.js +0 -61
  82. package/node_modules/call-bound/tsconfig.json +0 -10
  83. package/node_modules/content-disposition/LICENSE +0 -22
  84. package/node_modules/content-disposition/README.md +0 -141
  85. package/node_modules/content-disposition/index.js +0 -536
  86. package/node_modules/content-disposition/package.json +0 -40
  87. package/node_modules/cookie/LICENSE +0 -24
  88. package/node_modules/cookie/README.md +0 -317
  89. package/node_modules/cookie/SECURITY.md +0 -25
  90. package/node_modules/cookie/index.js +0 -335
  91. package/node_modules/cookie/package.json +0 -44
  92. package/node_modules/cookie-signature/History.md +0 -70
  93. package/node_modules/cookie-signature/LICENSE +0 -22
  94. package/node_modules/cookie-signature/Readme.md +0 -23
  95. package/node_modules/cookie-signature/index.js +0 -47
  96. package/node_modules/cookie-signature/package.json +0 -28
  97. package/node_modules/debug/LICENSE +0 -20
  98. package/node_modules/debug/README.md +0 -481
  99. package/node_modules/debug/package.json +0 -64
  100. package/node_modules/debug/src/browser.js +0 -272
  101. package/node_modules/debug/src/common.js +0 -292
  102. package/node_modules/debug/src/index.js +0 -10
  103. package/node_modules/debug/src/node.js +0 -263
  104. package/node_modules/dunder-proto/.eslintrc +0 -5
  105. package/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  106. package/node_modules/dunder-proto/.nycrc +0 -13
  107. package/node_modules/dunder-proto/CHANGELOG.md +0 -24
  108. package/node_modules/dunder-proto/LICENSE +0 -21
  109. package/node_modules/dunder-proto/README.md +0 -54
  110. package/node_modules/dunder-proto/get.d.ts +0 -5
  111. package/node_modules/dunder-proto/get.js +0 -30
  112. package/node_modules/dunder-proto/package.json +0 -76
  113. package/node_modules/dunder-proto/set.d.ts +0 -5
  114. package/node_modules/dunder-proto/set.js +0 -35
  115. package/node_modules/dunder-proto/test/get.js +0 -34
  116. package/node_modules/dunder-proto/test/index.js +0 -4
  117. package/node_modules/dunder-proto/test/set.js +0 -50
  118. package/node_modules/dunder-proto/tsconfig.json +0 -9
  119. package/node_modules/ee-first/LICENSE +0 -22
  120. package/node_modules/ee-first/README.md +0 -80
  121. package/node_modules/ee-first/index.js +0 -95
  122. package/node_modules/ee-first/package.json +0 -29
  123. package/node_modules/encodeurl/LICENSE +0 -22
  124. package/node_modules/encodeurl/README.md +0 -109
  125. package/node_modules/encodeurl/index.js +0 -60
  126. package/node_modules/encodeurl/package.json +0 -40
  127. package/node_modules/es-define-property/.eslintrc +0 -13
  128. package/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  129. package/node_modules/es-define-property/.nycrc +0 -9
  130. package/node_modules/es-define-property/CHANGELOG.md +0 -29
  131. package/node_modules/es-define-property/LICENSE +0 -21
  132. package/node_modules/es-define-property/README.md +0 -49
  133. package/node_modules/es-define-property/index.d.ts +0 -3
  134. package/node_modules/es-define-property/index.js +0 -14
  135. package/node_modules/es-define-property/package.json +0 -81
  136. package/node_modules/es-define-property/test/index.js +0 -56
  137. package/node_modules/es-define-property/tsconfig.json +0 -10
  138. package/node_modules/es-errors/.eslintrc +0 -5
  139. package/node_modules/es-errors/.github/FUNDING.yml +0 -12
  140. package/node_modules/es-errors/CHANGELOG.md +0 -40
  141. package/node_modules/es-errors/LICENSE +0 -21
  142. package/node_modules/es-errors/README.md +0 -55
  143. package/node_modules/es-errors/eval.d.ts +0 -3
  144. package/node_modules/es-errors/eval.js +0 -4
  145. package/node_modules/es-errors/index.d.ts +0 -3
  146. package/node_modules/es-errors/index.js +0 -4
  147. package/node_modules/es-errors/package.json +0 -80
  148. package/node_modules/es-errors/range.d.ts +0 -3
  149. package/node_modules/es-errors/range.js +0 -4
  150. package/node_modules/es-errors/ref.d.ts +0 -3
  151. package/node_modules/es-errors/ref.js +0 -4
  152. package/node_modules/es-errors/syntax.d.ts +0 -3
  153. package/node_modules/es-errors/syntax.js +0 -4
  154. package/node_modules/es-errors/test/index.js +0 -19
  155. package/node_modules/es-errors/tsconfig.json +0 -49
  156. package/node_modules/es-errors/type.d.ts +0 -3
  157. package/node_modules/es-errors/type.js +0 -4
  158. package/node_modules/es-errors/uri.d.ts +0 -3
  159. package/node_modules/es-errors/uri.js +0 -4
  160. package/node_modules/es-object-atoms/.eslintrc +0 -16
  161. package/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  162. package/node_modules/es-object-atoms/CHANGELOG.md +0 -44
  163. package/node_modules/es-object-atoms/LICENSE +0 -21
  164. package/node_modules/es-object-atoms/README.md +0 -63
  165. package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  166. package/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  167. package/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  168. package/node_modules/es-object-atoms/ToObject.js +0 -10
  169. package/node_modules/es-object-atoms/index.d.ts +0 -3
  170. package/node_modules/es-object-atoms/index.js +0 -4
  171. package/node_modules/es-object-atoms/isObject.d.ts +0 -3
  172. package/node_modules/es-object-atoms/isObject.js +0 -6
  173. package/node_modules/es-object-atoms/package.json +0 -79
  174. package/node_modules/es-object-atoms/test/index.js +0 -38
  175. package/node_modules/es-object-atoms/tsconfig.json +0 -7
  176. package/node_modules/escape-html/LICENSE +0 -24
  177. package/node_modules/escape-html/Readme.md +0 -43
  178. package/node_modules/escape-html/index.js +0 -78
  179. package/node_modules/escape-html/package.json +0 -24
  180. package/node_modules/etag/HISTORY.md +0 -83
  181. package/node_modules/etag/LICENSE +0 -22
  182. package/node_modules/etag/README.md +0 -159
  183. package/node_modules/etag/index.js +0 -131
  184. package/node_modules/etag/package.json +0 -47
  185. package/node_modules/express/LICENSE +0 -24
  186. package/node_modules/express/Readme.md +0 -276
  187. package/node_modules/express/index.js +0 -11
  188. package/node_modules/express/lib/application.js +0 -631
  189. package/node_modules/express/lib/express.js +0 -81
  190. package/node_modules/express/lib/request.js +0 -514
  191. package/node_modules/express/lib/response.js +0 -1053
  192. package/node_modules/express/lib/utils.js +0 -271
  193. package/node_modules/express/lib/view.js +0 -205
  194. package/node_modules/express/package.json +0 -99
  195. package/node_modules/express-rate-limit/dist/index.cjs +0 -1016
  196. package/node_modules/express-rate-limit/dist/index.d.cts +0 -672
  197. package/node_modules/express-rate-limit/dist/index.d.mts +0 -672
  198. package/node_modules/express-rate-limit/dist/index.d.ts +0 -672
  199. package/node_modules/express-rate-limit/dist/index.mjs +0 -986
  200. package/node_modules/express-rate-limit/license.md +0 -20
  201. package/node_modules/express-rate-limit/package.json +0 -113
  202. package/node_modules/express-rate-limit/readme.md +0 -139
  203. package/node_modules/express-rate-limit/tsconfig.json +0 -8
  204. package/node_modules/finalhandler/HISTORY.md +0 -239
  205. package/node_modules/finalhandler/LICENSE +0 -22
  206. package/node_modules/finalhandler/README.md +0 -150
  207. package/node_modules/finalhandler/index.js +0 -293
  208. package/node_modules/finalhandler/package.json +0 -47
  209. package/node_modules/forwarded/HISTORY.md +0 -21
  210. package/node_modules/forwarded/LICENSE +0 -22
  211. package/node_modules/forwarded/README.md +0 -57
  212. package/node_modules/forwarded/index.js +0 -90
  213. package/node_modules/forwarded/package.json +0 -45
  214. package/node_modules/fresh/HISTORY.md +0 -80
  215. package/node_modules/fresh/LICENSE +0 -23
  216. package/node_modules/fresh/README.md +0 -117
  217. package/node_modules/fresh/index.js +0 -136
  218. package/node_modules/fresh/package.json +0 -46
  219. package/node_modules/function-bind/.eslintrc +0 -21
  220. package/node_modules/function-bind/.github/FUNDING.yml +0 -12
  221. package/node_modules/function-bind/.github/SECURITY.md +0 -3
  222. package/node_modules/function-bind/.nycrc +0 -13
  223. package/node_modules/function-bind/CHANGELOG.md +0 -136
  224. package/node_modules/function-bind/LICENSE +0 -20
  225. package/node_modules/function-bind/README.md +0 -46
  226. package/node_modules/function-bind/implementation.js +0 -84
  227. package/node_modules/function-bind/index.js +0 -5
  228. package/node_modules/function-bind/package.json +0 -87
  229. package/node_modules/function-bind/test/.eslintrc +0 -9
  230. package/node_modules/function-bind/test/index.js +0 -252
  231. package/node_modules/get-intrinsic/.eslintrc +0 -42
  232. package/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  233. package/node_modules/get-intrinsic/.nycrc +0 -9
  234. package/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  235. package/node_modules/get-intrinsic/LICENSE +0 -21
  236. package/node_modules/get-intrinsic/README.md +0 -71
  237. package/node_modules/get-intrinsic/index.js +0 -378
  238. package/node_modules/get-intrinsic/package.json +0 -97
  239. package/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  240. package/node_modules/get-proto/.eslintrc +0 -10
  241. package/node_modules/get-proto/.github/FUNDING.yml +0 -12
  242. package/node_modules/get-proto/.nycrc +0 -9
  243. package/node_modules/get-proto/CHANGELOG.md +0 -21
  244. package/node_modules/get-proto/LICENSE +0 -21
  245. package/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  246. package/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  247. package/node_modules/get-proto/README.md +0 -50
  248. package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  249. package/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  250. package/node_modules/get-proto/index.d.ts +0 -5
  251. package/node_modules/get-proto/index.js +0 -27
  252. package/node_modules/get-proto/package.json +0 -81
  253. package/node_modules/get-proto/test/index.js +0 -68
  254. package/node_modules/get-proto/tsconfig.json +0 -9
  255. package/node_modules/gopd/.eslintrc +0 -16
  256. package/node_modules/gopd/.github/FUNDING.yml +0 -12
  257. package/node_modules/gopd/CHANGELOG.md +0 -45
  258. package/node_modules/gopd/LICENSE +0 -21
  259. package/node_modules/gopd/README.md +0 -40
  260. package/node_modules/gopd/gOPD.d.ts +0 -1
  261. package/node_modules/gopd/gOPD.js +0 -4
  262. package/node_modules/gopd/index.d.ts +0 -5
  263. package/node_modules/gopd/index.js +0 -15
  264. package/node_modules/gopd/package.json +0 -77
  265. package/node_modules/gopd/test/index.js +0 -36
  266. package/node_modules/gopd/tsconfig.json +0 -9
  267. package/node_modules/has-symbols/.eslintrc +0 -11
  268. package/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  269. package/node_modules/has-symbols/.nycrc +0 -9
  270. package/node_modules/has-symbols/CHANGELOG.md +0 -91
  271. package/node_modules/has-symbols/LICENSE +0 -21
  272. package/node_modules/has-symbols/README.md +0 -46
  273. package/node_modules/has-symbols/index.d.ts +0 -3
  274. package/node_modules/has-symbols/index.js +0 -14
  275. package/node_modules/has-symbols/package.json +0 -111
  276. package/node_modules/has-symbols/shams.d.ts +0 -3
  277. package/node_modules/has-symbols/shams.js +0 -45
  278. package/node_modules/has-symbols/test/index.js +0 -22
  279. package/node_modules/has-symbols/test/shams/core-js.js +0 -29
  280. package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  281. package/node_modules/has-symbols/test/tests.js +0 -58
  282. package/node_modules/has-symbols/tsconfig.json +0 -10
  283. package/node_modules/hasown/.github/FUNDING.yml +0 -12
  284. package/node_modules/hasown/.nycrc +0 -13
  285. package/node_modules/hasown/CHANGELOG.md +0 -58
  286. package/node_modules/hasown/LICENSE +0 -21
  287. package/node_modules/hasown/README.md +0 -40
  288. package/node_modules/hasown/eslint.config.mjs +0 -6
  289. package/node_modules/hasown/index.d.ts +0 -3
  290. package/node_modules/hasown/index.js +0 -8
  291. package/node_modules/hasown/package.json +0 -91
  292. package/node_modules/hasown/tsconfig.json +0 -6
  293. package/node_modules/ip-address/LICENSE +0 -19
  294. package/node_modules/ip-address/README.md +0 -278
  295. package/node_modules/ip-address/dist/address-error.d.ts +0 -4
  296. package/node_modules/ip-address/dist/address-error.js +0 -12
  297. package/node_modules/ip-address/dist/address-error.js.map +0 -1
  298. package/node_modules/ip-address/dist/common.d.ts +0 -20
  299. package/node_modules/ip-address/dist/common.js +0 -67
  300. package/node_modules/ip-address/dist/common.js.map +0 -1
  301. package/node_modules/ip-address/dist/ip-address.d.ts +0 -7
  302. package/node_modules/ip-address/dist/ip-address.js +0 -35
  303. package/node_modules/ip-address/dist/ip-address.js.map +0 -1
  304. package/node_modules/ip-address/dist/ipv4.d.ts +0 -267
  305. package/node_modules/ip-address/dist/ipv4.js +0 -485
  306. package/node_modules/ip-address/dist/ipv4.js.map +0 -1
  307. package/node_modules/ip-address/dist/ipv6.d.ts +0 -489
  308. package/node_modules/ip-address/dist/ipv6.js +0 -1217
  309. package/node_modules/ip-address/dist/ipv6.js.map +0 -1
  310. package/node_modules/ip-address/dist/v4/constants.d.ts +0 -4
  311. package/node_modules/ip-address/dist/v4/constants.js +0 -8
  312. package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
  313. package/node_modules/ip-address/dist/v6/constants.d.ts +0 -44
  314. package/node_modules/ip-address/dist/v6/constants.js +0 -81
  315. package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
  316. package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
  317. package/node_modules/ip-address/dist/v6/helpers.js +0 -54
  318. package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
  319. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -5
  320. package/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  321. package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
  322. package/node_modules/ip-address/package.json +0 -88
  323. package/node_modules/is-promise/LICENSE +0 -19
  324. package/node_modules/is-promise/index.d.ts +0 -2
  325. package/node_modules/is-promise/index.js +0 -6
  326. package/node_modules/is-promise/index.mjs +0 -3
  327. package/node_modules/is-promise/package.json +0 -30
  328. package/node_modules/is-promise/readme.md +0 -33
  329. package/node_modules/math-intrinsics/.eslintrc +0 -16
  330. package/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  331. package/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  332. package/node_modules/math-intrinsics/LICENSE +0 -21
  333. package/node_modules/math-intrinsics/README.md +0 -50
  334. package/node_modules/math-intrinsics/abs.d.ts +0 -1
  335. package/node_modules/math-intrinsics/abs.js +0 -4
  336. package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  337. package/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  338. package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  339. package/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  340. package/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  341. package/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  342. package/node_modules/math-intrinsics/floor.d.ts +0 -1
  343. package/node_modules/math-intrinsics/floor.js +0 -4
  344. package/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  345. package/node_modules/math-intrinsics/isFinite.js +0 -12
  346. package/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  347. package/node_modules/math-intrinsics/isInteger.js +0 -16
  348. package/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  349. package/node_modules/math-intrinsics/isNaN.js +0 -6
  350. package/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  351. package/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  352. package/node_modules/math-intrinsics/max.d.ts +0 -1
  353. package/node_modules/math-intrinsics/max.js +0 -4
  354. package/node_modules/math-intrinsics/min.d.ts +0 -1
  355. package/node_modules/math-intrinsics/min.js +0 -4
  356. package/node_modules/math-intrinsics/mod.d.ts +0 -3
  357. package/node_modules/math-intrinsics/mod.js +0 -9
  358. package/node_modules/math-intrinsics/package.json +0 -86
  359. package/node_modules/math-intrinsics/pow.d.ts +0 -1
  360. package/node_modules/math-intrinsics/pow.js +0 -4
  361. package/node_modules/math-intrinsics/round.d.ts +0 -1
  362. package/node_modules/math-intrinsics/round.js +0 -4
  363. package/node_modules/math-intrinsics/sign.d.ts +0 -3
  364. package/node_modules/math-intrinsics/sign.js +0 -11
  365. package/node_modules/math-intrinsics/test/index.js +0 -192
  366. package/node_modules/math-intrinsics/tsconfig.json +0 -3
  367. package/node_modules/media-typer/HISTORY.md +0 -50
  368. package/node_modules/media-typer/LICENSE +0 -22
  369. package/node_modules/media-typer/README.md +0 -93
  370. package/node_modules/media-typer/index.js +0 -143
  371. package/node_modules/media-typer/package.json +0 -33
  372. package/node_modules/merge-descriptors/index.d.ts +0 -11
  373. package/node_modules/merge-descriptors/index.js +0 -26
  374. package/node_modules/merge-descriptors/license +0 -11
  375. package/node_modules/merge-descriptors/package.json +0 -50
  376. package/node_modules/merge-descriptors/readme.md +0 -55
  377. package/node_modules/mime-db/HISTORY.md +0 -541
  378. package/node_modules/mime-db/LICENSE +0 -23
  379. package/node_modules/mime-db/README.md +0 -109
  380. package/node_modules/mime-db/db.json +0 -9342
  381. package/node_modules/mime-db/index.js +0 -12
  382. package/node_modules/mime-db/package.json +0 -56
  383. package/node_modules/mime-types/HISTORY.md +0 -428
  384. package/node_modules/mime-types/LICENSE +0 -23
  385. package/node_modules/mime-types/README.md +0 -126
  386. package/node_modules/mime-types/index.js +0 -211
  387. package/node_modules/mime-types/mimeScore.js +0 -57
  388. package/node_modules/mime-types/package.json +0 -49
  389. package/node_modules/ms/index.js +0 -162
  390. package/node_modules/ms/license.md +0 -21
  391. package/node_modules/ms/package.json +0 -38
  392. package/node_modules/ms/readme.md +0 -59
  393. package/node_modules/negotiator/HISTORY.md +0 -114
  394. package/node_modules/negotiator/LICENSE +0 -24
  395. package/node_modules/negotiator/README.md +0 -212
  396. package/node_modules/negotiator/index.js +0 -83
  397. package/node_modules/negotiator/lib/charset.js +0 -169
  398. package/node_modules/negotiator/lib/encoding.js +0 -205
  399. package/node_modules/negotiator/lib/language.js +0 -179
  400. package/node_modules/negotiator/lib/mediaType.js +0 -294
  401. package/node_modules/negotiator/package.json +0 -43
  402. package/node_modules/object-inspect/.eslintrc +0 -53
  403. package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  404. package/node_modules/object-inspect/.nycrc +0 -13
  405. package/node_modules/object-inspect/CHANGELOG.md +0 -424
  406. package/node_modules/object-inspect/LICENSE +0 -21
  407. package/node_modules/object-inspect/example/all.js +0 -23
  408. package/node_modules/object-inspect/example/circular.js +0 -6
  409. package/node_modules/object-inspect/example/fn.js +0 -5
  410. package/node_modules/object-inspect/example/inspect.js +0 -10
  411. package/node_modules/object-inspect/index.js +0 -544
  412. package/node_modules/object-inspect/package-support.json +0 -20
  413. package/node_modules/object-inspect/package.json +0 -105
  414. package/node_modules/object-inspect/readme.markdown +0 -84
  415. package/node_modules/object-inspect/test/bigint.js +0 -58
  416. package/node_modules/object-inspect/test/browser/dom.js +0 -15
  417. package/node_modules/object-inspect/test/circular.js +0 -16
  418. package/node_modules/object-inspect/test/deep.js +0 -12
  419. package/node_modules/object-inspect/test/element.js +0 -53
  420. package/node_modules/object-inspect/test/err.js +0 -48
  421. package/node_modules/object-inspect/test/fakes.js +0 -29
  422. package/node_modules/object-inspect/test/fn.js +0 -76
  423. package/node_modules/object-inspect/test/global.js +0 -17
  424. package/node_modules/object-inspect/test/has.js +0 -15
  425. package/node_modules/object-inspect/test/holes.js +0 -15
  426. package/node_modules/object-inspect/test/indent-option.js +0 -271
  427. package/node_modules/object-inspect/test/inspect.js +0 -139
  428. package/node_modules/object-inspect/test/lowbyte.js +0 -12
  429. package/node_modules/object-inspect/test/number.js +0 -58
  430. package/node_modules/object-inspect/test/quoteStyle.js +0 -26
  431. package/node_modules/object-inspect/test/toStringTag.js +0 -40
  432. package/node_modules/object-inspect/test/undef.js +0 -12
  433. package/node_modules/object-inspect/test/values.js +0 -261
  434. package/node_modules/object-inspect/test-core-js.js +0 -26
  435. package/node_modules/object-inspect/util.inspect.js +0 -1
  436. package/node_modules/on-finished/HISTORY.md +0 -98
  437. package/node_modules/on-finished/LICENSE +0 -23
  438. package/node_modules/on-finished/README.md +0 -162
  439. package/node_modules/on-finished/index.js +0 -234
  440. package/node_modules/on-finished/package.json +0 -39
  441. package/node_modules/once/LICENSE +0 -15
  442. package/node_modules/once/README.md +0 -79
  443. package/node_modules/once/once.js +0 -42
  444. package/node_modules/once/package.json +0 -33
  445. package/node_modules/parseurl/HISTORY.md +0 -58
  446. package/node_modules/parseurl/LICENSE +0 -24
  447. package/node_modules/parseurl/README.md +0 -133
  448. package/node_modules/parseurl/index.js +0 -158
  449. package/node_modules/parseurl/package.json +0 -40
  450. package/node_modules/path-to-regexp/LICENSE +0 -21
  451. package/node_modules/path-to-regexp/Readme.md +0 -224
  452. package/node_modules/path-to-regexp/dist/index.d.ts +0 -147
  453. package/node_modules/path-to-regexp/dist/index.js +0 -431
  454. package/node_modules/path-to-regexp/dist/index.js.map +0 -1
  455. package/node_modules/path-to-regexp/package.json +0 -64
  456. package/node_modules/proxy-addr/HISTORY.md +0 -161
  457. package/node_modules/proxy-addr/LICENSE +0 -22
  458. package/node_modules/proxy-addr/README.md +0 -139
  459. package/node_modules/proxy-addr/index.js +0 -327
  460. package/node_modules/proxy-addr/package.json +0 -47
  461. package/node_modules/qs/.editorconfig +0 -46
  462. package/node_modules/qs/.github/FUNDING.yml +0 -12
  463. package/node_modules/qs/.github/SECURITY.md +0 -11
  464. package/node_modules/qs/.github/THREAT_MODEL.md +0 -78
  465. package/node_modules/qs/.nycrc +0 -13
  466. package/node_modules/qs/CHANGELOG.md +0 -822
  467. package/node_modules/qs/LICENSE.md +0 -29
  468. package/node_modules/qs/README.md +0 -758
  469. package/node_modules/qs/dist/qs.js +0 -141
  470. package/node_modules/qs/eslint.config.mjs +0 -57
  471. package/node_modules/qs/lib/formats.js +0 -23
  472. package/node_modules/qs/lib/index.js +0 -11
  473. package/node_modules/qs/lib/parse.js +0 -403
  474. package/node_modules/qs/lib/stringify.js +0 -363
  475. package/node_modules/qs/lib/utils.js +0 -342
  476. package/node_modules/qs/package.json +0 -94
  477. package/node_modules/qs/test/empty-keys-cases.js +0 -267
  478. package/node_modules/qs/test/parse.js +0 -1703
  479. package/node_modules/qs/test/stringify.js +0 -1448
  480. package/node_modules/qs/test/utils.js +0 -432
  481. package/node_modules/range-parser/HISTORY.md +0 -56
  482. package/node_modules/range-parser/LICENSE +0 -23
  483. package/node_modules/range-parser/README.md +0 -84
  484. package/node_modules/range-parser/index.js +0 -162
  485. package/node_modules/range-parser/package.json +0 -44
  486. package/node_modules/router/HISTORY.md +0 -228
  487. package/node_modules/router/LICENSE +0 -23
  488. package/node_modules/router/README.md +0 -416
  489. package/node_modules/router/index.js +0 -748
  490. package/node_modules/router/lib/layer.js +0 -247
  491. package/node_modules/router/lib/route.js +0 -242
  492. package/node_modules/router/package.json +0 -44
  493. package/node_modules/send/LICENSE +0 -23
  494. package/node_modules/send/README.md +0 -317
  495. package/node_modules/send/index.js +0 -997
  496. package/node_modules/send/package.json +0 -63
  497. package/node_modules/serve-static/LICENSE +0 -25
  498. package/node_modules/serve-static/README.md +0 -253
  499. package/node_modules/serve-static/index.js +0 -208
  500. package/node_modules/serve-static/package.json +0 -44
  501. package/node_modules/side-channel/.editorconfig +0 -9
  502. package/node_modules/side-channel/.eslintrc +0 -12
  503. package/node_modules/side-channel/.github/FUNDING.yml +0 -12
  504. package/node_modules/side-channel/.nycrc +0 -13
  505. package/node_modules/side-channel/CHANGELOG.md +0 -110
  506. package/node_modules/side-channel/LICENSE +0 -21
  507. package/node_modules/side-channel/README.md +0 -61
  508. package/node_modules/side-channel/index.d.ts +0 -14
  509. package/node_modules/side-channel/index.js +0 -43
  510. package/node_modules/side-channel/package.json +0 -85
  511. package/node_modules/side-channel/test/index.js +0 -104
  512. package/node_modules/side-channel/tsconfig.json +0 -9
  513. package/node_modules/side-channel-list/.editorconfig +0 -9
  514. package/node_modules/side-channel-list/.eslintrc +0 -11
  515. package/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
  516. package/node_modules/side-channel-list/.nycrc +0 -13
  517. package/node_modules/side-channel-list/CHANGELOG.md +0 -36
  518. package/node_modules/side-channel-list/LICENSE +0 -21
  519. package/node_modules/side-channel-list/README.md +0 -62
  520. package/node_modules/side-channel-list/index.d.ts +0 -13
  521. package/node_modules/side-channel-list/index.js +0 -111
  522. package/node_modules/side-channel-list/list.d.ts +0 -14
  523. package/node_modules/side-channel-list/package.json +0 -77
  524. package/node_modules/side-channel-list/test/index.js +0 -154
  525. package/node_modules/side-channel-list/tsconfig.json +0 -9
  526. package/node_modules/side-channel-map/.editorconfig +0 -9
  527. package/node_modules/side-channel-map/.eslintrc +0 -11
  528. package/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
  529. package/node_modules/side-channel-map/.nycrc +0 -13
  530. package/node_modules/side-channel-map/CHANGELOG.md +0 -22
  531. package/node_modules/side-channel-map/LICENSE +0 -21
  532. package/node_modules/side-channel-map/README.md +0 -62
  533. package/node_modules/side-channel-map/index.d.ts +0 -15
  534. package/node_modules/side-channel-map/index.js +0 -68
  535. package/node_modules/side-channel-map/package.json +0 -80
  536. package/node_modules/side-channel-map/test/index.js +0 -114
  537. package/node_modules/side-channel-map/tsconfig.json +0 -9
  538. package/node_modules/side-channel-weakmap/.editorconfig +0 -9
  539. package/node_modules/side-channel-weakmap/.eslintrc +0 -12
  540. package/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
  541. package/node_modules/side-channel-weakmap/.nycrc +0 -13
  542. package/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
  543. package/node_modules/side-channel-weakmap/LICENSE +0 -21
  544. package/node_modules/side-channel-weakmap/README.md +0 -62
  545. package/node_modules/side-channel-weakmap/index.d.ts +0 -15
  546. package/node_modules/side-channel-weakmap/index.js +0 -84
  547. package/node_modules/side-channel-weakmap/package.json +0 -87
  548. package/node_modules/side-channel-weakmap/test/index.js +0 -114
  549. package/node_modules/side-channel-weakmap/tsconfig.json +0 -9
  550. package/node_modules/type-is/HISTORY.md +0 -292
  551. package/node_modules/type-is/LICENSE +0 -23
  552. package/node_modules/type-is/README.md +0 -198
  553. package/node_modules/type-is/index.js +0 -240
  554. package/node_modules/type-is/package.json +0 -51
  555. package/node_modules/wrappy/LICENSE +0 -15
  556. package/node_modules/wrappy/README.md +0 -36
  557. package/node_modules/wrappy/package.json +0 -29
  558. package/node_modules/wrappy/wrappy.js +0 -33
@@ -1,186 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [v1.3.0](https://github.com/ljharb/get-intrinsic/compare/v1.2.7...v1.3.0) - 2025-02-22
9
-
10
- ### Commits
11
-
12
- - [Dev Deps] update `es-abstract`, `es-value-fixtures`, `for-each`, `object-inspect` [`9b61553`](https://github.com/ljharb/get-intrinsic/commit/9b61553c587f1c1edbd435597e88c7d387da97dd)
13
- - [Deps] update `call-bind-apply-helpers`, `es-object-atoms`, `get-proto` [`a341fee`](https://github.com/ljharb/get-intrinsic/commit/a341fee0f39a403b0f0069e82c97642d5eb11043)
14
- - [New] add `Float16Array` [`de22116`](https://github.com/ljharb/get-intrinsic/commit/de22116b492fb989a0341bceb6e573abfaed73dc)
15
-
16
- ## [v1.2.7](https://github.com/ljharb/get-intrinsic/compare/v1.2.6...v1.2.7) - 2025-01-02
17
-
18
- ### Commits
19
-
20
- - [Refactor] use `get-proto` directly [`00ab955`](https://github.com/ljharb/get-intrinsic/commit/00ab95546a0980c8ad42a84253daaa8d2adcedf9)
21
- - [Deps] update `math-intrinsics` [`c716cdd`](https://github.com/ljharb/get-intrinsic/commit/c716cdd6bbe36b438057025561b8bb5a879ac8a0)
22
- - [Dev Deps] update `call-bound`, `es-abstract` [`dc648a6`](https://github.com/ljharb/get-intrinsic/commit/dc648a67eb359037dff8d8619bfa71d86debccb1)
23
-
24
- ## [v1.2.6](https://github.com/ljharb/get-intrinsic/compare/v1.2.5...v1.2.6) - 2024-12-11
25
-
26
- ### Commits
27
-
28
- - [Refactor] use `math-intrinsics` [`841be86`](https://github.com/ljharb/get-intrinsic/commit/841be8641a9254c4c75483b30c8871b5d5065926)
29
- - [Refactor] use `es-object-atoms` [`42057df`](https://github.com/ljharb/get-intrinsic/commit/42057dfa16f66f64787e66482af381cc6f31d2c1)
30
- - [Deps] update `call-bind-apply-helpers` [`45afa24`](https://github.com/ljharb/get-intrinsic/commit/45afa24a9ee4d6d3c172db1f555b16cb27843ef4)
31
- - [Dev Deps] update `call-bound` [`9cba9c6`](https://github.com/ljharb/get-intrinsic/commit/9cba9c6e70212bc163b7a5529cb25df46071646f)
32
-
33
- ## [v1.2.5](https://github.com/ljharb/get-intrinsic/compare/v1.2.4...v1.2.5) - 2024-12-06
34
-
35
- ### Commits
36
-
37
- - [actions] split out node 10-20, and 20+ [`6e2b9dd`](https://github.com/ljharb/get-intrinsic/commit/6e2b9dd23902665681ebe453256ccfe21d7966f0)
38
- - [Refactor] use `dunder-proto` and `call-bind-apply-helpers` instead of `has-proto` [`c095d17`](https://github.com/ljharb/get-intrinsic/commit/c095d179ad0f4fbfff20c8a3e0cb4fe668018998)
39
- - [Refactor] use `gopd` [`9841d5b`](https://github.com/ljharb/get-intrinsic/commit/9841d5b35f7ab4fd2d193f0c741a50a077920e90)
40
- - [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `es-abstract`, `es-value-fixtures`, `gopd`, `mock-property`, `object-inspect`, `tape` [`2d07e01`](https://github.com/ljharb/get-intrinsic/commit/2d07e01310cee2cbaedfead6903df128b1f5d425)
41
- - [Deps] update `gopd`, `has-proto`, `has-symbols`, `hasown` [`974d8bf`](https://github.com/ljharb/get-intrinsic/commit/974d8bf5baad7939eef35c25cc1dd88c10a30fa6)
42
- - [Dev Deps] update `call-bind`, `es-abstract`, `tape` [`df9dde1`](https://github.com/ljharb/get-intrinsic/commit/df9dde178186631ab8a3165ede056549918ce4bc)
43
- - [Refactor] cache `es-define-property` as well [`43ef543`](https://github.com/ljharb/get-intrinsic/commit/43ef543cb02194401420e3a914a4ca9168691926)
44
- - [Deps] update `has-proto`, `has-symbols`, `hasown` [`ad4949d`](https://github.com/ljharb/get-intrinsic/commit/ad4949d5467316505aad89bf75f9417ed782f7af)
45
- - [Tests] use `call-bound` directly [`ad5c406`](https://github.com/ljharb/get-intrinsic/commit/ad5c4069774bfe90e520a35eead5fe5ca9d69e80)
46
- - [Deps] update `has-proto`, `hasown` [`45414ca`](https://github.com/ljharb/get-intrinsic/commit/45414caa312333a2798953682c68f85c550627dd)
47
- - [Tests] replace `aud` with `npm audit` [`18d3509`](https://github.com/ljharb/get-intrinsic/commit/18d3509f79460e7924da70409ee81e5053087523)
48
- - [Deps] update `es-define-property` [`aadaa3b`](https://github.com/ljharb/get-intrinsic/commit/aadaa3b2188d77ad9bff394ce5d4249c49eb21f5)
49
- - [Dev Deps] add missing peer dep [`c296a16`](https://github.com/ljharb/get-intrinsic/commit/c296a16246d0c9a5981944f4cc5cf61fbda0cf6a)
50
-
51
- ## [v1.2.4](https://github.com/ljharb/get-intrinsic/compare/v1.2.3...v1.2.4) - 2024-02-05
52
-
53
- ### Commits
54
-
55
- - [Refactor] use all 7 <+ ES6 Errors from `es-errors` [`bcac811`](https://github.com/ljharb/get-intrinsic/commit/bcac811abdc1c982e12abf848a410d6aae148d14)
56
-
57
- ## [v1.2.3](https://github.com/ljharb/get-intrinsic/compare/v1.2.2...v1.2.3) - 2024-02-03
58
-
59
- ### Commits
60
-
61
- - [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`f11db9c`](https://github.com/ljharb/get-intrinsic/commit/f11db9c4fb97d87bbd53d3c73ac6b3db3613ad3b)
62
- - [Dev Deps] update `aud`, `es-abstract`, `mock-property`, `npmignore` [`b7ac7d1`](https://github.com/ljharb/get-intrinsic/commit/b7ac7d1616fefb03877b1aed0c8f8d61aad32b6c)
63
- - [meta] simplify `exports` [`faa0cc6`](https://github.com/ljharb/get-intrinsic/commit/faa0cc618e2830ffb51a8202490b0c215d965cbc)
64
- - [meta] add missing `engines.node` [`774dd0b`](https://github.com/ljharb/get-intrinsic/commit/774dd0b3e8f741c3f05a6322d124d6087f146af1)
65
- - [Dev Deps] update `tape` [`5828e8e`](https://github.com/ljharb/get-intrinsic/commit/5828e8e4a04e69312e87a36c0ea39428a7a4c3d8)
66
- - [Robustness] use null objects for lookups [`eb9a11f`](https://github.com/ljharb/get-intrinsic/commit/eb9a11fa9eb3e13b193fcc05a7fb814341b1a7b7)
67
- - [meta] add `sideEffects` flag [`89bcc7a`](https://github.com/ljharb/get-intrinsic/commit/89bcc7a42e19bf07b7c21e3094d5ab177109e6d2)
68
-
69
- ## [v1.2.2](https://github.com/ljharb/get-intrinsic/compare/v1.2.1...v1.2.2) - 2023-10-20
70
-
71
- ### Commits
72
-
73
- - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `call-bind`, `es-abstract`, `mock-property`, `object-inspect`, `tape` [`f51bcf2`](https://github.com/ljharb/get-intrinsic/commit/f51bcf26412d58d17ce17c91c9afd0ad271f0762)
74
- - [Refactor] use `hasown` instead of `has` [`18d14b7`](https://github.com/ljharb/get-intrinsic/commit/18d14b799bea6b5765e1cec91890830cbcdb0587)
75
- - [Deps] update `function-bind` [`6e109c8`](https://github.com/ljharb/get-intrinsic/commit/6e109c81e03804cc5e7824fb64353cdc3d8ee2c7)
76
-
77
- ## [v1.2.1](https://github.com/ljharb/get-intrinsic/compare/v1.2.0...v1.2.1) - 2023-05-13
78
-
79
- ### Commits
80
-
81
- - [Fix] avoid a crash in envs without `__proto__` [`7bad8d0`](https://github.com/ljharb/get-intrinsic/commit/7bad8d061bf8721733b58b73a2565af2b6756b64)
82
- - [Dev Deps] update `es-abstract` [`c60e6b7`](https://github.com/ljharb/get-intrinsic/commit/c60e6b7b4cf9660c7f27ed970970fd55fac48dc5)
83
-
84
- ## [v1.2.0](https://github.com/ljharb/get-intrinsic/compare/v1.1.3...v1.2.0) - 2023-01-19
85
-
86
- ### Commits
87
-
88
- - [actions] update checkout action [`ca6b12f`](https://github.com/ljharb/get-intrinsic/commit/ca6b12f31eaacea4ea3b055e744cd61623385ffb)
89
- - [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `tape` [`41a3727`](https://github.com/ljharb/get-intrinsic/commit/41a3727d0026fa04273ae216a5f8e12eefd72da8)
90
- - [Fix] ensure `Error.prototype` is undeniable [`c511e97`](https://github.com/ljharb/get-intrinsic/commit/c511e97ae99c764c4524b540dee7a70757af8da3)
91
- - [Dev Deps] update `aud`, `es-abstract`, `tape` [`1bef8a8`](https://github.com/ljharb/get-intrinsic/commit/1bef8a8fd439ebb80863199b6189199e0851ac67)
92
- - [Dev Deps] update `aud`, `es-abstract` [`0d41f16`](https://github.com/ljharb/get-intrinsic/commit/0d41f16bcd500bc28b7bfc98043ebf61ea081c26)
93
- - [New] add `BigInt64Array` and `BigUint64Array` [`a6cca25`](https://github.com/ljharb/get-intrinsic/commit/a6cca25f29635889b7e9bd669baf9e04be90e48c)
94
- - [Tests] use `gopd` [`ecf7722`](https://github.com/ljharb/get-intrinsic/commit/ecf7722240d15cfd16edda06acf63359c10fb9bd)
95
-
96
- ## [v1.1.3](https://github.com/ljharb/get-intrinsic/compare/v1.1.2...v1.1.3) - 2022-09-12
97
-
98
- ### Commits
99
-
100
- - [Dev Deps] update `es-abstract`, `es-value-fixtures`, `tape` [`07ff291`](https://github.com/ljharb/get-intrinsic/commit/07ff291816406ebe5a12d7f16965bde0942dd688)
101
- - [Fix] properly check for % signs [`50ac176`](https://github.com/ljharb/get-intrinsic/commit/50ac1760fe99c227e64eabde76e9c0e44cd881b5)
102
-
103
- ## [v1.1.2](https://github.com/ljharb/get-intrinsic/compare/v1.1.1...v1.1.2) - 2022-06-08
104
-
105
- ### Fixed
106
-
107
- - [Fix] properly validate against extra % signs [`#16`](https://github.com/ljharb/get-intrinsic/issues/16)
108
-
109
- ### Commits
110
-
111
- - [actions] reuse common workflows [`0972547`](https://github.com/ljharb/get-intrinsic/commit/0972547efd0abc863fe4c445a6ca7eb4f8c6901d)
112
- - [meta] use `npmignore` to autogenerate an npmignore file [`5ba0b51`](https://github.com/ljharb/get-intrinsic/commit/5ba0b51d8d8d4f1c31d426d74abc0770fd106bad)
113
- - [actions] use `node/install` instead of `node/run`; use `codecov` action [`c364492`](https://github.com/ljharb/get-intrinsic/commit/c364492af4af51333e6f81c0bf21fd3d602c3661)
114
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `es-abstract`, `object-inspect`, `tape` [`dc04dad`](https://github.com/ljharb/get-intrinsic/commit/dc04dad86f6e5608775a2640cb0db5927ae29ed9)
115
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `safe-publish-latest`, `tape` [`1c14059`](https://github.com/ljharb/get-intrinsic/commit/1c1405984e86dd2dc9366c15d8a0294a96a146a5)
116
- - [Tests] use `mock-property` [`b396ef0`](https://github.com/ljharb/get-intrinsic/commit/b396ef05bb73b1d699811abd64b0d9b97997fdda)
117
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect`, `tape` [`c2c758d`](https://github.com/ljharb/get-intrinsic/commit/c2c758d3b90af4fef0a76910d8d3c292ec8d1d3e)
118
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`29e3c09`](https://github.com/ljharb/get-intrinsic/commit/29e3c091c2bf3e17099969847e8729d0e46896de)
119
- - [actions] update codecov uploader [`8cbc141`](https://github.com/ljharb/get-intrinsic/commit/8cbc1418940d7a8941f3a7985cbc4ac095c5e13d)
120
- - [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`10b6f5c`](https://github.com/ljharb/get-intrinsic/commit/10b6f5c02593fb3680c581d696ac124e30652932)
121
- - [readme] add github actions/codecov badges [`4e25400`](https://github.com/ljharb/get-intrinsic/commit/4e25400d9f51ae9eb059cbe22d9144e70ea214e8)
122
- - [Tests] use `for-each` instead of `foreach` [`c05b957`](https://github.com/ljharb/get-intrinsic/commit/c05b957ad9a7bc7721af7cc9e9be1edbfe057496)
123
- - [Dev Deps] update `es-abstract` [`29b05ae`](https://github.com/ljharb/get-intrinsic/commit/29b05aec3e7330e9ad0b8e0f685a9112c20cdd97)
124
- - [meta] use `prepublishOnly` script for npm 7+ [`95c285d`](https://github.com/ljharb/get-intrinsic/commit/95c285da810516057d3bbfa871176031af38f05d)
125
- - [Deps] update `has-symbols` [`593cb4f`](https://github.com/ljharb/get-intrinsic/commit/593cb4fb38e7922e40e42c183f45274b636424cd)
126
- - [readme] fix repo URLs [`1c8305b`](https://github.com/ljharb/get-intrinsic/commit/1c8305b5365827c9b6fc785434aac0e1328ff2f5)
127
- - [Deps] update `has-symbols` [`c7138b6`](https://github.com/ljharb/get-intrinsic/commit/c7138b6c6d73132d859471fb8c13304e1e7c8b20)
128
- - [Dev Deps] remove unused `has-bigints` [`bd63aff`](https://github.com/ljharb/get-intrinsic/commit/bd63aff6ad8f3a986c557fcda2914187bdaab359)
129
-
130
- ## [v1.1.1](https://github.com/ljharb/get-intrinsic/compare/v1.1.0...v1.1.1) - 2021-02-03
131
-
132
- ### Fixed
133
-
134
- - [meta] export `./package.json` [`#9`](https://github.com/ljharb/get-intrinsic/issues/9)
135
-
136
- ### Commits
137
-
138
- - [readme] flesh out the readme; use `evalmd` [`d12f12c`](https://github.com/ljharb/get-intrinsic/commit/d12f12c15345a0a0772cc65a7c64369529abd614)
139
- - [eslint] set up proper globals config [`5a8c098`](https://github.com/ljharb/get-intrinsic/commit/5a8c0984e3319d1ac0e64b102f8ec18b64e79f36)
140
- - [Dev Deps] update `eslint` [`7b9a5c0`](https://github.com/ljharb/get-intrinsic/commit/7b9a5c0d31a90ca1a1234181c74988fb046701cd)
141
-
142
- ## [v1.1.0](https://github.com/ljharb/get-intrinsic/compare/v1.0.2...v1.1.0) - 2021-01-25
143
-
144
- ### Fixed
145
-
146
- - [Refactor] delay `Function` eval until syntax-derived values are requested [`#3`](https://github.com/ljharb/get-intrinsic/issues/3)
147
-
148
- ### Commits
149
-
150
- - [Tests] migrate tests to Github Actions [`2ab762b`](https://github.com/ljharb/get-intrinsic/commit/2ab762b48164aea8af37a40ba105bbc8246ab8c4)
151
- - [meta] do not publish github action workflow files [`5e7108e`](https://github.com/ljharb/get-intrinsic/commit/5e7108e4768b244d48d9567ba4f8a6cab9c65b8e)
152
- - [Tests] add some coverage [`01ac7a8`](https://github.com/ljharb/get-intrinsic/commit/01ac7a87ac29738567e8524cd8c9e026b1fa8cb3)
153
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `call-bind`, `es-abstract`, `tape`; add `call-bind` [`911b672`](https://github.com/ljharb/get-intrinsic/commit/911b672fbffae433a96924c6ce013585e425f4b7)
154
- - [Refactor] rearrange evalled constructors a bit [`7e7e4bf`](https://github.com/ljharb/get-intrinsic/commit/7e7e4bf583f3799c8ac1c6c5e10d2cb553957347)
155
- - [meta] add Automatic Rebase and Require Allow Edits workflows [`0199968`](https://github.com/ljharb/get-intrinsic/commit/01999687a263ffce0a3cb011dfbcb761754aedbc)
156
-
157
- ## [v1.0.2](https://github.com/ljharb/get-intrinsic/compare/v1.0.1...v1.0.2) - 2020-12-17
158
-
159
- ### Commits
160
-
161
- - [Fix] Throw for non‑existent intrinsics [`68f873b`](https://github.com/ljharb/get-intrinsic/commit/68f873b013c732a05ad6f5fc54f697e55515461b)
162
- - [Fix] Throw for non‑existent segments in the intrinsic path [`8325dee`](https://github.com/ljharb/get-intrinsic/commit/8325deee43128f3654d3399aa9591741ebe17b21)
163
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-bigints`, `object-inspect` [`0c227a7`](https://github.com/ljharb/get-intrinsic/commit/0c227a7d8b629166f25715fd242553892e458525)
164
- - [meta] do not lint coverage output [`70d2419`](https://github.com/ljharb/get-intrinsic/commit/70d24199b620043cd9110fc5f426d214ebe21dc9)
165
-
166
- ## [v1.0.1](https://github.com/ljharb/get-intrinsic/compare/v1.0.0...v1.0.1) - 2020-10-30
167
-
168
- ### Commits
169
-
170
- - [Tests] gather coverage data on every job [`d1d280d`](https://github.com/ljharb/get-intrinsic/commit/d1d280dec714e3f0519cc877dbcb193057d9cac6)
171
- - [Fix] add missing dependencies [`5031771`](https://github.com/ljharb/get-intrinsic/commit/5031771bb1095b38be88ce7c41d5de88718e432e)
172
- - [Tests] use `es-value-fixtures` [`af48765`](https://github.com/ljharb/get-intrinsic/commit/af48765a23c5323fb0b6b38dbf00eb5099c7bebc)
173
-
174
- ## v1.0.0 - 2020-10-29
175
-
176
- ### Commits
177
-
178
- - Implementation [`bbce57c`](https://github.com/ljharb/get-intrinsic/commit/bbce57c6f33d05b2d8d3efa273ceeb3ee01127bb)
179
- - Tests [`17b4f0d`](https://github.com/ljharb/get-intrinsic/commit/17b4f0d56dea6b4059b56fc30ef3ee4d9500ebc2)
180
- - Initial commit [`3153294`](https://github.com/ljharb/get-intrinsic/commit/31532948de363b0a27dd9fd4649e7b7028ec4b44)
181
- - npm init [`fb326c4`](https://github.com/ljharb/get-intrinsic/commit/fb326c4d2817c8419ec31de1295f06bb268a7902)
182
- - [meta] add Automatic Rebase and Require Allow Edits workflows [`48862fb`](https://github.com/ljharb/get-intrinsic/commit/48862fb2508c8f6a57968e6d08b7c883afc9d550)
183
- - [meta] add `auto-changelog` [`5f28ad0`](https://github.com/ljharb/get-intrinsic/commit/5f28ad019e060a353d8028f9f2591a9cc93074a1)
184
- - [meta] add "funding"; create `FUNDING.yml` [`c2bbdde`](https://github.com/ljharb/get-intrinsic/commit/c2bbddeba73a875be61484ee4680b129a6d4e0a1)
185
- - [Tests] add `npm run lint` [`0a84b98`](https://github.com/ljharb/get-intrinsic/commit/0a84b98b22b7cf7a748666f705b0003a493c35fd)
186
- - Only apps should have lockfiles [`9586c75`](https://github.com/ljharb/get-intrinsic/commit/9586c75866c1ee678e4d5d4dbbdef6997e511b05)
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2020 Jordan Harband
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,71 +0,0 @@
1
- # get-intrinsic <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
-
3
- [![github actions][actions-image]][actions-url]
4
- [![coverage][codecov-image]][codecov-url]
5
- [![dependency status][deps-svg]][deps-url]
6
- [![dev dependency status][dev-deps-svg]][dev-deps-url]
7
- [![License][license-image]][license-url]
8
- [![Downloads][downloads-image]][downloads-url]
9
-
10
- [![npm badge][npm-badge-png]][package-url]
11
-
12
- Get and robustly cache all JS language-level intrinsics at first require time.
13
-
14
- See the syntax described [in the JS spec](https://tc39.es/ecma262/#sec-well-known-intrinsic-objects) for reference.
15
-
16
- ## Example
17
-
18
- ```js
19
- var GetIntrinsic = require('get-intrinsic');
20
- var assert = require('assert');
21
-
22
- // static methods
23
- assert.equal(GetIntrinsic('%Math.pow%'), Math.pow);
24
- assert.equal(Math.pow(2, 3), 8);
25
- assert.equal(GetIntrinsic('%Math.pow%')(2, 3), 8);
26
- delete Math.pow;
27
- assert.equal(GetIntrinsic('%Math.pow%')(2, 3), 8);
28
-
29
- // instance methods
30
- var arr = [1];
31
- assert.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push);
32
- assert.deepEqual(arr, [1]);
33
-
34
- arr.push(2);
35
- assert.deepEqual(arr, [1, 2]);
36
-
37
- GetIntrinsic('%Array.prototype.push%').call(arr, 3);
38
- assert.deepEqual(arr, [1, 2, 3]);
39
-
40
- delete Array.prototype.push;
41
- GetIntrinsic('%Array.prototype.push%').call(arr, 4);
42
- assert.deepEqual(arr, [1, 2, 3, 4]);
43
-
44
- // missing features
45
- delete JSON.parse; // to simulate a real intrinsic that is missing in the environment
46
- assert.throws(() => GetIntrinsic('%JSON.parse%'));
47
- assert.equal(undefined, GetIntrinsic('%JSON.parse%', true));
48
- ```
49
-
50
- ## Tests
51
- Simply clone the repo, `npm install`, and run `npm test`
52
-
53
- ## Security
54
-
55
- Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
56
-
57
- [package-url]: https://npmjs.org/package/get-intrinsic
58
- [npm-version-svg]: https://versionbadg.es/ljharb/get-intrinsic.svg
59
- [deps-svg]: https://david-dm.org/ljharb/get-intrinsic.svg
60
- [deps-url]: https://david-dm.org/ljharb/get-intrinsic
61
- [dev-deps-svg]: https://david-dm.org/ljharb/get-intrinsic/dev-status.svg
62
- [dev-deps-url]: https://david-dm.org/ljharb/get-intrinsic#info=devDependencies
63
- [npm-badge-png]: https://nodei.co/npm/get-intrinsic.png?downloads=true&stars=true
64
- [license-image]: https://img.shields.io/npm/l/get-intrinsic.svg
65
- [license-url]: LICENSE
66
- [downloads-image]: https://img.shields.io/npm/dm/get-intrinsic.svg
67
- [downloads-url]: https://npm-stat.com/charts.html?package=get-intrinsic
68
- [codecov-image]: https://codecov.io/gh/ljharb/get-intrinsic/branch/main/graphs/badge.svg
69
- [codecov-url]: https://app.codecov.io/gh/ljharb/get-intrinsic/
70
- [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-intrinsic
71
- [actions-url]: https://github.com/ljharb/get-intrinsic/actions
@@ -1,378 +0,0 @@
1
- 'use strict';
2
-
3
- var undefined;
4
-
5
- var $Object = require('es-object-atoms');
6
-
7
- var $Error = require('es-errors');
8
- var $EvalError = require('es-errors/eval');
9
- var $RangeError = require('es-errors/range');
10
- var $ReferenceError = require('es-errors/ref');
11
- var $SyntaxError = require('es-errors/syntax');
12
- var $TypeError = require('es-errors/type');
13
- var $URIError = require('es-errors/uri');
14
-
15
- var abs = require('math-intrinsics/abs');
16
- var floor = require('math-intrinsics/floor');
17
- var max = require('math-intrinsics/max');
18
- var min = require('math-intrinsics/min');
19
- var pow = require('math-intrinsics/pow');
20
- var round = require('math-intrinsics/round');
21
- var sign = require('math-intrinsics/sign');
22
-
23
- var $Function = Function;
24
-
25
- // eslint-disable-next-line consistent-return
26
- var getEvalledConstructor = function (expressionSyntax) {
27
- try {
28
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
29
- } catch (e) {}
30
- };
31
-
32
- var $gOPD = require('gopd');
33
- var $defineProperty = require('es-define-property');
34
-
35
- var throwTypeError = function () {
36
- throw new $TypeError();
37
- };
38
- var ThrowTypeError = $gOPD
39
- ? (function () {
40
- try {
41
- // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
42
- arguments.callee; // IE 8 does not throw here
43
- return throwTypeError;
44
- } catch (calleeThrows) {
45
- try {
46
- // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
47
- return $gOPD(arguments, 'callee').get;
48
- } catch (gOPDthrows) {
49
- return throwTypeError;
50
- }
51
- }
52
- }())
53
- : throwTypeError;
54
-
55
- var hasSymbols = require('has-symbols')();
56
-
57
- var getProto = require('get-proto');
58
- var $ObjectGPO = require('get-proto/Object.getPrototypeOf');
59
- var $ReflectGPO = require('get-proto/Reflect.getPrototypeOf');
60
-
61
- var $apply = require('call-bind-apply-helpers/functionApply');
62
- var $call = require('call-bind-apply-helpers/functionCall');
63
-
64
- var needsEval = {};
65
-
66
- var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
67
-
68
- var INTRINSICS = {
69
- __proto__: null,
70
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
71
- '%Array%': Array,
72
- '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
73
- '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
74
- '%AsyncFromSyncIteratorPrototype%': undefined,
75
- '%AsyncFunction%': needsEval,
76
- '%AsyncGenerator%': needsEval,
77
- '%AsyncGeneratorFunction%': needsEval,
78
- '%AsyncIteratorPrototype%': needsEval,
79
- '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
80
- '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
81
- '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
82
- '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
83
- '%Boolean%': Boolean,
84
- '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
85
- '%Date%': Date,
86
- '%decodeURI%': decodeURI,
87
- '%decodeURIComponent%': decodeURIComponent,
88
- '%encodeURI%': encodeURI,
89
- '%encodeURIComponent%': encodeURIComponent,
90
- '%Error%': $Error,
91
- '%eval%': eval, // eslint-disable-line no-eval
92
- '%EvalError%': $EvalError,
93
- '%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,
94
- '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
95
- '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
96
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
97
- '%Function%': $Function,
98
- '%GeneratorFunction%': needsEval,
99
- '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
100
- '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
101
- '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
102
- '%isFinite%': isFinite,
103
- '%isNaN%': isNaN,
104
- '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
105
- '%JSON%': typeof JSON === 'object' ? JSON : undefined,
106
- '%Map%': typeof Map === 'undefined' ? undefined : Map,
107
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
108
- '%Math%': Math,
109
- '%Number%': Number,
110
- '%Object%': $Object,
111
- '%Object.getOwnPropertyDescriptor%': $gOPD,
112
- '%parseFloat%': parseFloat,
113
- '%parseInt%': parseInt,
114
- '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
115
- '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
116
- '%RangeError%': $RangeError,
117
- '%ReferenceError%': $ReferenceError,
118
- '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
119
- '%RegExp%': RegExp,
120
- '%Set%': typeof Set === 'undefined' ? undefined : Set,
121
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
122
- '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
123
- '%String%': String,
124
- '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
125
- '%Symbol%': hasSymbols ? Symbol : undefined,
126
- '%SyntaxError%': $SyntaxError,
127
- '%ThrowTypeError%': ThrowTypeError,
128
- '%TypedArray%': TypedArray,
129
- '%TypeError%': $TypeError,
130
- '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
131
- '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
132
- '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
133
- '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
134
- '%URIError%': $URIError,
135
- '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
136
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
137
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
138
-
139
- '%Function.prototype.call%': $call,
140
- '%Function.prototype.apply%': $apply,
141
- '%Object.defineProperty%': $defineProperty,
142
- '%Object.getPrototypeOf%': $ObjectGPO,
143
- '%Math.abs%': abs,
144
- '%Math.floor%': floor,
145
- '%Math.max%': max,
146
- '%Math.min%': min,
147
- '%Math.pow%': pow,
148
- '%Math.round%': round,
149
- '%Math.sign%': sign,
150
- '%Reflect.getPrototypeOf%': $ReflectGPO
151
- };
152
-
153
- if (getProto) {
154
- try {
155
- null.error; // eslint-disable-line no-unused-expressions
156
- } catch (e) {
157
- // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
158
- var errorProto = getProto(getProto(e));
159
- INTRINSICS['%Error.prototype%'] = errorProto;
160
- }
161
- }
162
-
163
- var doEval = function doEval(name) {
164
- var value;
165
- if (name === '%AsyncFunction%') {
166
- value = getEvalledConstructor('async function () {}');
167
- } else if (name === '%GeneratorFunction%') {
168
- value = getEvalledConstructor('function* () {}');
169
- } else if (name === '%AsyncGeneratorFunction%') {
170
- value = getEvalledConstructor('async function* () {}');
171
- } else if (name === '%AsyncGenerator%') {
172
- var fn = doEval('%AsyncGeneratorFunction%');
173
- if (fn) {
174
- value = fn.prototype;
175
- }
176
- } else if (name === '%AsyncIteratorPrototype%') {
177
- var gen = doEval('%AsyncGenerator%');
178
- if (gen && getProto) {
179
- value = getProto(gen.prototype);
180
- }
181
- }
182
-
183
- INTRINSICS[name] = value;
184
-
185
- return value;
186
- };
187
-
188
- var LEGACY_ALIASES = {
189
- __proto__: null,
190
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
191
- '%ArrayPrototype%': ['Array', 'prototype'],
192
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
193
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
194
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
195
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
196
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
197
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
198
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
199
- '%BooleanPrototype%': ['Boolean', 'prototype'],
200
- '%DataViewPrototype%': ['DataView', 'prototype'],
201
- '%DatePrototype%': ['Date', 'prototype'],
202
- '%ErrorPrototype%': ['Error', 'prototype'],
203
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
204
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
205
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
206
- '%FunctionPrototype%': ['Function', 'prototype'],
207
- '%Generator%': ['GeneratorFunction', 'prototype'],
208
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
209
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
210
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
211
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
212
- '%JSONParse%': ['JSON', 'parse'],
213
- '%JSONStringify%': ['JSON', 'stringify'],
214
- '%MapPrototype%': ['Map', 'prototype'],
215
- '%NumberPrototype%': ['Number', 'prototype'],
216
- '%ObjectPrototype%': ['Object', 'prototype'],
217
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
218
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
219
- '%PromisePrototype%': ['Promise', 'prototype'],
220
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
221
- '%Promise_all%': ['Promise', 'all'],
222
- '%Promise_reject%': ['Promise', 'reject'],
223
- '%Promise_resolve%': ['Promise', 'resolve'],
224
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
225
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
226
- '%RegExpPrototype%': ['RegExp', 'prototype'],
227
- '%SetPrototype%': ['Set', 'prototype'],
228
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
229
- '%StringPrototype%': ['String', 'prototype'],
230
- '%SymbolPrototype%': ['Symbol', 'prototype'],
231
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
232
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
233
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
234
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
235
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
236
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
237
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
238
- '%URIErrorPrototype%': ['URIError', 'prototype'],
239
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
240
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
241
- };
242
-
243
- var bind = require('function-bind');
244
- var hasOwn = require('hasown');
245
- var $concat = bind.call($call, Array.prototype.concat);
246
- var $spliceApply = bind.call($apply, Array.prototype.splice);
247
- var $replace = bind.call($call, String.prototype.replace);
248
- var $strSlice = bind.call($call, String.prototype.slice);
249
- var $exec = bind.call($call, RegExp.prototype.exec);
250
-
251
- /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
252
- var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
253
- var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
254
- var stringToPath = function stringToPath(string) {
255
- var first = $strSlice(string, 0, 1);
256
- var last = $strSlice(string, -1);
257
- if (first === '%' && last !== '%') {
258
- throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
259
- } else if (last === '%' && first !== '%') {
260
- throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
261
- }
262
- var result = [];
263
- $replace(string, rePropName, function (match, number, quote, subString) {
264
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
265
- });
266
- return result;
267
- };
268
- /* end adaptation */
269
-
270
- var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
271
- var intrinsicName = name;
272
- var alias;
273
- if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
274
- alias = LEGACY_ALIASES[intrinsicName];
275
- intrinsicName = '%' + alias[0] + '%';
276
- }
277
-
278
- if (hasOwn(INTRINSICS, intrinsicName)) {
279
- var value = INTRINSICS[intrinsicName];
280
- if (value === needsEval) {
281
- value = doEval(intrinsicName);
282
- }
283
- if (typeof value === 'undefined' && !allowMissing) {
284
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
285
- }
286
-
287
- return {
288
- alias: alias,
289
- name: intrinsicName,
290
- value: value
291
- };
292
- }
293
-
294
- throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
295
- };
296
-
297
- module.exports = function GetIntrinsic(name, allowMissing) {
298
- if (typeof name !== 'string' || name.length === 0) {
299
- throw new $TypeError('intrinsic name must be a non-empty string');
300
- }
301
- if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
302
- throw new $TypeError('"allowMissing" argument must be a boolean');
303
- }
304
-
305
- if ($exec(/^%?[^%]*%?$/, name) === null) {
306
- throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
307
- }
308
- var parts = stringToPath(name);
309
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
310
-
311
- var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
312
- var intrinsicRealName = intrinsic.name;
313
- var value = intrinsic.value;
314
- var skipFurtherCaching = false;
315
-
316
- var alias = intrinsic.alias;
317
- if (alias) {
318
- intrinsicBaseName = alias[0];
319
- $spliceApply(parts, $concat([0, 1], alias));
320
- }
321
-
322
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
323
- var part = parts[i];
324
- var first = $strSlice(part, 0, 1);
325
- var last = $strSlice(part, -1);
326
- if (
327
- (
328
- (first === '"' || first === "'" || first === '`')
329
- || (last === '"' || last === "'" || last === '`')
330
- )
331
- && first !== last
332
- ) {
333
- throw new $SyntaxError('property names with quotes must have matching quotes');
334
- }
335
- if (part === 'constructor' || !isOwn) {
336
- skipFurtherCaching = true;
337
- }
338
-
339
- intrinsicBaseName += '.' + part;
340
- intrinsicRealName = '%' + intrinsicBaseName + '%';
341
-
342
- if (hasOwn(INTRINSICS, intrinsicRealName)) {
343
- value = INTRINSICS[intrinsicRealName];
344
- } else if (value != null) {
345
- if (!(part in value)) {
346
- if (!allowMissing) {
347
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
348
- }
349
- return void undefined;
350
- }
351
- if ($gOPD && (i + 1) >= parts.length) {
352
- var desc = $gOPD(value, part);
353
- isOwn = !!desc;
354
-
355
- // By convention, when a data property is converted to an accessor
356
- // property to emulate a data property that does not suffer from
357
- // the override mistake, that accessor's getter is marked with
358
- // an `originalValue` property. Here, when we detect this, we
359
- // uphold the illusion by pretending to see that original data
360
- // property, i.e., returning the value rather than the getter
361
- // itself.
362
- if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
363
- value = desc.get;
364
- } else {
365
- value = value[part];
366
- }
367
- } else {
368
- isOwn = hasOwn(value, part);
369
- value = value[part];
370
- }
371
-
372
- if (isOwn && !skipFurtherCaching) {
373
- INTRINSICS[intrinsicRealName] = value;
374
- }
375
- }
376
- }
377
- return value;
378
- };