更新依赖
							parent
							
								
									488b28921f
								
							
						
					
					
						commit
						af6a2ec581
					
				| 
						 | 
				
			
			@ -76,15 +76,6 @@ module.exports = {
 | 
			
		|||
          },
 | 
			
		||||
        }),
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        test: /\.styl(:?us)?$/,
 | 
			
		||||
        oneOf: mergeCSSLoader({
 | 
			
		||||
          loader: 'stylus-loader',
 | 
			
		||||
          options: {
 | 
			
		||||
            sourceMap: true,
 | 
			
		||||
          },
 | 
			
		||||
        }),
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        test: /\.pug$/,
 | 
			
		||||
        oneOf: [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -76,15 +76,6 @@ module.exports = {
 | 
			
		|||
          },
 | 
			
		||||
        }),
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        test: /\.styl(:?us)?$/,
 | 
			
		||||
        oneOf: mergeCSSLoader({
 | 
			
		||||
          loader: 'stylus-loader',
 | 
			
		||||
          options: {
 | 
			
		||||
            sourceMap: true,
 | 
			
		||||
          },
 | 
			
		||||
        }),
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        test: /\.pug$/,
 | 
			
		||||
        oneOf: [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										22
									
								
								package.json
								
								
								
								
							
							
						
						
									
										22
									
								
								package.json
								
								
								
								
							| 
						 | 
				
			
			@ -70,7 +70,7 @@
 | 
			
		|||
    "up": "cross-env ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=http://localhost:1081 npm i"
 | 
			
		||||
  },
 | 
			
		||||
  "browserslist": [
 | 
			
		||||
    "Electron 13.2.1"
 | 
			
		||||
    "Electron 13.3.0"
 | 
			
		||||
  ],
 | 
			
		||||
  "engines": {
 | 
			
		||||
    "node": ">= 14"
 | 
			
		||||
| 
						 | 
				
			
			@ -166,13 +166,13 @@
 | 
			
		|||
  },
 | 
			
		||||
  "homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@babel/core": "^7.15.0",
 | 
			
		||||
    "@babel/core": "^7.15.5",
 | 
			
		||||
    "@babel/plugin-proposal-class-properties": "^7.14.5",
 | 
			
		||||
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
 | 
			
		||||
    "@babel/plugin-transform-modules-umd": "^7.14.5",
 | 
			
		||||
    "@babel/plugin-transform-runtime": "^7.15.0",
 | 
			
		||||
    "@babel/polyfill": "^7.12.1",
 | 
			
		||||
    "@babel/preset-env": "^7.15.0",
 | 
			
		||||
    "@babel/preset-env": "^7.15.4",
 | 
			
		||||
    "babel-eslint": "^10.1.0",
 | 
			
		||||
    "babel-loader": "^8.2.2",
 | 
			
		||||
    "babel-preset-minify": "^0.5.1",
 | 
			
		||||
| 
						 | 
				
			
			@ -181,16 +181,16 @@
 | 
			
		|||
    "chalk": "^4.1.2",
 | 
			
		||||
    "changelog-parser": "^2.8.0",
 | 
			
		||||
    "copy-webpack-plugin": "^9.0.1",
 | 
			
		||||
    "core-js": "^3.16.3",
 | 
			
		||||
    "core-js": "^3.17.2",
 | 
			
		||||
    "cross-env": "^7.0.3",
 | 
			
		||||
    "css-loader": "^6.2.0",
 | 
			
		||||
    "css-minimizer-webpack-plugin": "^3.0.2",
 | 
			
		||||
    "del": "^6.0.0",
 | 
			
		||||
    "electron": "^13.2.3",
 | 
			
		||||
    "electron": "^13.3.0",
 | 
			
		||||
    "electron-builder": "^22.11.7",
 | 
			
		||||
    "electron-debug": "^3.2.0",
 | 
			
		||||
    "electron-devtools-installer": "^3.2.0",
 | 
			
		||||
    "electron-to-chromium": "^1.3.822",
 | 
			
		||||
    "electron-to-chromium": "^1.3.830",
 | 
			
		||||
    "eslint": "^7.32.0",
 | 
			
		||||
    "eslint-config-standard": "^16.0.3",
 | 
			
		||||
    "eslint-formatter-friendly": "^7.0.0",
 | 
			
		||||
| 
						 | 
				
			
			@ -207,7 +207,7 @@
 | 
			
		|||
    "less-loader": "^10.0.1",
 | 
			
		||||
    "less-plugin-clean-css": "^1.5.1",
 | 
			
		||||
    "markdown-it": "^12.2.0",
 | 
			
		||||
    "mini-css-extract-plugin": "^2.2.0",
 | 
			
		||||
    "mini-css-extract-plugin": "^2.2.2",
 | 
			
		||||
    "node-loader": "^2.0.0",
 | 
			
		||||
    "postcss": "^8.3.6",
 | 
			
		||||
    "postcss-loader": "^6.1.1",
 | 
			
		||||
| 
						 | 
				
			
			@ -218,13 +218,11 @@
 | 
			
		|||
    "raw-loader": "^4.0.2",
 | 
			
		||||
    "rimraf": "^3.0.2",
 | 
			
		||||
    "spinnies": "^0.5.1",
 | 
			
		||||
    "stylus": "^0.54.8",
 | 
			
		||||
    "stylus-loader": "^6.1.0",
 | 
			
		||||
    "terser-webpack-plugin": "^5.1.4",
 | 
			
		||||
    "terser-webpack-plugin": "^5.2.3",
 | 
			
		||||
    "url-loader": "^4.1.1",
 | 
			
		||||
    "vue-loader": "^15.9.8",
 | 
			
		||||
    "vue-template-compiler": "^2.6.14",
 | 
			
		||||
    "webpack": "^5.51.1",
 | 
			
		||||
    "webpack": "^5.52.0",
 | 
			
		||||
    "webpack-cli": "^4.8.0",
 | 
			
		||||
    "webpack-dev-server": "^3.11.2",
 | 
			
		||||
    "webpack-hot-middleware": "^2.25.0",
 | 
			
		||||
| 
						 | 
				
			
			@ -246,7 +244,7 @@
 | 
			
		|||
    "needle": "^3.0.0",
 | 
			
		||||
    "node-id3": "^0.2.3",
 | 
			
		||||
    "request": "^2.88.2",
 | 
			
		||||
    "socket.io": "^4.1.3",
 | 
			
		||||
    "socket.io": "^4.2.0",
 | 
			
		||||
    "utf-8-validate": "^5.0.5",
 | 
			
		||||
    "vue": "^2.6.14",
 | 
			
		||||
    "vue-i18n": "^8.25.0",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -47,8 +47,16 @@ exports.createWindow = async userApi => {
 | 
			
		|||
    show: false,
 | 
			
		||||
    webPreferences: {
 | 
			
		||||
      contextIsolation: true,
 | 
			
		||||
      worldSafeExecuteJavaScript: true,
 | 
			
		||||
      // worldSafeExecuteJavaScript: true,
 | 
			
		||||
      nodeIntegration: false,
 | 
			
		||||
 | 
			
		||||
      spellcheck: false,
 | 
			
		||||
      autoplayPolicy: 'document-user-activation-required',
 | 
			
		||||
      enableWebSQL: false,
 | 
			
		||||
      disableDialogs: true,
 | 
			
		||||
      webgl: false,
 | 
			
		||||
      images: false,
 | 
			
		||||
 | 
			
		||||
      preload: path.join(dir, 'renderer/preload.js'),
 | 
			
		||||
    },
 | 
			
		||||
  })
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue