w-dwdata-tweq 1.0.2 → 1.0.4

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.
@@ -319,7 +319,7 @@ export default WDwdataTweq
319
319
  <br class="clear">
320
320
 
321
321
  <footer>
322
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a> on Sun Aug 24 2025 23:30:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
322
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a> on Sun Aug 24 2025 23:44:02 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
323
323
  </footer>
324
324
 
325
325
  <script>prettyPrint();</script>
package/docs/global.html CHANGED
@@ -768,7 +768,7 @@
768
768
  <br class="clear">
769
769
 
770
770
  <footer>
771
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a> on Sun Aug 24 2025 23:30:15 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
771
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a> on Sun Aug 24 2025 23:44:02 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
772
772
  </footer>
773
773
 
774
774
  <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.4</a> on Sun Aug 24 2025 23:30:15 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.4</a> on Sun Aug 24 2025 23:44:02 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,12 +1,12 @@
1
1
  {
2
2
  "name": "w-dwdata-tweq",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "main": "dist/w-dwdata-tweq.umd.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.11.0",
7
7
  "lodash-es": "^4.17.21",
8
8
  "sharp": "^0.34.3",
9
- "w-dwdata-builder": "^1.0.2",
9
+ "w-dwdata-builder": "^1.0.3",
10
10
  "wsemi": "^1.8.18"
11
11
  },
12
12
  "devDependencies": {
@@ -1,4 +1,4 @@
1
- import { writeFile } from 'fs/promises'
1
+ import fs from 'fs'
2
2
  import get from 'lodash-es/get.js'
3
3
  import isp0int from 'wsemi/src/isp0int.mjs'
4
4
  import cdbl from 'wsemi/src/cdbl.mjs'
@@ -21,7 +21,7 @@ let core = async (url, fp) => {
21
21
  let buffer = Buffer.from(arrayBuffer)
22
22
 
23
23
  //writeFile
24
- await writeFile(fp, buffer)
24
+ fs.writeFileSync(fp, buffer)
25
25
 
26
26
  }
27
27
 
@@ -17,10 +17,20 @@ rollupFiles({
17
17
  globals: {
18
18
  'path': 'path',
19
19
  'fs': 'fs',
20
+ 'url': 'url',
21
+ 'pino': 'pino',
22
+ 'events': 'events',
23
+ 'chokidar': 'chokidar',
24
+ 'sharp': 'sharp',
20
25
  },
21
26
  external: [
22
27
  'path',
23
28
  'fs',
29
+ 'url',
30
+ 'pino',
31
+ 'events',
32
+ 'chokidar',
33
+ 'sharp',
24
34
  ],
25
35
  })
26
36