@schematize/refs 0.1.6 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/browser/document.body.mjs +1 -1
- package/browser/document.head.mjs +1 -1
- package/browser/fetch.mjs +4 -0
- package/browser/localStorage.mjs +4 -0
- package/browser/sessionStorage.mjs +4 -0
- package/browser/window.history.mjs +1 -1
- package/browser/window.location.mjs +1 -1
- package/js/Array.isArray.mjs +1 -1
- package/js/Array.prototype.at.call.mjs +6 -0
- package/js/Array.prototype.concat.call.mjs +6 -0
- package/js/Array.prototype.copyWithin.call.mjs +6 -0
- package/js/Array.prototype.entries.call.mjs +6 -0
- package/js/Array.prototype.every.call.mjs +6 -0
- package/js/Array.prototype.fill.call.mjs +6 -0
- package/js/Array.prototype.filter.call.mjs +6 -0
- package/js/Array.prototype.find.call.mjs +6 -0
- package/js/Array.prototype.findIndex.call.mjs +6 -0
- package/js/Array.prototype.findLast.call.mjs +6 -0
- package/js/Array.prototype.findLastIndex.call.mjs +6 -0
- package/js/Array.prototype.flat.call.mjs +6 -0
- package/js/Array.prototype.flatMap.call.mjs +6 -0
- package/js/Array.prototype.forEach.call.mjs +6 -0
- package/js/Array.prototype.includes.call.mjs +6 -0
- package/js/Array.prototype.indexOf.call.mjs +6 -0
- package/js/Array.prototype.join.call.mjs +6 -0
- package/js/Array.prototype.keys.call.mjs +6 -0
- package/js/Array.prototype.lastIndexOf.call.mjs +6 -0
- package/js/Array.prototype.map.call.mjs +6 -0
- package/js/Array.prototype.mjs +1 -1
- package/js/Array.prototype.pop.call.mjs +6 -0
- package/js/Array.prototype.push.call.mjs +6 -0
- package/js/Array.prototype.reduce.call.mjs +6 -0
- package/js/Array.prototype.reduceRight.call.mjs +6 -0
- package/js/Array.prototype.reverse.call.mjs +6 -0
- package/js/Array.prototype.shift.call.mjs +6 -0
- package/js/Array.prototype.slice.call.mjs +6 -0
- package/js/Array.prototype.some.call.mjs +6 -0
- package/js/Array.prototype.sort.call.mjs +6 -0
- package/js/Array.prototype.splice.call.mjs +6 -0
- package/js/Array.prototype.toLocaleString.call.mjs +6 -0
- package/js/Array.prototype.toString.call.mjs +6 -0
- package/js/Array.prototype.unshift.call.mjs +6 -0
- package/js/Array.prototype.values.call.mjs +6 -0
- package/js/BigInt.mjs +1 -1
- package/js/Function.prototype.call.bind.mjs +6 -0
- package/js/Function.prototype.call.mjs +6 -0
- package/js/Function.prototype.mjs +1 -1
- package/js/Intl.Collator.mjs +1 -1
- package/js/Intl.DateTimeFormat.mjs +1 -1
- package/js/Intl.ListFormat.mjs +1 -1
- package/js/Intl.Locale.mjs +1 -1
- package/js/Intl.NumberFormat.mjs +1 -1
- package/js/Intl.PluralRules.mjs +1 -1
- package/js/Intl.RelativeTimeFormat.mjs +1 -1
- package/js/JSON.parse.mjs +1 -1
- package/js/JSON.stringify.mjs +1 -1
- package/js/Math.E.mjs +1 -1
- package/js/Math.LN10.mjs +1 -1
- package/js/Math.LN2.mjs +1 -1
- package/js/Math.LOG10E.mjs +1 -1
- package/js/Math.LOG2E.mjs +1 -1
- package/js/Math.PI.mjs +1 -1
- package/js/Math.SQRT1_2.mjs +1 -1
- package/js/Math.SQRT2.mjs +1 -1
- package/js/Math.abs.mjs +1 -1
- package/js/Math.acos.mjs +1 -1
- package/js/Math.acosh.mjs +1 -1
- package/js/Math.asin.mjs +1 -1
- package/js/Math.asinh.mjs +1 -1
- package/js/Math.atan.mjs +1 -1
- package/js/Math.atan2.mjs +1 -1
- package/js/Math.atanh.mjs +1 -1
- package/js/Math.cbrt.mjs +1 -1
- package/js/Math.ceil.mjs +1 -1
- package/js/Math.clz32.mjs +1 -1
- package/js/Math.cos.mjs +1 -1
- package/js/Math.cosh.mjs +1 -1
- package/js/Math.exp.mjs +1 -1
- package/js/Math.expm1.mjs +1 -1
- package/js/Math.floor.mjs +1 -1
- package/js/Math.fround.mjs +1 -1
- package/js/Math.hypot.mjs +1 -1
- package/js/Math.imul.mjs +1 -1
- package/js/Math.log.mjs +1 -1
- package/js/Math.log10.mjs +1 -1
- package/js/Math.log1p.mjs +1 -1
- package/js/Math.log2.mjs +1 -1
- package/js/Math.max.mjs +1 -1
- package/js/Math.min.mjs +1 -1
- package/js/Math.pow.mjs +1 -1
- package/js/Math.random.mjs +1 -1
- package/js/Math.round.mjs +1 -1
- package/js/Math.sign.mjs +1 -1
- package/js/Math.sin.mjs +1 -1
- package/js/Math.sinh.mjs +1 -1
- package/js/Math.sqrt.mjs +1 -1
- package/js/Math.tanh.mjs +1 -1
- package/js/Math.trunc.mjs +1 -1
- package/js/Object.assign.mjs +1 -1
- package/js/Object.create.mjs +1 -1
- package/js/Object.defineProperties.mjs +6 -0
- package/js/Object.defineProperty.mjs +1 -1
- package/js/Object.entries.mjs +6 -0
- package/js/Object.freeze.mjs +6 -0
- package/js/Object.fromEntries.mjs +6 -0
- package/js/Object.getOwnPropertyDescriptor.mjs +1 -1
- package/js/Object.getOwnPropertyDescriptors.mjs +6 -0
- package/js/Object.getOwnPropertyNames.mjs +6 -0
- package/js/Object.getOwnPropertySymbols.mjs +6 -0
- package/js/Object.getPrototypeOf.mjs +1 -1
- package/js/Object.hasOwn.mjs +6 -0
- package/js/Object.is.mjs +6 -0
- package/js/Object.isExtensible.mjs +6 -0
- package/js/Object.isFrozen.mjs +6 -0
- package/js/Object.isSealed.mjs +6 -0
- package/js/Object.keys.mjs +1 -1
- package/js/Object.preventExtension.mjs +6 -0
- package/js/Object.prototype.hasOwnProperty.call.mjs +6 -0
- package/js/Object.prototype.isPrototypeOf.call.mjs +6 -0
- package/js/Object.prototype.mjs +1 -1
- package/js/Object.prototype.propertyIsEnumerable.call.mjs +6 -0
- package/js/Object.prototype.toLocaleString.call.mjs +6 -0
- package/js/Object.prototype.toString.call.mjs +6 -0
- package/js/Object.prototype.valueOf.call.mjs +6 -0
- package/js/Object.seal.mjs +6 -0
- package/js/Object.setPrototypeOf.mjs +1 -1
- package/js/Object.values.mjs +1 -1
- package/js/Promise.all.mjs +1 -1
- package/js/Promise.allSettled.mjs +1 -1
- package/js/Promise.race.mjs +1 -1
- package/js/Promise.reject.mjs +1 -1
- package/js/Promise.resolve.mjs +1 -1
- package/js/Symbol.for.mjs +1 -1
- package/js/isNaN.mjs +4 -0
- package/main.mjs +2 -2
- package/package.json +11 -8
- package/test.browser.mjs +8 -8
- package/test.mjs +118 -0
- package/test.js.mjs +0 -118
package/js/Math.cosh.mjs
CHANGED
package/js/Math.exp.mjs
CHANGED
package/js/Math.expm1.mjs
CHANGED
package/js/Math.floor.mjs
CHANGED
package/js/Math.fround.mjs
CHANGED
package/js/Math.hypot.mjs
CHANGED
package/js/Math.imul.mjs
CHANGED
package/js/Math.log.mjs
CHANGED
package/js/Math.log10.mjs
CHANGED
package/js/Math.log1p.mjs
CHANGED
package/js/Math.log2.mjs
CHANGED
package/js/Math.max.mjs
CHANGED
package/js/Math.min.mjs
CHANGED
package/js/Math.pow.mjs
CHANGED
package/js/Math.random.mjs
CHANGED
package/js/Math.round.mjs
CHANGED
package/js/Math.sign.mjs
CHANGED
package/js/Math.sin.mjs
CHANGED
package/js/Math.sinh.mjs
CHANGED
package/js/Math.sqrt.mjs
CHANGED
package/js/Math.tanh.mjs
CHANGED
package/js/Math.trunc.mjs
CHANGED
package/js/Object.assign.mjs
CHANGED
package/js/Object.create.mjs
CHANGED
package/js/Object.is.mjs
ADDED
package/js/Object.keys.mjs
CHANGED
@@ -0,0 +1,6 @@
|
|
1
|
+
import _Object_prototype from './Object.prototype.mjs';
|
2
|
+
import _Function_prototype_call_bind from './Function.prototype.call.bind.mjs';
|
3
|
+
|
4
|
+
const _Object_prototype_hasOwnProperty_call = _Function_prototype_call_bind(_Object_prototype.hasOwnProperty);
|
5
|
+
|
6
|
+
export default _Object_prototype_hasOwnProperty_call;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import _Object_prototype from './Object.prototype.mjs';
|
2
|
+
import _Function_prototype_call_bind from './Function.prototype.call.bind.mjs';
|
3
|
+
|
4
|
+
const _Object_prototype_isPrototypeOf_call = _Function_prototype_call_bind(_Object_prototype.isPrototypeOf);
|
5
|
+
|
6
|
+
export default _Object_prototype_isPrototypeOf_call;
|
package/js/Object.prototype.mjs
CHANGED
@@ -0,0 +1,6 @@
|
|
1
|
+
import _Object_prototype from './Object.prototype.mjs';
|
2
|
+
import _Function_prototype_call_bind from './Function.prototype.call.bind.mjs';
|
3
|
+
|
4
|
+
const _Object_prototype_propertyIsEnumerable_call = _Function_prototype_call_bind(_Object_prototype.propertyIsEnumerable);
|
5
|
+
|
6
|
+
export default _Object_prototype_propertyIsEnumerable_call;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import _Object_prototype from './Object.prototype.mjs';
|
2
|
+
import _Function_prototype_call_bind from './Function.prototype.call.bind.mjs';
|
3
|
+
|
4
|
+
const _Object_prototype_toLocaleString_call = _Function_prototype_call_bind(_Object_prototype.toLocaleString);
|
5
|
+
|
6
|
+
export default _Object_prototype_toLocaleString_call;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import _Object_prototype from './Object.prototype.mjs';
|
2
|
+
import _Function_prototype_call_bind from './Function.prototype.call.bind.mjs';
|
3
|
+
|
4
|
+
const _Object_prototype_toString_call = _Function_prototype_call_bind(_Object_prototype.toString);
|
5
|
+
|
6
|
+
export default _Object_prototype_toString_call;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import _Object_prototype from './Object.prototype.mjs';
|
2
|
+
import _Function_prototype_call_bind from './Function.prototype.call.bind.mjs';
|
3
|
+
|
4
|
+
const _Object_prototype_valueOf_call = _Function_prototype_call_bind(_Object_prototype.valueOf);
|
5
|
+
|
6
|
+
export default _Object_prototype_valueOf_call;
|
package/js/Object.values.mjs
CHANGED
package/js/Promise.all.mjs
CHANGED
package/js/Promise.race.mjs
CHANGED
package/js/Promise.reject.mjs
CHANGED
package/js/Promise.resolve.mjs
CHANGED
package/js/Symbol.for.mjs
CHANGED
package/js/isNaN.mjs
ADDED
package/main.mjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
/* eslint-disable no-unused-vars */
|
3
3
|
|
4
4
|
// browser
|
5
|
-
import window from './browser/window';
|
6
|
-
import document from './browser/document';
|
5
|
+
import window from './browser/window.mjs';
|
6
|
+
import document from './browser/document.mjs';
|
7
7
|
|
8
8
|
/* eslint-enable no-unused-vars */
|
package/package.json
CHANGED
@@ -1,21 +1,25 @@
|
|
1
1
|
{
|
2
2
|
"name": "@schematize/refs",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.2.0",
|
4
4
|
"description": "A list of references to built-ins, native objects, etc.",
|
5
5
|
"author": "Benjamin Bytheway",
|
6
6
|
"license": "MIT",
|
7
|
+
"repository": "git@github.com:Schematize/refs.git",
|
7
8
|
"type": "module",
|
8
9
|
"main": "main.mjs",
|
10
|
+
"exports": {
|
11
|
+
"./browser/*": "./browser/*",
|
12
|
+
"./js/*": "./js/*"
|
13
|
+
},
|
9
14
|
"scripts": {
|
10
15
|
"test": "npm run eslint && npm run test-js",
|
11
16
|
"eslint": "./node_modules/.bin/eslint . --ext js,mjs",
|
12
17
|
"test-all": "node --experimental-modules --es-module-specifier-resolution=node main.mjs",
|
13
18
|
"test-browser": "node --experimental-modules --es-module-specifier-resolution=node test.browser.mjs",
|
14
|
-
"test-js": "node --experimental-modules --es-module-specifier-resolution=node test.js.mjs"
|
15
|
-
|
16
|
-
|
17
|
-
"
|
18
|
-
"url": "git+https://github.com/Schematize/refs.git"
|
19
|
+
"test-js": "node --experimental-modules --es-module-specifier-resolution=node test.js.mjs",
|
20
|
+
"publish": "npm run publish-npm && npm run publish-github",
|
21
|
+
"publish-npm": "npm publish --registry=https://registry.npmjs.org --access=public",
|
22
|
+
"publish-github": "npm publish --registry=https://npm.pkg.github.com --access=public"
|
19
23
|
},
|
20
24
|
"keywords": [
|
21
25
|
"built-ins",
|
@@ -26,8 +30,7 @@
|
|
26
30
|
"url": "https://github.com/Schematize/refs/issues"
|
27
31
|
},
|
28
32
|
"homepage": "https://github.com/Schematize/refs#readme",
|
29
|
-
"dependencies": {},
|
30
33
|
"devDependencies": {
|
31
|
-
"eslint": "^
|
34
|
+
"eslint": "^9.37.0"
|
32
35
|
}
|
33
36
|
}
|
package/test.browser.mjs
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
/* eslint-disable no-unused-vars */
|
3
3
|
|
4
4
|
// browser
|
5
|
-
import cancelAnimationFrame from './browser/cancelAnimationFrame';
|
6
|
-
import document from './browser/document';
|
7
|
-
import _document_body from './browser/document.body';
|
8
|
-
import _document_head from './browser/document.head';
|
9
|
-
import requestAnimationFrame from './browser/requestAnimationFrame';
|
10
|
-
import window from './browser/window';
|
11
|
-
import _window_location from './browser/window.location';
|
12
|
-
import _window_history from './browser/window.history';
|
5
|
+
import cancelAnimationFrame from './browser/cancelAnimationFrame.mjs';
|
6
|
+
import document from './browser/document.mjs';
|
7
|
+
import _document_body from './browser/document.body.mjs';
|
8
|
+
import _document_head from './browser/document.head.mjs';
|
9
|
+
import requestAnimationFrame from './browser/requestAnimationFrame.mjs';
|
10
|
+
import window from './browser/window.mjs';
|
11
|
+
import _window_location from './browser/window.location.mjs';
|
12
|
+
import _window_history from './browser/window.history.mjs';
|
13
13
|
|
14
14
|
/* eslint-enable no-unused-vars */
|