w-flowchart 1.0.4 → 1.0.5

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * w-flowchart v1.0.4
2
+ * w-flowchart v1.0.5
3
3
  * (c) 2018-2021 yuda-lyu(semisphere)
4
4
  * Released under the MIT License.
5
5
  */
@@ -156,7 +156,7 @@ export default WFlowchart
156
156
  <br class="clear">
157
157
 
158
158
  <footer>
159
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Jul 22 2026 20:38:00 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
159
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Thu Jul 23 2026 18:26:58 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
160
160
  </footer>
161
161
 
162
162
  <script>prettyPrint();</script>
package/docs/global.html CHANGED
@@ -644,7 +644,7 @@ fs.writeFileSync('flowchart.svg', svg)
644
644
  <br class="clear">
645
645
 
646
646
  <footer>
647
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Jul 22 2026 20:38:00 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
647
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Thu Jul 23 2026 18:26:58 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
648
648
  </footer>
649
649
 
650
650
  <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.5</a> on Wed Jul 22 2026 20:38:00 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.5</a> on Thu Jul 23 2026 18:26:58 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,18 +1,18 @@
1
1
  {
2
2
  "name": "w-flowchart",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "main": "dist/w-flowchart.umd.js",
5
5
  "dependencies": {
6
6
  "@terrastruct/d2": "0.1.33",
7
7
  "lodash-es": "^4.18.1",
8
8
  "playwright": "^1.61.1",
9
- "sharp": "0.35.3",
10
- "wsemi": "^1.8.66"
9
+ "sharp": "^0.35.3",
10
+ "wsemi": "^1.8.67"
11
11
  },
12
12
  "devDependencies": {
13
13
  "pixelmatch": "^7.2.0",
14
14
  "pngjs": "^7.0.0",
15
- "w-package-tools": "^1.1.11"
15
+ "w-package-tools": "^1.1.12"
16
16
  },
17
17
  "scripts": {
18
18
  "test": "mocha --parallel --timeout 60000",
@@ -1,35 +1,24 @@
1
- import path from 'path'
2
- import rollupFiles from 'w-package-tools/src/rollupFiles.mjs'
3
- import rollupWorker from 'w-package-tools/src/rollupWorker.mjs'
4
-
5
-
6
- let fdSrc = './src'
7
- let fdTar = './dist'
8
-
9
- async function core() {
10
-
11
- await rollupFiles({ //rollupFiles預設會clean folder
12
- fns: 'WFlowchart.mjs',
13
- fdSrc,
14
- fdTar,
15
- nameDistType: 'kebabCase',
16
- globals: {
17
- '@terrastruct/d2': '@terrastruct/d2',
18
- 'playwright': 'playwright',
19
- 'sharp': 'sharp',
20
- },
21
- external: [ //Node 端執行期依賴(原生/重, 不打包進 dist); 繪圖庫已改由 CDN 於頁面內載入, 非 import, 無須列此
22
- '@terrastruct/d2',
23
- 'playwright',
24
- 'sharp',
25
- ],
26
- })
27
- .catch((err) => {
28
- console.log(err)
29
- })
30
-
31
- }
32
- core()
33
- .catch((err) => {
34
- console.log(err)
35
- })
1
+ import path from 'path'
2
+ import rollupFiles from 'w-package-tools/src/rollupFiles.mjs'
3
+ import rollupWorker from 'w-package-tools/src/rollupWorker.mjs'
4
+
5
+
6
+ let fdSrc = './src'
7
+ let fdTar = './dist'
8
+
9
+ rollupFiles({ //rollupFiles預設會clean folder
10
+ fns: 'WFlowchart.mjs',
11
+ fdSrc,
12
+ fdTar,
13
+ nameDistType: 'kebabCase',
14
+ globals: {
15
+ '@terrastruct/d2': '@terrastruct/d2',
16
+ 'playwright': 'playwright',
17
+ 'sharp': 'sharp',
18
+ },
19
+ external: [ //Node 端執行期依賴(原生/重, 不打包進 dist); 繪圖庫已改由 CDN 於頁面內載入, 非 import, 無須列此
20
+ '@terrastruct/d2',
21
+ 'playwright',
22
+ 'sharp',
23
+ ],
24
+ })