electron-screenshots 0.5.12 → 0.5.14

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.
@@ -94,8 +94,7 @@ var Screenshots = /** @class */ (function (_super) {
94
94
  webPreferences: {
95
95
  preload: require.resolve('./preload.js'),
96
96
  nodeIntegration: false,
97
- contextIsolation: true,
98
- nativeWindowOpen: false
97
+ contextIsolation: true
99
98
  }
100
99
  });
101
100
  _this.isReady = new Promise(function (resolve) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-screenshots",
3
- "version": "0.5.12",
3
+ "version": "0.5.14",
4
4
  "description": "electron 截图插件",
5
5
  "types": "lib/screenshots.d.ts",
6
6
  "main": "lib/screenshots.js",
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "debug": "^4.3.3",
39
39
  "fs-extra": "^10.1.0",
40
- "node-screenshots": "^0.0.11",
40
+ "node-screenshots": "^0.0.14",
41
41
  "react-screenshots": "^0.5.10"
42
42
  },
43
43
  "peerDependencies": {
@@ -49,7 +49,7 @@
49
49
  "@typescript-eslint/eslint-plugin": "^5.10.0",
50
50
  "@typescript-eslint/parser": "^5.10.0",
51
51
  "cross-env": "^7.0.3",
52
- "electron": "^17.4.10",
52
+ "electron": "^22.0.0",
53
53
  "eslint": "^8.7.0",
54
54
  "eslint-config-standard": "^16.0.3",
55
55
  "eslint-plugin-import": "^2.25.4",
@@ -58,5 +58,5 @@
58
58
  "rimraf": "^3.0.2",
59
59
  "typescript": "^4.5.5"
60
60
  },
61
- "gitHead": "9e8c448e2255ac3c10cfc98af4306ad952cf2e64"
61
+ "gitHead": "708b4c6a8a0f37f4809556191fd96f4e0b41bb40"
62
62
  }