Skip to content

Commit b56bb28

Browse files
committed
chore: update deps
1 parent 51becb5 commit b56bb28

File tree

19 files changed

+56
-49
lines changed

19 files changed

+56
-49
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
"app-builder-bin": "2.6.6",
3636
"archiver": "^3.0.0",
3737
"async-exit-hook": "^2.0.1",
38-
"bluebird-lst": "^1.0.8",
38+
"bluebird-lst": "^1.0.9",
3939
"chalk": "^2.4.2",
4040
"chromium-pickle-js": "^0.2.0",
4141
"debug": "^4.1.1",
4242
"ejs": "^2.6.1",
4343
"electron-osx-sign": "0.4.11",
44-
"fs-extra-p": "^8.0.0",
44+
"fs-extra-p": "^8.0.2",
4545
"hosted-git-info": "^2.7.1",
4646
"iconv-lite": "^0.4.24",
4747
"ini": "^1.3.5",
@@ -66,7 +66,9 @@
6666
"temp-file": "^3.3.2",
6767
"tunnel-agent": "^0.6.0",
6868
"update-notifier": "^3.0.0",
69-
"yargs": "^13.2.4"
69+
"yargs": "^13.2.4",
70+
"@types/debug": "^4.1.4",
71+
"@types/semver": "^6.0.0"
7072
},
7173
"devDependencies": {
7274
"@babel/core": "^7.4.5",
@@ -88,7 +90,6 @@
8890
"@babel/plugin-syntax-import-meta": "^7.2.0",
8991
"@babel/preset-env": "^7.4.5",
9092
"@babel/preset-react": "^7.0.0",
91-
"@types/debug": "^4.1.4",
9293
"@types/ejs": "^2.6.3",
9394
"@types/ini": "^1.3.30",
9495
"@types/jest": "^24.0.13",
@@ -97,7 +98,6 @@
9798
"@types/node-emoji": "^1.8.1",
9899
"@types/sanitize-filename": "^1.1.28",
99100
"@types/sax": "^1.2.0",
100-
"@types/semver": "^6.0.0",
101101
"@types/source-map-support": "^0.5.0",
102102
"@types/stat-mode": "^0.2.0",
103103
"@types/yargs": "^13.0.0",

packages/app-builder-lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@
4444
"7zip-bin": "~4.1.0",
4545
"app-builder-bin": "2.6.6",
4646
"async-exit-hook": "^2.0.1",
47-
"bluebird-lst": "^1.0.8",
47+
"bluebird-lst": "^1.0.9",
4848
"chromium-pickle-js": "^0.2.0",
4949
"builder-util-runtime": "0.0.0-semantic-release",
5050
"builder-util": "0.0.0-semantic-release",
5151
"electron-osx-sign": "0.4.11",
5252
"electron-publish": "0.0.0-semantic-release",
53-
"fs-extra-p": "^8.0.0",
53+
"fs-extra-p": "^8.0.2",
5454
"hosted-git-info": "^2.7.1",
5555
"is-ci": "^2.0.0",
5656
"isbinaryfile": "^4.0.0",

packages/builder-util-runtime/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
},
1616
"dependencies": {
1717
"debug": "^4.1.1",
18-
"fs-extra-p": "^8.0.0",
19-
"bluebird-lst": "^1.0.8",
18+
"fs-extra-p": "^8.0.2",
19+
"bluebird-lst": "^1.0.9",
2020
"sax": "^1.2.4"
2121
},
2222
"types": "./out/index.d.ts"

