use stock windows-blurbehind

This commit is contained in:
Eugene Pankov 2019-05-06 14:09:30 +02:00
parent 15a2662d10
commit 32e7d2db5c
4 changed files with 8 additions and 15 deletions

View file

@ -12,7 +12,7 @@ let DwmEnableBlurBehindWindow: any
if (process.platform === 'win32') { if (process.platform === 'win32') {
SetWindowCompositionAttribute = require('windows-swca').SetWindowCompositionAttribute SetWindowCompositionAttribute = require('windows-swca').SetWindowCompositionAttribute
AccentState = require('windows-swca').ACCENT_STATE AccentState = require('windows-swca').ACCENT_STATE
DwmEnableBlurBehindWindow = require('@terminus-term/windows-blurbehind').DwmEnableBlurBehindWindow DwmEnableBlurBehindWindow = require('windows-blurbehind').DwmEnableBlurBehindWindow
} }
export interface WindowOptions { export interface WindowOptions {

View file

@ -35,7 +35,7 @@
"zone.js": "^0.8.26" "zone.js": "^0.8.26"
}, },
"optionalDependencies": { "optionalDependencies": {
"@terminus-term/windows-blurbehind": "^1.0.0", "windows-blurbehind": "^1.0.1",
"windows-swca": "^2.0.1" "windows-swca": "^2.0.1"
}, },
"devDependencies": { "devDependencies": {

View file

@ -42,7 +42,7 @@ module.exports = {
path: 'commonjs path', path: 'commonjs path',
yargs: 'commonjs yargs', yargs: 'commonjs yargs',
'windows-swca': 'commonjs windows-swca', 'windows-swca': 'commonjs windows-swca',
'@terminus-term/windows-blurbehind': 'commonjs @terminus-term/windows-blurbehind', 'windows-blurbehind': 'commonjs windows-blurbehind',
}, },
plugins: [ plugins: [
new webpack.optimize.ModuleConcatenationPlugin(), new webpack.optimize.ModuleConcatenationPlugin(),

View file

@ -58,13 +58,6 @@
dependencies: dependencies:
tslib "^1.9.0" tslib "^1.9.0"
"@terminus-term/windows-blurbehind@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@terminus-term/windows-blurbehind/-/windows-blurbehind-1.0.0.tgz#6621da2939180151f8ba0759a3e18246cfab8c05"
integrity sha512-ZRyCIrq6Nmoj+M9MGyECoTGJmIqHa3DBu1z+lpS7lGOfVk3dBSqlh5Pk+0q5lMq8MxvQikHXrF1TOxymi/cicg==
dependencies:
nan "^2.13.2"
"@types/mz@0.0.31": "@types/mz@0.0.31":
version "0.0.31" version "0.0.31"
resolved "https://registry.yarnpkg.com/@types/mz/-/mz-0.0.31.tgz#a4d80c082fefe71e40a7c0f07d1e6555bbbc7b52" resolved "https://registry.yarnpkg.com/@types/mz/-/mz-0.0.31.tgz#a4d80c082fefe71e40a7c0f07d1e6555bbbc7b52"
@ -398,11 +391,6 @@ mz@^2.6.0:
object-assign "^4.0.1" object-assign "^4.0.1"
thenify-all "^1.0.0" thenify-all "^1.0.0"
nan@^2.13.2:
version "2.13.2"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7"
integrity sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw==
ngx-toastr@^9.1.1: ngx-toastr@^9.1.1:
version "9.1.1" version "9.1.1"
resolved "https://registry.yarnpkg.com/ngx-toastr/-/ngx-toastr-9.1.1.tgz#c7ec0284d13951422ccf47439a387372ddccc768" resolved "https://registry.yarnpkg.com/ngx-toastr/-/ngx-toastr-9.1.1.tgz#c7ec0284d13951422ccf47439a387372ddccc768"
@ -632,6 +620,11 @@ which@^1.2.9:
dependencies: dependencies:
isexe "^2.0.0" isexe "^2.0.0"
windows-blurbehind@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/windows-blurbehind/-/windows-blurbehind-1.0.1.tgz#ff098713873304e38330b2c54cc41bb369b587b9"
integrity sha512-1HzHfCiM1ayrbACJu5qE9zELV24uX/tINT6kxaZwLY3rtQAoeav6x9z7LFHWoLaGDN/sYbnK+9Vk0cz7fsk5HQ==
windows-swca@^2.0.1: windows-swca@^2.0.1:
version "2.0.1" version "2.0.1"
resolved "https://registry.yarnpkg.com/windows-swca/-/windows-swca-2.0.1.tgz#25d78ce25251292061494a0ad07c02282b28b4e3" resolved "https://registry.yarnpkg.com/windows-swca/-/windows-swca-2.0.1.tgz#25d78ce25251292061494a0ad07c02282b28b4e3"