xgplayer 2.32.1 → 2.32.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xgplayer",
3
- "version": "2.32.1",
3
+ "version": "2.32.2",
4
4
  "description": "video player",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./types/index.d.ts",
@@ -57,11 +57,11 @@
57
57
  "core-js": "^2.5.4",
58
58
  "css-loader": "^0.28.11",
59
59
  "json-loader": "^0.5.7",
60
- "node-sass": "^4.8.3",
61
60
  "postcss-cssnext": "^3.1.0",
62
61
  "postcss-loader": "^2.1.5",
63
62
  "raw-loader": "^2.0.0",
64
- "sass-loader": "^6.0.7",
63
+ "sass": "^1.56.1",
64
+ "sass-loader": "^10.3.1",
65
65
  "style-loader": "^0.20.3",
66
66
  "sugarss": "^1.0.1",
67
67
  "uglifyjs-webpack-plugin": "^2.2.0",
@@ -14,10 +14,12 @@
14
14
  overflow: hidden;
15
15
  z-index: 9;
16
16
  outline: none;
17
+ pointer-events: none;
17
18
  > * {
18
19
  position: absolute;
19
20
  white-space: nowrap;
20
21
  z-index: 9;
22
+ pointer-events: auto;
21
23
  }
22
24
  }
23
25
  }
package/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "2.32.1"
2
+ "version": "2.32.2"
3
3
  }
package/webpack.config.js CHANGED
@@ -16,35 +16,40 @@ const rules = [{
16
16
  }
17
17
  },
18
18
  'postcss-loader',
19
- 'sass-loader'
19
+ {
20
+ loader: 'sass-loader',
21
+ options: {
22
+ implementation: require('sass')
23
+ }
24
+ }
20
25
  ]
21
26
  }, {
22
27
  test: /\.svg/,
23
28
  loader: 'raw-loader'
24
- }];
29
+ }]
25
30
 
26
31
  const umdModuleConfig = {
27
32
  rules
28
- };
33
+ }
29
34
 
30
35
  const babelModuleConfig = {
31
36
  rules: rules.concat({
32
- test:/\.(js|jsx)$/,
33
- use:{
34
- loader:'babel-loader',
35
- options:{
36
- presets:[
37
+ test: /\.(js|jsx)$/,
38
+ use: {
39
+ loader: 'babel-loader',
40
+ options: {
41
+ presets: [
37
42
  'es2015'
38
43
  ],
39
44
  plugins: [
40
- "add-module-exports",
41
- "babel-plugin-bulk-import"
45
+ 'add-module-exports',
46
+ 'babel-plugin-bulk-import'
42
47
  ]
43
48
  }
44
49
  },
45
- exclude:/node_modules/
50
+ exclude: /node_modules/
46
51
  })
47
- };
52
+ }
48
53
 
49
54
  const umd = {
50
55
  entry: {
@@ -107,10 +112,10 @@ const client = {
107
112
  }
108
113
  }
109
114
 
110
- const controls = ['airplay', 'cssFullscreen', 'danmu', 'definition', 'download', 'enter', 'error', 'errorRetry',
111
- 'flex', 'fullscreen', 'i18n', 'keyboard', 'loading', 'localPreview', 'memoryPlay', 'miniplayer', 'mobile', 'pc',
112
- 'pip', 'play', 'playbackRate', 'playNext', 'poster', 'progress', 'reload', 'replay', 'rotate', 'screenShot',
113
- 'start', 'textTrack', 'nativeTextTrack', 'time', 'volume'];
115
+ const controls = ['airplay', 'cssFullscreen', 'danmu', 'definition', 'download', 'enter', 'error', 'errorRetry',
116
+ 'flex', 'fullscreen', 'i18n', 'keyboard', 'loading', 'localPreview', 'memoryPlay', 'miniplayer', 'mobile', 'pc',
117
+ 'pip', 'play', 'playbackRate', 'playNext', 'poster', 'progress', 'reload', 'replay', 'rotate', 'screenShot',
118
+ 'start', 'textTrack', 'nativeTextTrack', 'time', 'volume']
114
119
 
115
120
  const umd_es6_controls = controls.map(key => {
116
121
  return {