typeson-registry 9.1.1 → 9.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 +6 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -27
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.umd.cjs +74 -25
- package/dist/index.umd.cjs.map +1 -1
- package/dist/index.umd.min.cjs +1 -1
- package/dist/index.umd.min.cjs.map +1 -1
- package/dist/presets/builtin.umd.cjs +1 -1
- package/dist/presets/builtin.umd.cjs.map +1 -1
- package/dist/presets/postmessage.umd.cjs +1 -1
- package/dist/presets/postmessage.umd.cjs.map +1 -1
- package/dist/presets/socketio.umd.cjs +1 -1
- package/dist/presets/socketio.umd.cjs.map +1 -1
- package/dist/presets/structured-cloning-throwing.umd.cjs +1 -1
- package/dist/presets/structured-cloning-throwing.umd.cjs.map +1 -1
- package/dist/presets/structured-cloning.d.ts.map +1 -1
- package/dist/presets/structured-cloning.umd.cjs +1 -1
- package/dist/presets/structured-cloning.umd.cjs.map +1 -1
- package/dist/presets/universal.umd.cjs +1 -1
- package/dist/presets/universal.umd.cjs.map +1 -1
- package/dist/types/dommatrix.d.ts.map +1 -1
- package/dist/types/dommatrix.umd.cjs +1 -1
- package/dist/types/dommatrix.umd.cjs.map +1 -1
- package/dist/types/dompoint.d.ts.map +1 -1
- package/dist/types/dompoint.umd.cjs +1 -1
- package/dist/types/dompoint.umd.cjs.map +1 -1
- package/dist/types/domquad.d.ts +6 -0
- package/dist/types/domquad.d.ts.map +1 -0
- package/dist/types/domquad.umd.cjs +2 -0
- package/dist/types/domquad.umd.cjs.map +1 -0
- package/dist/types/domrect.d.ts.map +1 -1
- package/dist/types/domrect.umd.cjs +1 -1
- package/dist/types/domrect.umd.cjs.map +1 -1
- package/dist/types/errors.umd.cjs +1 -1
- package/dist/types/errors.umd.cjs.map +1 -1
- package/package.json +21 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typeson-registry",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"description": "The type registry for typeson",
|
|
5
5
|
"author": "dfahlander",
|
|
6
6
|
"contributors": [
|
|
@@ -21,6 +21,24 @@
|
|
|
21
21
|
},
|
|
22
22
|
"./*": "./*"
|
|
23
23
|
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"tsc": "tsc && node tools/append-to-declaration-files.js",
|
|
26
|
+
"prepublishOnly": "pnpm i",
|
|
27
|
+
"eslint": "eslint --ext js,md,html .",
|
|
28
|
+
"lint": "npm run eslint --",
|
|
29
|
+
"start": "static -p 8085",
|
|
30
|
+
"rollup": "node ./build.js",
|
|
31
|
+
"build": "npm run rollup && tsc -p tsconfig-build.json",
|
|
32
|
+
"mocha": "mocha --require chai/register-expect.js --require chai/register-assert.js test/*.js",
|
|
33
|
+
"open-coverage": "open-cli http://localhost:8085/coverage/ && npm start",
|
|
34
|
+
"coverage": "rm -Rf node_modules/.cache && c8 npm run mocha",
|
|
35
|
+
"test-nocov": "npm run build && npm run eslint && npm run coverage",
|
|
36
|
+
"test": "npm run build && npm run eslint && npm run coverage",
|
|
37
|
+
"test:worker-open": "open-cli http://localhost:8085/browser-test/worker.html && npm start",
|
|
38
|
+
"test:browser-open": "open-cli http://localhost:8085/browser-test/ && npm start",
|
|
39
|
+
"test:browser": "npm run build && npm run eslint && npm run test:browser-open",
|
|
40
|
+
"windows": "node windows-devinstall"
|
|
41
|
+
},
|
|
24
42
|
"c8": {
|
|
25
43
|
"reporter": [
|
|
26
44
|
"text",
|
|
@@ -113,22 +131,5 @@
|
|
|
113
131
|
"typeson": "^9.0.3",
|
|
114
132
|
"whatwg-url": "^14.0.0"
|
|
115
133
|
},
|
|
116
|
-
"tonicExample": "var Typeson = require('typeson');\nvar TSON = new Typeson().register(require('typeson-registry/dist/presets/builtin'));\n\nTSON.stringify({foo: new Date()}, null, 2);"
|
|
117
|
-
|
|
118
|
-
"tsc": "tsc && node tools/append-to-declaration-files.js",
|
|
119
|
-
"eslint": "eslint --ext js,md,html .",
|
|
120
|
-
"lint": "npm run eslint --",
|
|
121
|
-
"start": "static -p 8085",
|
|
122
|
-
"rollup": "node ./build.js",
|
|
123
|
-
"build": "npm run rollup && tsc -p tsconfig-build.json",
|
|
124
|
-
"mocha": "mocha --require chai/register-expect.js --require chai/register-assert.js test/*.js",
|
|
125
|
-
"open-coverage": "open-cli http://localhost:8085/coverage/ && npm start",
|
|
126
|
-
"coverage": "rm -Rf node_modules/.cache && c8 npm run mocha",
|
|
127
|
-
"test-nocov": "npm run build && npm run eslint && npm run coverage",
|
|
128
|
-
"test": "npm run build && npm run eslint && npm run coverage",
|
|
129
|
-
"test:worker-open": "open-cli http://localhost:8085/browser-test/worker.html && npm start",
|
|
130
|
-
"test:browser-open": "open-cli http://localhost:8085/browser-test/ && npm start",
|
|
131
|
-
"test:browser": "npm run build && npm run eslint && npm run test:browser-open",
|
|
132
|
-
"windows": "node windows-devinstall"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
134
|
+
"tonicExample": "var Typeson = require('typeson');\nvar TSON = new Typeson().register(require('typeson-registry/dist/presets/builtin'));\n\nTSON.stringify({foo: new Date()}, null, 2);"
|
|
135
|
+
}
|