w-json-stream 1.0.13 → 1.0.14
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/.github/workflows/ci-test.yml +24 -0
- package/README.md +2 -3
- package/SECURITY.md +5 -0
- package/dist/into-stream.umd.js +1 -1
- package/dist/json-stream-stringify.umd.js +1 -1
- package/dist/through.umd.js +1 -1
- package/dist/w-json-stream.umd.js +1 -1
- package/docs/WJsonStream.mjs.html +1 -1
- package/docs/examples/ex-large-webworker.html +2 -2
- package/docs/examples/ex-large.html +2 -2
- package/docs/examples/ex-small-stream.html +2 -2
- package/docs/examples/ex-small.html +2 -2
- package/docs/examples/ex-stream-createParseStream.html +2 -2
- package/docs/examples/ex-stream-createParseStreamWithFilter.html +3 -3
- package/docs/examples/ex-stream-createStringifyStream.html +2 -2
- package/docs/global.html +1 -1
- package/docs/index.html +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Node.js CI
|
|
2
|
+
|
|
3
|
+
on: [push]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
strategy:
|
|
11
|
+
matrix:
|
|
12
|
+
node-version: [16.x]
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v2
|
|
16
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
17
|
+
uses: actions/setup-node@v1
|
|
18
|
+
with:
|
|
19
|
+
node-version: ${{ matrix.node-version }}
|
|
20
|
+
- run: npm cache clean -f
|
|
21
|
+
- run: npm install
|
|
22
|
+
- run: npm test
|
|
23
|
+
env:
|
|
24
|
+
CI: true
|
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@ A tool for JSON parse and stringify by stream and web worker.
|
|
|
3
3
|
|
|
4
4
|

|
|
5
5
|
[](https://npmjs.org/package/w-json-stream)
|
|
6
|
-
[](https://travis-ci.org/yuda-lyu/w-json-stream)
|
|
7
6
|
[](https://npmjs.org/package/w-json-stream)
|
|
8
7
|
[](https://github.com/yuda-lyu/w-json-stream)
|
|
9
8
|
[](https://npmjs.org/package/w-json-stream)
|
|
@@ -443,10 +442,10 @@ testStream()
|
|
|
443
442
|
```alias
|
|
444
443
|
|
|
445
444
|
<!-- for basic -->
|
|
446
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
445
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.umd.js"></script>
|
|
447
446
|
|
|
448
447
|
<!-- for web workers -->
|
|
449
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
448
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.wk.umd.js"></script>
|
|
450
449
|
|
|
451
450
|
```
|
|
452
451
|
|
package/SECURITY.md
ADDED
package/dist/into-stream.umd.js
CHANGED
package/dist/through.umd.js
CHANGED
|
@@ -284,7 +284,7 @@ export default WJsonStream
|
|
|
284
284
|
<br class="clear">
|
|
285
285
|
|
|
286
286
|
<footer>
|
|
287
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on
|
|
287
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Thu Dec 16 2021 13:39:10 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
288
288
|
</footer>
|
|
289
289
|
|
|
290
290
|
<script>prettyPrint();</script>
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
<script src="https://cdn.jsdelivr.net/npm/wsemi/dist/wsemi.umd.js"></script>
|
|
12
12
|
|
|
13
|
-
<script _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
14
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
13
|
+
<script _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.umd.js"></script>
|
|
14
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.wk.umd.js"></script>
|
|
15
15
|
|
|
16
16
|
<script>
|
|
17
17
|
console.log('WebWorkers(from blob) does not support IE11')
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
<script src="https://cdn.jsdelivr.net/npm/wsemi/dist/wsemi.umd.js"></script>
|
|
12
12
|
|
|
13
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
14
|
-
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
13
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.umd.js"></script>
|
|
14
|
+
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.wk.umd.js"></script>
|
|
15
15
|
|
|
16
16
|
<script>
|
|
17
17
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
<script src="https://cdn.jsdelivr.net/npm/wsemi/dist/wsemi.umd.js"></script>
|
|
12
12
|
|
|
13
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
14
|
-
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
13
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.umd.js"></script>
|
|
14
|
+
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.wk.umd.js"></script>
|
|
15
15
|
|
|
16
16
|
<script>
|
|
17
17
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
<script src="https://cdn.jsdelivr.net/npm/wsemi/dist/wsemi.umd.js"></script>
|
|
12
12
|
|
|
13
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
14
|
-
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
13
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.umd.js"></script>
|
|
14
|
+
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.wk.umd.js"></script>
|
|
15
15
|
|
|
16
16
|
<script>
|
|
17
17
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
<script src="https://cdn.jsdelivr.net/npm/wsemi/dist/wsemi.umd.js"></script>
|
|
12
12
|
|
|
13
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
14
|
-
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
13
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.umd.js"></script>
|
|
14
|
+
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.wk.umd.js"></script>
|
|
15
15
|
|
|
16
16
|
<script>
|
|
17
17
|
console.log('ReadableStream does not support IE11')
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
|
|
13
13
|
<script src="https://cdn.jsdelivr.net/npm/wsemi/dist/wsemi.umd.js"></script>
|
|
14
14
|
|
|
15
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
16
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
17
|
-
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
15
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/into-stream.umd.js"></script>
|
|
16
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.umd.js"></script>
|
|
17
|
+
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.wk.umd.js"></script>
|
|
18
18
|
|
|
19
19
|
<script>
|
|
20
20
|
console.log('ReadableStream does not support IE11')
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
<script src="https://cdn.jsdelivr.net/npm/wsemi/dist/wsemi.umd.js"></script>
|
|
12
12
|
|
|
13
|
-
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
14
|
-
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.
|
|
13
|
+
<script src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.umd.js"></script>
|
|
14
|
+
<script msg="封裝woker無法回傳stream對象" _src="https://cdn.jsdelivr.net/npm/w-json-stream@1.0.14/dist/w-json-stream.wk.umd.js"></script>
|
|
15
15
|
|
|
16
16
|
<script>
|
|
17
17
|
console.log('WritableStream does not support IE11 and Firefox')
|
package/docs/global.html
CHANGED
|
@@ -1186,7 +1186,7 @@
|
|
|
1186
1186
|
<br class="clear">
|
|
1187
1187
|
|
|
1188
1188
|
<footer>
|
|
1189
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on
|
|
1189
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Thu Dec 16 2021 13:39:10 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1190
1190
|
</footer>
|
|
1191
1191
|
|
|
1192
1192
|
<script>prettyPrint();</script>
|
package/docs/index.html
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<br class="clear">
|
|
69
69
|
|
|
70
70
|
<footer>
|
|
71
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on
|
|
71
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> on Thu Dec 16 2021 13:39:10 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
72
72
|
</footer>
|
|
73
73
|
|
|
74
74
|
<script>prettyPrint();</script>
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w-json-stream",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "A tool for JSON parse and stringify by stream and web worker.",
|
|
5
5
|
"main": "dist/w-json-stream.umd.js",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"from2": "^2.3.0",
|
|
8
8
|
"jsonparse": "^1.3.1",
|
|
9
9
|
"lodash": "^4.17.21",
|
|
10
|
-
"wsemi": "^1.6.
|
|
10
|
+
"wsemi": "^1.6.34"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"w-package-tools": "^1.0.59"
|