packages/builder-util/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"dependencies": {
1414
"app-builder-bin": "2.6.6",
1515
"temp-file": "^3.3.2",
16-
"fs-extra-p": "^8.0.0",
16+
"fs-extra-p": "^8.0.2",
1717
"is-ci": "^2.0.0",
1818
"stat-mode": "^0.3.0",
19-
"bluebird-lst": "^1.0.8",
19+
"bluebird-lst": "^1.0.9",
2020
"chalk": "^2.4.2",
2121
"debug": "^4.1.1",
2222
"builder-util-runtime": "^0.0.0-semantic-release",

packages/dmg-builder/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"vendor"
1414
],
1515
"dependencies": {
16-
"fs-extra-p": "^8.0.0",
17-
"bluebird-lst": "^1.0.8",
16+
"fs-extra-p": "^8.0.2",
17+
"bluebird-lst": "^1.0.9",
1818
"parse-color": "^1.0.0",
1919
"builder-util": "~0.0.0-semantic-release",
2020
"iconv-lite": "^0.4.24",

packages/electron-builder-squirrel-windows/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
],
1313
"dependencies": {
1414
"builder-util": "~0.0.0-semantic-release",
15-
"bluebird-lst": "^1.0.8",
16-
"fs-extra-p": "^8.0.0",
15+
"bluebird-lst": "^1.0.9",
16+
"fs-extra-p": "^8.0.2",
1717
"archiver": "^3.0.0",
1818
"sanitize-filename": "^1.6.1"
1919
},

packages/electron-builder/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
"bugs": "https://github.com/electron-userland/electron-builder/issues",
4747
"homepage": "https://github.com/electron-userland/electron-builder",
4848
"dependencies": {
49-
"bluebird-lst": "^1.0.8",
49+
"bluebird-lst": "^1.0.9",
5050
"chalk": "^2.4.2",
5151
"builder-util-runtime": "0.0.0-semantic-release",
5252
"builder-util": "0.0.0-semantic-release",
53-
"fs-extra-p": "^8.0.0",
53+
"fs-extra-p": "^8.0.2",
5454
"is-ci": "^2.0.0",
5555
"read-config-file": "3.2.2",
5656
"sanitize-filename": "^1.6.1",

packages/electron-publish/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
],
1313
"dependencies": {
1414
"lazy-val": "^1.0.4",
15-
"fs-extra-p": "^8.0.0",
15+
"fs-extra-p": "^8.0.2",
1616
"mime": "^2.4.3",
17-
"bluebird-lst": "^1.0.8",
17+
"bluebird-lst": "^1.0.9",
1818
"builder-util-runtime": "^0.0.0-semantic-release",
1919
"builder-util": "~0.0.0-semantic-release",
2020
"chalk": "^2.4.2"

packages/electron-updater/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"dependencies": {
1515
"@types/semver": "^6.0.0",
1616
"lazy-val": "^1.0.4",
17-
"bluebird-lst": "^1.0.8",
18-
"fs-extra-p": "^8.0.0",
17+
"bluebird-lst": "^1.0.9",
18+
"fs-extra-p": "^8.0.2",
1919
"js-yaml": "^3.13.1",
2020
"semver": "^6.1.1",
2121
"source-map-support": "^0.5.12",

scripts/update-deps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function main() {
3434
}
3535
}
3636

37-
if (changed) {
37+
if (changed && Object.keys(packageData).length !== 0) {
3838
return await fs.writeJson(packageFile, packageData, {spaces: 2})
3939
}
4040
})

