w-data-html-minify 1.0.6 → 1.0.7

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.
@@ -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: [20.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
@@ -42,7 +42,7 @@ console.log(hout)
42
42
 
43
43
  [Necessary] Add script for w-data-html-minify.
44
44
  ```alias
45
- <script src="https://cdn.jsdelivr.net/npm/w-data-html-minify@1.0.6/dist/w-data-html-minify.umd.js"></script>
45
+ <script src="https://cdn.jsdelivr.net/npm/w-data-html-minify@1.0.7/dist/w-data-html-minify.umd.js"></script>
46
46
  ```
47
47
 
48
48
  > **minify html:** [ex-html-minify.html](https://yuda-lyu.github.io/w-data-html-minify/examples/ex-html-minify.html) [[source code](https://github.com/yuda-lyu/w-data-html-minify/blob/master/docs/examples/ex-html-minify.html)]
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * w-data-html-minify v1.0.6
2
+ * w-data-html-minify v1.0.7
3
3
  * (c) 2018-2021 yuda-lyu(semisphere)
4
4
  * Released under the MIT License.
5
5
  */
@@ -121,7 +121,7 @@ export default WDataHtmlMinify
121
121
  <br class="clear">
122
122
 
123
123
  <footer>
124
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 21:35:25 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
124
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Mar 23 2024 16:27:47 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
125
125
  </footer>
126
126
 
127
127
  <script>prettyPrint();</script>
@@ -11,7 +11,7 @@
11
11
  <script src="https://cdn.jsdelivr.net/npm/wsemi/dist/wsemi.umd.js"></script>
12
12
 
13
13
  <script _src="../src/htmlminifier.min.js"></script>
14
- <script src="https://cdn.jsdelivr.net/npm/w-data-html-minify@1.0.6/dist/w-data-html-minify.umd.js"></script>
14
+ <script src="https://cdn.jsdelivr.net/npm/w-data-html-minify@1.0.7/dist/w-data-html-minify.umd.js"></script>
15
15
 
16
16
  </head>
17
17
 
package/docs/global.html CHANGED
@@ -364,7 +364,7 @@
364
364
  <br class="clear">
365
365
 
366
366
  <footer>
367
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 21:35:25 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
367
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Mar 23 2024 16:27:47 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
368
368
  </footer>
369
369
 
370
370
  <script>prettyPrint();</script>
@@ -94,7 +94,7 @@ export default htmlminifier
94
94
  <br class="clear">
95
95
 
96
96
  <footer>
97
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 21:35:25 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
97
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Mar 23 2024 16:27:47 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
98
98
  </footer>
99
99
 
100
100
  <script>prettyPrint();</script>
package/docs/index.html CHANGED
@@ -71,7 +71,7 @@
71
71
  <br class="clear">
72
72
 
73
73
  <footer>
74
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Mar 19 2024 21:35:25 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
74
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sat Mar 23 2024 16:27:47 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
75
75
  </footer>
76
76
 
77
77
  <script>prettyPrint();</script>
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "w-data-html-minify",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "main": "dist/w-data-html-minify.umd.js",
5
5
  "dependencies": {
6
6
  "html-minifier": "^4.0.0",
7
7
  "lodash-es": "^4.17.21",
8
- "wsemi": "^1.7.47"
8
+ "wsemi": "^1.7.49"
9
9
  },
10
10
  "devDependencies": {
11
- "w-package-tools": "^1.0.73"
11
+ "w-package-tools": "^1.0.75"
12
12
  },
13
13
  "scripts": {
14
14
  "test": "mocha --parallel --timeout 60000 --experimental-modules --es-module-specifier-resolution=node",
package/script.txt ADDED
@@ -0,0 +1,20 @@
1
+ #node --experimental-modules --es-module-specifier-resolution=node toolg/addVersion.mjs
2
+ node --experimental-modules --es-module-specifier-resolution=node toolg/modifyReadme.mjs
3
+
4
+ node --experimental-modules --es-module-specifier-resolution=node toolg/cleanFolder.mjs
5
+ ./node_modules/.bin/jsdoc -c .jsdoc
6
+
7
+ node --experimental-modules --es-module-specifier-resolution=node toolg/gDocsExams.mjs
8
+
9
+ node --experimental-modules --es-module-specifier-resolution=node toolg/gDistRollup.mjs
10
+
11
+ git add . -A
12
+ git commit -m 'modify: '
13
+ git push origin master:master
14
+
15
+ npm run deploy
16
+
17
+ #npm test
18
+
19
+ #npm publish
20
+
@@ -1,4 +1,4 @@
1
- import get from 'lodash-es/get'
1
+ import get from 'lodash-es/get.js'
2
2
  import htmlMinifier from 'html-minifier'
3
3
 
4
4
  //同前端直接取用minify
@@ -2,7 +2,7 @@ import assert from 'assert'
2
2
  import wdhm from '../src/WDataHtmlMinify.mjs'
3
3
 
4
4
 
5
- describe('all', function() {
5
+ describe('minify', function() {
6
6
 
7
7
  let hin = `
8
8
  <html>
File without changes