w-audioplayer-vue 2.0.2 → 2.0.6

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.
Files changed (36) hide show
  1. package/.eslintrc.js +1 -0
  2. package/.github/workflows/ci-test.yml +2 -1
  3. package/README.md +1 -2
  4. package/SECURITY.md +5 -0
  5. package/dist/w-audioplayer-vue.umd.js +4 -4
  6. package/dist/w-audioplayer-vue.umd.js.map +1 -1
  7. package/docs/examples/app.html +151 -6
  8. package/docs/examples/app.umd.js +4 -4
  9. package/docs/examples/app.umd.js.map +1 -1
  10. package/docs/examples/{AppBasic.html → ex-AppBasic.html} +19 -21
  11. package/docs/examples/{AppCustomSize.html → ex-AppCustomSize.html} +19 -21
  12. package/docs/examples/{AppDarkCyan.html → ex-AppDarkCyan.html} +19 -21
  13. package/docs/examples/{AppFullSize.html → ex-AppFullSize.html} +19 -21
  14. package/docs/examples/{AppLanguage.html → ex-AppLanguage.html} +19 -21
  15. package/docs/examples/{AppLightPink.html → ex-AppLightPink.html} +19 -21
  16. package/docs/index.html +1 -1
  17. package/docs/module-WAudioplayerVue.html +1 -1
  18. package/package.json +9 -10
  19. package/public/index.html +3 -18
  20. package/src/App.vue +19 -2
  21. package/src/components/WAudioplayerVue.vue +3 -4
  22. package/test/{all.test.js → all.test.mjs} +0 -0
  23. package/test-action/ex-AppBasic.action.json +1 -0
  24. package/test-action/ex-AppCustomSize.action.json +1 -0
  25. package/test-action/ex-AppDarkCyan.action.json +1 -0
  26. package/test-action/ex-AppFullSize.action.json +1 -0
  27. package/test-action/ex-AppLanguage.action.json +1 -0
  28. package/test-action/ex-AppLightPink.action.json +1 -0
  29. package/test-html/{AppBasic.html → ex-AppBasic.html} +18 -20
  30. package/test-html/{AppCustomSize.html → ex-AppCustomSize.html} +18 -20
  31. package/test-html/{AppDarkCyan.html → ex-AppDarkCyan.html} +18 -20
  32. package/test-html/{AppFullSize.html → ex-AppFullSize.html} +18 -20
  33. package/test-html/{AppLanguage.html → ex-AppLanguage.html} +18 -20
  34. package/test-html/{AppLightPink.html → ex-AppLightPink.html} +18 -20
  35. package/toolg/gDistApp.mjs +155 -1
  36. package/toolg/gExtractHtml.mjs +185 -241
package/.eslintrc.js CHANGED
@@ -49,5 +49,6 @@ module.exports = {
49
49
  'node/no-callback-literal': 'off',
50
50
  'prefer-regex-literals': 'off',
51
51
  'array-callback-return': 'off',
52
+ 'no-unreachable-loop': 'off',
52
53
  }
53
54
  };
@@ -9,7 +9,7 @@ jobs:
9
9
 
10
10
  strategy:
11
11
  matrix:
12
- node-version: [12.x, 14.x]
12
+ node-version: [16.x]
13
13
 
14
14
  steps:
15
15
  - uses: actions/checkout@v2
@@ -17,6 +17,7 @@ jobs:
17
17
  uses: actions/setup-node@v1
18
18
  with:
19
19
  node-version: ${{ matrix.node-version }}
20
+ - run: npm cache clean -f
20
21
  - run: npm install
21
22
  - run: npm test
22
23
  env:
package/README.md CHANGED
@@ -4,7 +4,6 @@ An audio player by howler.
4
4
  ![language](https://img.shields.io/badge/language-JavaScript-orange.svg)
5
5
  [![language](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://github.com/vuejs/vue)
6
6
  [![npm version](http://img.shields.io/npm/v/w-audioplayer-vue.svg?style=flat)](https://npmjs.org/package/w-audioplayer-vue)
7
- [![Build Status](https://travis-ci.org/yuda-lyu/w-audioplayer-vue.svg?branch=master)](https://travis-ci.org/yuda-lyu/w-audioplayer-vue) [![license](https://img.shields.io/npm/l/w-audioplayer-vue.svg?style=flat)](https://npmjs.org/package/w-audioplayer-vue)
8
7
  [![gzip file size](http://img.badgesize.io/yuda-lyu/w-audioplayer-vue/master/dist/w-audioplayer-vue.umd.js.svg?compression=gzip)](https://github.com/yuda-lyu/w-audioplayer-vue)
9
8
  [![npm download](https://img.shields.io/npm/dt/w-audioplayer-vue.svg)](https://npmjs.org/package/w-audioplayer-vue)
10
9
  [![jsdelivr download](https://img.shields.io/jsdelivr/npm/hm/w-audioplayer-vue.svg)](https://www.jsdelivr.com/package/npm/w-audioplayer-vue)
@@ -43,7 +42,7 @@ Vue.component('w-audioplayer-vue', WAudioplayerVue)
43
42
  ```
44
43
  [Necessary] Add script for w-audioplayer-vue.
45
44
  ```alias
46
- <script src="https://cdn.jsdelivr.net/npm/w-audioplayer-vue@2.0.2/dist/w-audioplayer-vue.umd.js"></script>
45
+ <script src="https://cdn.jsdelivr.net/npm/w-audioplayer-vue@2.0.6/dist/w-audioplayer-vue.umd.js"></script>
47
46
  ```
48
47
  Directly use:
49
48
  ```alias
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security Policy
2
+
3
+ ## Reporting a Vulnerability
4
+
5
+ Please report security issues to `firsemisphere@gmail.com`