@es-joy/jsoe 0.14.0 → 0.16.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/.eslintrc.cjs +2 -0
- package/.nyc_output/out.json +16273 -6832
- package/CHANGES.md +9 -0
- package/README.md +6 -18
- package/demo/index-instrumented.js +644 -0
- package/demo/index.js +3 -421
- package/dist/formats/indexedDBKey.d.ts.map +1 -1
- package/dist/formats/structuredCloning.d.ts.map +1 -1
- package/dist/index.js +1472 -54
- package/dist/superTypes/buffersourceType.d.ts +8 -0
- package/dist/superTypes/buffersourceType.d.ts.map +1 -0
- package/dist/types.d.ts +3 -4
- package/dist/types.d.ts.map +1 -1
- package/package.json +28 -29
- package/rollup.config.js +1 -1
- package/src/formats/indexedDBKey.js +2 -3
- package/src/formats/structuredCloning.js +3 -29
- package/src/fundamentalTypes/regexpType.js +1 -1
- package/src/jsoe.css +64 -0
- package/src/superTypes/buffersourceType.js +1455 -0
- package/src/types.js +3 -7
package/src/types.js
CHANGED
|
@@ -41,6 +41,7 @@ import domexceptionType from './fundamentalTypes/domexceptionType.js';
|
|
|
41
41
|
import domrectType from './superTypes/domrectType.js';
|
|
42
42
|
import dompointType from './superTypes/dompointType.js';
|
|
43
43
|
import dommatrixType from './superTypes/dommatrixType.js';
|
|
44
|
+
import buffersourceType from './superTypes/buffersourceType.js';
|
|
44
45
|
import noneditableType from './fundamentalTypes/noneditableType.js';
|
|
45
46
|
|
|
46
47
|
/**
|
|
@@ -371,7 +372,7 @@ export const getPropertyValueFromLegend = (legend) => {
|
|
|
371
372
|
* "objectReference"|"array"|"object"|"date"|"userObject"|"undef"|
|
|
372
373
|
* "SpecialRealNumber"|"SpecialNumber"|"regexp"|"BooleanObject"|
|
|
373
374
|
* "NumberObject"|"StringObject"|"map"|"set"|"file"|"filelist"|"blobHTML"|
|
|
374
|
-
* "
|
|
375
|
+
* "buffersource"|"dataview"|"imagedata"|"imagebitmap"|
|
|
375
376
|
* "int8array"|"uint8array"|"uint8clampedarray"|"int16array"|"uint16array"|
|
|
376
377
|
* "int32array"|"uint32array"|"float32array"|"float64array"|"ValidDate"|
|
|
377
378
|
* "arrayNonindexKeys"|"error"|"errors"|"blob"|"domexception"|"domrect"|
|
|
@@ -449,12 +450,7 @@ class Types {
|
|
|
449
450
|
|
|
450
451
|
resurrectable: noneditableType,
|
|
451
452
|
|
|
452
|
-
|
|
453
|
-
option: ['ArrayBuffer']
|
|
454
|
-
},
|
|
455
|
-
arraybufferview: {
|
|
456
|
-
option: ['ArrayBufferView']
|
|
457
|
-
},
|
|
453
|
+
buffersource: buffersourceType,
|
|
458
454
|
dataview: {
|
|
459
455
|
option: ['DataView']
|
|
460
456
|
},
|