test/src/BuildTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { walk } from "builder-util/out/fs"
22
import { Arch, createTargets, DIR_TARGET, Platform } from "electron-builder"
33
import { checkBuildRequestOptions } from "app-builder-lib"
44
import { readAsar } from "app-builder-lib/out/asar/asar"
5-
import { move, outputJson, readFileSync } from "fs-extra-p"
5+
import { outputJson, readFileSync, rename } from "fs-extra-p"
66
import * as path from "path"
77
import { doMergeConfigs } from "app-builder-lib/out/util/config"
88
import { app, appTwo, appTwoThrows, assertPack, linuxDirTarget, modifyPackageJson, packageJson } from "./helpers/packTester"
@@ -180,7 +180,7 @@ test.ifDevOrLinuxCi("electron version from build", app({
180180
test("www as default dir", appTwo({
181181
targets: Platform.LINUX.createTarget(DIR_TARGET),
182182
}, {
183-
projectDirCreated: projectDir => move(path.join(projectDir, "app"), path.join(projectDir, "www"))
183+
projectDirCreated: projectDir => rename(path.join(projectDir, "app"), path.join(projectDir, "www"))
184184
}))
185185

186186
test.ifLinuxOrDevMac("afterPack", () => {

test/src/ExtraBuildTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Arch, build, PackagerOptions, Platform } from "electron-builder"
2-
import { move } from "fs-extra-p"
2+
import { rename } from "fs-extra-p"
33
import * as path from "path"
44
import { assertThat } from "./helpers/fileAssert"
55
import { app, assertPack, linuxDirTarget, modifyPackageJson } from "./helpers/packTester"
@@ -26,7 +26,7 @@ function createBuildResourcesTest(packagerOptions: PackagerOptions) {
2626
packed: async context => {
2727
await assertThat(path.join(context.projectDir, "customDist", "latest")).isDirectory()
2828
},
29-
projectDirCreated: projectDir => move(path.join(projectDir, "build"), path.join(projectDir, "custom"))
29+
projectDirCreated: projectDir => rename(path.join(projectDir, "build"), path.join(projectDir, "custom"))
3030
})
3131
}
3232

test/src/filesTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DIR_TARGET, Platform } from "electron-builder"
22
import { TmpDir } from "builder-util"
33
import { copyDir } from "builder-util/out/fs"
4-
import { outputFile, readFile, move, stat, symlink } from "fs-extra-p"
4+
import { mkdirs, outputFile, readFile, rename, stat, symlink } from "fs-extra-p"
55
import * as path from "path"
66
import Mode, { Permissions } from "stat-mode"
77
import { assertThat } from "./helpers/fileAssert"
@@ -56,7 +56,7 @@ test.ifDevOrLinuxCi("files.from asar", app({
5656
},
5757
}, {
5858
projectDirCreated: projectDir => Promise.all([
59-
move(path.join(projectDir, "index.js"), path.join(projectDir, "app/node/index.js")),
59+
mkdirs(path.join(projectDir, "app/node")).then(() => rename(path.join(projectDir, "index.js"), path.join(projectDir, "app/node/index.js"))),
6060
modifyPackageJson(projectDir, data => {
6161
data.main = "app/node/index.js"
6262
})

test/src/helpers/packTester.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export async function assertPack(fixtureName: string, packagerOptions: PackagerO
8787
configuration.cscLink = WIN_CSC_LINK
8888
configuration.cscKeyPassword = ""
8989
}
90-
else if (configuration == null || (configuration as Configuration).cscLink == null) {
90+
else if ((configuration as Configuration).cscLink == null) {
9191
packagerOptions = deepAssign({}, packagerOptions, {config: {mac: {identity: null}}})
9292
}
9393

test/src/linux/linuxPackagerTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Arch, build, Platform } from "electron-builder"
2-
import { copyFile, move, outputFile, remove, rename } from "fs-extra-p"
2+
import { copyFile, mkdirs, outputFile, remove, rename } from "fs-extra-p"
33
import * as path from "path"
44
import { GenericServerOptions } from "builder-util-runtime"
55
import { assertThat } from "../helpers/fileAssert"
@@ -125,7 +125,7 @@ test.ifNotWindows("icons from ICNS (mac)", app({
125125
},
126126
}, {
127127
projectDirCreated: async projectDir => {
128-
await move(path.join(projectDir, "build", "icon.icns"), path.join(projectDir, "resources", "time.icns"))
128+
await mkdirs(path.join(projectDir, "resources")).then(() => rename(path.join(projectDir, "build", "icon.icns"), path.join(projectDir, "resources", "time.icns")))
129129
await remove(path.join(projectDir, "build"))
130130
},
131131
packed: async context => {

test/src/mac/macIconTest.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { DIR_TARGET, Platform } from "electron-builder"
2-
import { copy, move, remove, unlink } from "fs-extra-p"
2+
import { copyFile, rename, remove, unlink } from "fs-extra-p"
33
import * as path from "path"
44
import { CheckingMacPackager } from "../helpers/CheckingPackager"
55
import { app } from "../helpers/packTester"
@@ -43,7 +43,7 @@ test.ifMac.ifAll("custom icon set", () => {
4343
projectDirCreated: projectDir => Promise.all([
4444
unlink(path.join(projectDir, "build", "icon.icns")),
4545
unlink(path.join(projectDir, "build", "icon.ico")),
46-
move(path.join(projectDir, "build", "icons"), path.join(projectDir, "customIconSet")),
46+
rename(path.join(projectDir, "build", "icons"), path.join(projectDir, "customIconSet")),
4747
]),
4848
packed: () => assertIcon(platformPackager!!),
4949
})()
@@ -63,8 +63,8 @@ test.ifMac.ifAll("custom icon set with only 512 and 128", () => {
6363
projectDirCreated: projectDir => Promise.all([
6464
unlink(path.join(projectDir, "build", "icon.icns")),
6565
unlink(path.join(projectDir, "build", "icon.ico")),
66-
copy(path.join(projectDir, "build", "icons", "512x512.png"), path.join(projectDir, "512x512.png")),
67-
copy(path.join(projectDir, "build", "icons", "128x128.png"), path.join(projectDir, "128x128.png")),
66+
copyFile(path.join(projectDir, "build", "icons", "512x512.png"), path.join(projectDir, "512x512.png")),
67+
copyFile(path.join(projectDir, "build", "icons", "128x128.png"), path.join(projectDir, "128x128.png")),
6868
]),
6969
packed: () => assertIcon(platformPackager!!),
7070
})()
@@ -98,7 +98,7 @@ test.ifMac.ifAll("default png icon", () => {
9898
projectDirCreated: projectDir => Promise.all([
9999
unlink(path.join(projectDir, "build", "icon.icns")),
100100
unlink(path.join(projectDir, "build", "icon.ico")),
101-
copy(path.join(projectDir, "build", "icons", "512x512.png"), path.join(projectDir, "build", "icon.png"))
101+
copyFile(path.join(projectDir, "build", "icons", "512x512.png"), path.join(projectDir, "build", "icon.png"))
102102
.then(() => remove(path.join(projectDir, "build", "icons")))
103103
]),
104104
packed: () => assertIcon(platformPackager!!),

test/src/mainEntryTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createTargets, DIR_TARGET, Platform } from "electron-builder"
2-
import { move } from "fs-extra-p"
2+
import { rename } from "fs-extra-p"
33
import * as path from "path"
44
import { appTwoThrows, assertPack, modifyPackageJson } from "./helpers/packTester"
55

@@ -42,7 +42,7 @@ test.ifLinuxOrDevMac("invalid main in the app package.json (custom asar)", appTw
4242
test.ifLinuxOrDevMac("main in the app package.json (no asar)", () => assertPack("test-app", packagerOptions, {
4343
projectDirCreated: projectDir => {
4444
return Promise.all([
45-
move(path.join(projectDir, "app", "index.js"), path.join(projectDir, "app", "main.js")),
45+
rename(path.join(projectDir, "app", "index.js"), path.join(projectDir, "app", "main.js")),
4646
modifyPackageJson(projectDir, data => {
4747
data.main = "main.js"
4848
}, true),

test/src/windows/oneClickInstallerTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Arch, Platform } from "electron-builder"
2-
import { copy, writeFile } from "fs-extra-p"
2+
import { copyFile, writeFile } from "fs-extra-p"
33
import * as path from "path"
44
import { assertThat } from "../helpers/fileAssert"
55
import { app, assertPack, copyTestAsset, modifyPackageJson } from "../helpers/packTester"
@@ -164,7 +164,7 @@ test.skip("big file pack", app(
164164
},
165165
}, {
166166
projectDirCreated: async projectDir => {
167-
await copy("/Volumes/Pegasus/15.02.18.m4v", path.join(projectDir, "foo/bar/video.mov"))
167+
await copyFile("/Volumes/Pegasus/15.02.18.m4v", path.join(projectDir, "foo/bar/video.mov"))
168168
},
169169
}))
170170

yarn.lock

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,14 +1629,21 @@ bl@^1.0.0:
16291629
readable-stream "^2.3.5"
16301630
safe-buffer "^5.1.1"
16311631

1632-
bluebird-lst@^1.0.5, bluebird-lst@^1.0.6, bluebird-lst@^1.0.7, bluebird-lst@^1.0.8:
1632+
bluebird-lst@^1.0.5, bluebird-lst@^1.0.6, bluebird-lst@^1.0.7:
16331633
version "1.0.8"
16341634
resolved "https://registry.yarnpkg.com/bluebird-lst/-/bluebird-lst-1.0.8.tgz#61b572e8b3eb57e0fff676a0e54566d93597e6a4"
16351635
integrity sha512-InUDOaBaIjIobOa3O4YRAbFgff907uTJZXW0m0rhk3zhVZ4GvsmdCLEAKC1CTWTtUWCM8iWTTfFX9N/xQR/etw==
16361636
dependencies:
16371637
bluebird "^3.5.4"
16381638

1639-
bluebird@^3.5.0, bluebird@^3.5.4:
1639+
bluebird-lst@^1.0.9:
1640+
version "1.0.9"
1641+
resolved "https://registry.yarnpkg.com/bluebird-lst/-/bluebird-lst-1.0.9.tgz#a64a0e4365658b9ab5fe875eb9dfb694189bb41c"
1642+
integrity sha512-7B1Rtx82hjnSD4PGLAjVWeYH3tHAcVUmChh85a3lltKQm6FresXh9ErQo6oAv6CqxttczC3/kEg8SY5NluPuUw==
1643+
dependencies:
1644+
bluebird "^3.5.5"
1645+
1646+
bluebird@^3.5.0, bluebird@^3.5.4, bluebird@^3.5.5:
16401647
version "3.5.5"
16411648
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
16421649
integrity sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==
@@ -2720,13 +2727,13 @@ fs-extra-p@^7.0.0, fs-extra-p@^7.0.1:
27202727
bluebird-lst "^1.0.7"
27212728
fs-extra "^7.0.1"
27222729

2723-
fs-extra-p@^8.0.0:
2724-
version "8.0.0"
2725-
resolved "https://registry.yarnpkg.com/fs-extra-p/-/fs-extra-p-8.0.0.tgz#ae1bdee9c6a97c5b552c29f9e2188021bf10c651"
2726-
integrity sha512-gP+HIe9Hyc+NuDcDm+wn4+s+0+WUPFFK89Uf9HogsRZeHwwKkyXUJi8FDdxf4bpr2+4/01kB3JUr2O54FS9UlQ==
2730+
fs-extra-p@^8.0.2:
2731+
version "8.0.2"
2732+
resolved "https://registry.yarnpkg.com/fs-extra-p/-/fs-extra-p-8.0.2.tgz#3b8e03ad963358570b70a152b2ee8d1c9eed5bf4"
2733+
integrity sha512-dpWboLA/OlyuqGQdsTjC2PKNkise3O4ptcMpXoyfeM/VXrthkEape3I+drWLI0JAW46r1D3eb6QBSPkSyXPXzA==
27272734
dependencies:
2728-
bluebird-lst "^1.0.8"
2729-
fs-extra "^8.0.0"
2735+
bluebird-lst "^1.0.9"
2736+
fs-extra "^8.0.1"
27302737

27312738
fs-extra@^6.0.1:
27322739
version "6.0.1"
@@ -2746,7 +2753,7 @@ fs-extra@^7.0.1:
27462753
jsonfile "^4.0.0"
27472754
universalify "^0.1.0"
27482755

2749-
fs-extra@^8.0.0:
2756+
fs-extra@^8.0.1:
27502757
version "8.0.1"
27512758
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.0.1.tgz#90294081f978b1f182f347a440a209154344285b"
27522759
integrity sha512-W+XLrggcDzlle47X/XnS7FXrXu9sDo+Ze9zpndeBxdgv88FHLm1HtmkhEwavruS6koanBjp098rUpHs65EmG7A==

0 commit comments

Comments
 (0)