From 8067f8e1ff5445efd90811b8110804e2c736251f Mon Sep 17 00:00:00 2001 From: rafael-aero Date: Thu, 3 Mar 2022 08:21:35 +0100 Subject: [PATCH] Update to 17.1.0, remove soon to be deprecated nativeWindowOpen optiojn --- .devops/build-nuget.yaml | 2 +- ElectronNET.API/Entities/WebPreferences.cs | 5 ----- ElectronNET.CLI/Commands/BuildCommand.cs | 2 +- ElectronNET.Host/package-lock.json | 24 +++++++++++----------- ElectronNET.Host/package.json | 6 +++--- 5 files changed, 17 insertions(+), 22 deletions(-) diff --git a/.devops/build-nuget.yaml b/.devops/build-nuget.yaml index 1f6a292..cf0f44a 100644 --- a/.devops/build-nuget.yaml +++ b/.devops/build-nuget.yaml @@ -1,5 +1,5 @@ variables: - PackageVersion: 17.0.1.$(Build.BuildId) + PackageVersion: 17.1.0.$(Build.BuildId) projectAPI: './ElectronNET.API/ElectronNET.API.csproj' projectCLI: './ElectronNET.CLI/ElectronNET.CLI.csproj' diff --git a/ElectronNET.API/Entities/WebPreferences.cs b/ElectronNET.API/Entities/WebPreferences.cs index 294d57d..1ecee13 100644 --- a/ElectronNET.API/Entities/WebPreferences.cs +++ b/ElectronNET.API/Entities/WebPreferences.cs @@ -195,11 +195,6 @@ namespace ElectronNET.API.Entities [DefaultValue(true)] public bool ContextIsolation { get; set; } = true; - /// - /// Whether to use native window.open(). Defaults to false. This option is currently experimental. - /// - public bool NativeWindowOpen { get; set; } - /// /// Whether to enable the Webview. Defaults to the value of the nodeIntegration option. The /// preload script configured for the Webview will have node integration enabled diff --git a/ElectronNET.CLI/Commands/BuildCommand.cs b/ElectronNET.CLI/Commands/BuildCommand.cs index 3d83a14..39711c6 100644 --- a/ElectronNET.CLI/Commands/BuildCommand.cs +++ b/ElectronNET.CLI/Commands/BuildCommand.cs @@ -35,7 +35,7 @@ Full example for a 32bit debug build with electron prune: build /target custom w _args = args; } - private const string _defaultElectronVersion = "17.0.1"; + private const string _defaultElectronVersion = "17.1.0"; private const string _paramTarget = "target"; private const string _paramDotNetConfig = "dotnet-configuration"; diff --git a/ElectronNET.Host/package-lock.json b/ElectronNET.Host/package-lock.json index 00085b5..adb53ff 100644 --- a/ElectronNET.Host/package-lock.json +++ b/ElectronNET.Host/package-lock.json @@ -71,9 +71,9 @@ } }, "@types/node": { - "version": "16.11.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.25.tgz", - "integrity": "sha512-NrTwfD7L1RTc2qrHQD4RTTy4p0CO2LatKBEKEds3CaVuhoM/+DJzmWZl5f+ikR8cm8F5mfJxK+9rQq07gRiSjQ==", + "version": "16.11.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.26.tgz", + "integrity": "sha512-GZ7bu5A6+4DtG7q9GsoHXy3ALcgeIHP4NnL0Vv2wu0uUB/yQex26v0tf6/na1mm0+bS9Uw+0DFex7aaKr2qawQ==", "dev": true }, "@types/semver": { @@ -153,9 +153,9 @@ "integrity": "sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==" }, "boolean": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.1.4.tgz", - "integrity": "sha512-3hx0kwU3uzG6ReQ3pnaFQPSktpBw6RHN3/ivDKEuU8g1XSfafowyvDnadjv1xp8IZqhtSukxlwv9bF6FhX8m0w==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.2.0.tgz", + "integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==", "dev": true, "optional": true }, @@ -390,9 +390,9 @@ "dev": true }, "electron": { - "version": "17.0.1", - "resolved": "https://registry.npmjs.org/electron/-/electron-17.0.1.tgz", - "integrity": "sha512-CBReR/QEOpgwMdt59lWCtj9wC8oHB6aAjMF1lhXcGew132xtp+C5N6EaXb/fmDceVYLouziYjbNcpeXsWrqdpA==", + "version": "17.1.0", + "resolved": "https://registry.npmjs.org/electron/-/electron-17.1.0.tgz", + "integrity": "sha512-X/qdldmQ8lA15NmeraubWCTtMeTO8K9Ser0wtSCgOXVh53Sr1Ea0VQQ7Q9LuGgWRVz4qtr40cntuEdM8icdmTw==", "dev": true, "requires": { "@electron/get": "^1.13.0", @@ -1391,9 +1391,9 @@ "dev": true }, "typescript": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", - "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.2.tgz", + "integrity": "sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg==", "dev": true }, "universalify": { diff --git a/ElectronNET.Host/package.json b/ElectronNET.Host/package.json index fe1a919..3b938f2 100644 --- a/ElectronNET.Host/package.json +++ b/ElectronNET.Host/package.json @@ -19,9 +19,9 @@ "socket.io": "^2.4.0" }, "devDependencies": { - "@types/node": "^16.11.25", - "electron": "^17.0.1", + "@types/node": "^16.11.26", + "electron": "^17.1.0", "tslint": "^6.1.3", - "typescript": "^4.5.5" + "typescript": "^4.6.2" } }