Skip to content

Commit 0e90af3

Browse files
committed
✨ Feature: change inner db to @picgo/store
1 parent 158be01 commit 0e90af3

File tree

4 files changed

+115
-68
lines changed

4 files changed

+115
-68
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
"@types/image-size": "^0.0.29",
6262
"@types/inquirer": "^0.0.42",
6363
"@types/lodash": "^4.14.175",
64-
"@types/lowdb": "^1.0.4",
6564
"@types/md5": "^2.1.32",
6665
"@types/mime-types": "^2.1.0",
6766
"@types/minimatch": "^3.0.3",
@@ -93,6 +92,7 @@
9392
},
9493
"dependencies": {
9594
"@picgo/i18n": "^1.0.0",
95+
"@picgo/store": "^2.0.2",
9696
"chalk": "^2.4.1",
9797
"commander": "^8.1.0",
9898
"comment-json": "^2.3.1",
@@ -106,8 +106,6 @@
106106
"inquirer": "^6.0.0",
107107
"is-wsl": "^2.2.0",
108108
"lodash": "^4.17.21",
109-
"lodash-id": "^0.14.0",
110-
"lowdb": "^1.0.0",
111109
"md5": "^2.2.1",
112110
"mime-types": "2.1.33",
113111
"minimatch": "^3.0.4",

src/core/PicGo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class PicGo extends EventEmitter implements IPicGo {
8585

8686
private initConfig (): void {
8787
this.db = new DB(this)
88-
this._config = this.db.read().value()
88+
this._config = this.db.read(true) as IConfig
8989
}
9090

9191
private init (): void {

src/utils/db.ts

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,57 @@
1-
import lowdb from 'lowdb'
2-
import lodashId from 'lodash-id'
3-
import FileSync from 'lowdb/adapters/FileSync'
4-
import json from 'comment-json'
51
import { IConfig, IPicGo } from '../types'
2+
import { JSONStore } from '@picgo/store'
3+
import { IJSON } from '@picgo/store/dist/types'
64

75
class DB {
86
private readonly ctx: IPicGo
9-
private readonly db: lowdb.LowdbSync<any>
7+
private readonly db: JSONStore
108
constructor (ctx: IPicGo) {
119
this.ctx = ctx
12-
const adapter = new FileSync(this.ctx.configPath, {
13-
serialize (obj: object): string {
14-
return json.stringify(obj, null, 2)
15-
},
16-
deserialize: json.parse
17-
})
18-
this.db = lowdb(adapter)
19-
this.db._.mixin(lodashId)
10+
this.db = new JSONStore(this.ctx.configPath)
2011

21-
if (!this.db.has('picBed').value()) {
12+
if (!this.db.has('picBed')) {
2213
try {
2314
this.db.set('picBed', {
2415
uploader: 'smms',
2516
current: 'smms'
26-
}).write()
17+
})
2718
} catch (e: any) {
2819
this.ctx.log.error(e)
2920
throw e
3021
}
3122
}
32-
if (!this.db.has('picgoPlugins').value()) {
23+
if (!this.db.has('picgoPlugins')) {
3324
try {
34-
this.db.set('picgoPlugins', {}).write()
25+
this.db.set('picgoPlugins', {})
3526
} catch (e: any) {
3627
this.ctx.log.error(e)
3728
throw e
3829
}
3930
}
4031
}
4132

42-
read (): any {
43-
return this.db.read()
33+
read (flush?: boolean): IJSON {
34+
return this.db.read(flush)
4435
}
4536

4637
get (key: string = ''): any {
47-
return this.read().get(key).value()
38+
this.read(true)
39+
return this.db.get(key)
4840
}
4941

5042
set (key: string, value: any): void {
51-
return this.read().set(key, value).write()
43+
this.read(true)
44+
return this.db.set(key, value)
5245
}
5346

5447
has (key: string): boolean {
55-
return this.read().has(key).value()
56-
}
57-
58-
insert (key: string, value: any): void {
59-
return this.read().get(key).insert(value).write()
48+
this.read(true)
49+
return this.db.has(key)
6050
}
6151

6252
unset (key: string, value: any): boolean {
63-
return this.read().get(key).unset(value).write()
53+
this.read(true)
54+
return this.db.unset(key, value)
6455
}
6556

6657
saveConfig (config: Partial<IConfig>): void {

yarn.lock

Lines changed: 95 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,18 @@
268268
dependencies:
269269
chalk "^4.0.0"
270270

271+
"@commonify/lowdb@^3.0.0":
272+
version "3.0.0"
273+
resolved "https://registry.npmmirror.com/@commonify/lowdb/-/lowdb-3.0.0.tgz#09c33ffd19057eab67440a1dc22847569407cafe"
274+
integrity sha512-GwZq68zStvMENxEzN6EE8pacgY2Rlrs5L00BpvB6NvpDW96JUxIa8PJXd9T7qIdx07ro0ITBtw6HfSJw/qboGw==
275+
dependencies:
276+
"@commonify/steno" "2.1.0"
277+
278+
"@commonify/steno@2.1.0", "@commonify/steno@^2.1.0":
279+
version "2.1.0"
280+
resolved "https://registry.npmmirror.com/@commonify/steno/-/steno-2.1.0.tgz#7d1e68a0e239bf4fd35abfd167006a3e56140b28"
281+
integrity sha512-3W0LmYb84EU82Ky18M+D0tB33W66ccoC/Ot/8mm3uBQFuaTpiWaoxntQGBTL3+bIpV4e77ks53IE3sy9BRFBxA==
282+
271283
"@endemolshinegroup/cosmiconfig-typescript-loader@^3.0.2":
272284
version "3.0.2"
273285
resolved "https://registry.yarnpkg.com/@endemolshinegroup/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-3.0.2.tgz#eea4635828dde372838b0909693ebd9aafeec22d"
@@ -362,6 +374,22 @@
362374
chalk "4.1.2"
363375
tslib "^2.3.1"
364376

377+
"@picgo/store@^2.0.2":
378+
version "2.0.2"
379+
resolved "https://registry.npmmirror.com/@picgo/store/-/store-2.0.2.tgz#0b5050f5e8cef7043cf5463fa81ef3c3a19fffc7"
380+
integrity sha512-/nZr6zeLNtlTG+g8iUd5xy5Vtl7iu7SHI3aY9a/+AIlBSs7Io/06MrxGyoAHSWVg9BsB80kJyrNeGyOWiOO5jw==
381+
dependencies:
382+
"@commonify/lowdb" "^3.0.0"
383+
"@commonify/steno" "^2.1.0"
384+
"@types/bson" "^4.0.1"
385+
"@types/graceful-fs" "^4.1.3"
386+
"@types/lodash" "^4.14.182"
387+
comment-json "^4.1.0"
388+
fflate "^0.7.3"
389+
lodash "^4.17.21"
390+
lodash-id "^0.14.0"
391+
write-file-atomic "^4.0.1"
392+
365393
"@rollup/plugin-commonjs@^21.0.0":
366394
version "21.0.0"
367395
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-21.0.0.tgz#b9e4342855ea20b5528f4587b9a90f642196a502"
@@ -429,6 +457,13 @@
429457
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
430458
integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==
431459

460+
"@types/bson@^4.0.1":
461+
version "4.2.0"
462+
resolved "https://registry.npmmirror.com/@types/bson/-/bson-4.2.0.tgz#a2f71e933ff54b2c3bf267b67fa221e295a33337"
463+
integrity sha512-ELCPqAdroMdcuxqwMgUpifQyRoTpyYCNr1V9xKyF40VsBobsj+BbWNRvwGchMgBPGqkw655ypkjj2MEF5ywVwg==
464+
dependencies:
465+
bson "*"
466+
432467
"@types/caseless@*":
433468
version "0.12.2"
434469
resolved "https://registry.yarnpkg.com/@types/caseless/-/caseless-0.12.2.tgz#f65d3d6389e01eeb458bd54dc8f52b95a9463bc8"
@@ -476,6 +511,13 @@
476511
"@types/minimatch" "*"
477512
"@types/node" "*"
478513

514+
"@types/graceful-fs@^4.1.3":
515+
version "4.1.5"
516+
resolved "https://registry.npmmirror.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15"
517+
integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==
518+
dependencies:
519+
"@types/node" "*"
520+
479521
"@types/image-size@^0.0.29":
480522
version "0.0.29"
481523
resolved "https://registry.yarnpkg.com/@types/image-size/-/image-size-0.0.29.tgz#0924d4ec95edc82f615b7f634cba31534b81c351"
@@ -501,17 +543,15 @@
501543
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
502544
integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4=
503545

504-
"@types/lodash@*", "@types/lodash@^4.14.175":
546+
"@types/lodash@^4.14.175":
505547
version "4.14.175"
506548
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.175.tgz#b78dfa959192b01fae0ad90e166478769b215f45"
507549
integrity sha512-XmdEOrKQ8a1Y/yxQFOMbC47G/V2VDO1GvMRnl4O75M4GW/abC5tnfzadQYkqEveqRM1dEJGFFegfPNA2vvx2iw==
508550

509-
"@types/lowdb@^1.0.4":
510-
version "1.0.11"
511-
resolved "https://registry.yarnpkg.com/@types/lowdb/-/lowdb-1.0.11.tgz#d8336a635ea0dbd48a7f6f62fb9fccc5ec358ae3"
512-
integrity sha512-h99VMxvTuz+VsXUVCCJo4dsps4vbkXwvU71TpmxDoiBU24bJ0VBygIHgmMm+UPoQIFihmV6euRik4z8J7XDJWg==
513-
dependencies:
514-
"@types/lodash" "*"
551+
"@types/lodash@^4.14.182":
552+
version "4.14.182"
553+
resolved "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.182.tgz#05301a4d5e62963227eaafe0ce04dd77c54ea5c2"
554+
integrity sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==
515555

516556
"@types/md5@^2.1.32":
517557
version "2.3.1"
@@ -915,6 +955,11 @@ array-includes@^3.1.3:
915955
get-intrinsic "^1.1.1"
916956
is-string "^1.0.7"
917957

958+
array-timsort@^1.0.3:
959+
version "1.0.3"
960+
resolved "https://registry.npmmirror.com/array-timsort/-/array-timsort-1.0.3.tgz#3c9e4199e54fb2b9c3fe5976396a21614ef0d926"
961+
integrity sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==
962+
918963
array-union@^2.1.0:
919964
version "2.1.0"
920965
resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d"
@@ -1054,6 +1099,13 @@ braces@^3.0.1:
10541099
dependencies:
10551100
fill-range "^7.0.1"
10561101

1102+
bson@*:
1103+
version "4.6.5"
1104+
resolved "https://registry.npmmirror.com/bson/-/bson-4.6.5.tgz#1a410148c20eef4e40d484878a037a7036e840fb"
1105+
integrity sha512-uqrgcjyOaZsHfz7ea8zLRCLe1u+QGUSzMZmvXqO24CDW7DWoW1qiN9folSwa7hSneTSgM2ykDIzF5kcQQ8cwNw==
1106+
dependencies:
1107+
buffer "^5.6.0"
1108+
10571109
buffer-alloc-unsafe@^1.1.0:
10581110
version "1.1.0"
10591111
resolved "https://registry.yarnpkg.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0"
@@ -1082,7 +1134,7 @@ buffer-from@^1.0.0:
10821134
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
10831135
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
10841136

1085-
buffer@^5.2.1:
1137+
buffer@^5.2.1, buffer@^5.6.0:
10861138
version "5.7.1"
10871139
resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"
10881140
integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
@@ -1330,6 +1382,17 @@ comment-json@^2.3.1:
13301382
has-own-prop "^2.0.0"
13311383
repeat-string "^1.6.1"
13321384

1385+
comment-json@^4.1.0:
1386+
version "4.2.2"
1387+
resolved "https://registry.npmmirror.com/comment-json/-/comment-json-4.2.2.tgz#5fae70a94e0c8f84a077bd31df5aa5269252f293"
1388+
integrity sha512-H8T+kl3nZesZu41zO2oNXIJWojNeK3mHxCLrsBNu6feksBXsgb+PtYz5daP5P86A0F3sz3840KVYehr04enISQ==
1389+
dependencies:
1390+
array-timsort "^1.0.3"
1391+
core-util-is "^1.0.3"
1392+
esprima "^4.0.1"
1393+
has-own-prop "^2.0.0"
1394+
repeat-string "^1.6.1"
1395+
13331396
commitizen@^4.0.3, commitizen@^4.2.3:
13341397
version "4.2.4"
13351398
resolved "https://registry.yarnpkg.com/commitizen/-/commitizen-4.2.4.tgz#a3e5b36bd7575f6bf6e7aa19dbbf06b0d8f37165"
@@ -1604,7 +1667,7 @@ core-util-is@1.0.2:
16041667
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
16051668
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
16061669

1607-
core-util-is@^1.0.2, core-util-is@~1.0.0:
1670+
core-util-is@^1.0.2, core-util-is@^1.0.3, core-util-is@~1.0.0:
16081671
version "1.0.3"
16091672
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85"
16101673
integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==
@@ -2441,6 +2504,11 @@ fd-slicer@~1.1.0:
24412504
dependencies:
24422505
pend "~1.2.0"
24432506

2507+
fflate@^0.7.3:
2508+
version "0.7.3"
2509+
resolved "https://registry.npmmirror.com/fflate/-/fflate-0.7.3.tgz#288b034ff0e9c380eaa2feff48c787b8371b7fa5"
2510+
integrity sha512-0Zz1jOzJWERhyhsimS54VTqOteCNwRtIlh8isdL0AXLo0g7xNTfTL7oWrkmCnPhZGocKIkWHBistBrrpoNH3aw==
2511+
24442512
figures@^2.0.0:
24452513
version "2.0.0"
24462514
resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962"
@@ -3348,11 +3416,6 @@ is-plain-obj@^1.0.0, is-plain-obj@^1.1.0:
33483416
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"
33493417
integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4=
33503418

3351-
is-promise@^2.1.0:
3352-
version "2.2.2"
3353-
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1"
3354-
integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==
3355-
33563419
is-reference@^1.2.1:
33573420
version "1.2.1"
33583421
resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7"
@@ -3688,16 +3751,16 @@ lodash.truncate@^4.4.2:
36883751
resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193"
36893752
integrity sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=
36903753

3691-
lodash@4, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.2.1:
3692-
version "4.17.21"
3693-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
3694-
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
3695-
36963754
lodash@4.17.11:
36973755
version "4.17.11"
36983756
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
36993757
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==
37003758

3759+
lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.2.1:
3760+
version "4.17.21"
3761+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
3762+
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
3763+
37013764
log-symbols@^2.2.0:
37023765
version "2.2.0"
37033766
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
@@ -3718,17 +3781,6 @@ loud-rejection@^1.0.0:
37183781
currently-unhandled "^0.4.1"
37193782
signal-exit "^3.0.0"
37203783

3721-
lowdb@^1.0.0:
3722-
version "1.0.0"
3723-
resolved "https://registry.yarnpkg.com/lowdb/-/lowdb-1.0.0.tgz#5243be6b22786ccce30e50c9a33eac36b20c8064"
3724-
integrity sha512-2+x8esE/Wb9SQ1F9IHaYWfsC9FIecLOPrK4g17FGEayjUWH172H6nwicRovGvSE2CPZouc2MCIqCI7h9d+GftQ==
3725-
dependencies:
3726-
graceful-fs "^4.1.3"
3727-
is-promise "^2.1.0"
3728-
lodash "4"
3729-
pify "^3.0.0"
3730-
steno "^0.4.1"
3731-
37323784
lowercase-keys@1.0.0:
37333785
version "1.0.0"
37343786
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306"
@@ -5033,6 +5085,11 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3:
50335085
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.5.tgz#9e3e8cc0c75a99472b44321033a7702e7738252f"
50345086
integrity sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==
50355087

5088+
signal-exit@^3.0.7:
5089+
version "3.0.7"
5090+
resolved "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
5091+
integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==
5092+
50365093
slash@^2.0.0:
50375094
version "2.0.0"
50385095
resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
@@ -5208,13 +5265,6 @@ stealthy-require@^1.1.1:
52085265
resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
52095266
integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=
52105267

5211-
steno@^0.4.1:
5212-
version "0.4.4"
5213-
resolved "https://registry.yarnpkg.com/steno/-/steno-0.4.4.tgz#071105bdfc286e6615c0403c27e9d7b5dcb855cb"
5214-
integrity sha1-BxEFvfwobmYVwEA8J+nXtdy4Vcs=
5215-
dependencies:
5216-
graceful-fs "^4.1.3"
5217-
52185268
strict-uri-encode@^1.0.0:
52195269
version "1.1.0"
52205270
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
@@ -5830,6 +5880,14 @@ wrappy@1:
58305880
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
58315881
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
58325882

5883+
write-file-atomic@^4.0.1:
5884+
version "4.0.1"
5885+
resolved "https://registry.npmmirror.com/write-file-atomic/-/write-file-atomic-4.0.1.tgz#9faa33a964c1c85ff6f849b80b42a88c2c537c8f"
5886+
integrity sha512-nSKUxgAbyioruk6hU87QzVbY279oYT6uiwgDoujth2ju4mJ+TZau7SQBhtbTmUyuNYTuXnSyRn66FV0+eCgcrQ==
5887+
dependencies:
5888+
imurmurhash "^0.1.4"
5889+
signal-exit "^3.0.7"
5890+
58335891
xregexp@2.0.0:
58345892
version "2.0.0"
58355893
resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-2.0.0.tgz#52a63e56ca0b84a7f3a5f3d61872f126ad7a5943"

0 commit comments

Comments
 (0)