File tree 5 files changed +50
-86
lines changed
5 files changed +50
-86
lines changed Original file line number Diff line number Diff line change 44
44
"@types/pump" : " ^1.1.0" ,
45
45
"@types/uuid" : " ^3.4.7" ,
46
46
"ajv" : " 6.12.3" ,
47
+ "axios" : " ^0.21.1" ,
47
48
"dateformat" : " 3.0.3" ,
48
49
"electron-context-menu" : " 3.6.1" ,
49
50
"electron-debug" : " 3.0.1" ,
54
55
"form-data" : " 2.5.0" ,
55
56
"fs-extra" : " 10.0.0" ,
56
57
"get-stream" : " 5.1.0" ,
58
+ "lodash" : " 4.17.21" ,
57
59
"merge-options" : " 1.0.1" ,
58
60
"mqtt" : " 4.3.8" ,
59
61
"node-fetch" : " 2.6.7" ,
Original file line number Diff line number Diff line change 74
74
"@types/mixpanel-browser" : " ^2.35.6" ,
75
75
"@types/node-fetch" : " 2.6.11" ,
76
76
"@types/styled-components" : " ^5.1.26" ,
77
- "axios" : " ^0.21.1"
77
+ "axios" : " ^0.21.1" ,
78
+ "postcss-apply" : " 0.12.0" ,
79
+ "postcss-color-mod-function" : " 3.0.3" ,
80
+ "postcss-import" : " 16.0.0" ,
81
+ "postcss-preset-env" : " 9.3.0"
78
82
}
79
83
}
Original file line number Diff line number Diff line change 1
1
// access main process remote modules via attachments to `global`
2
-
3
- import assert from 'assert'
4
2
import { EventEmitter } from 'events'
5
3
6
4
import type { AxiosRequestConfig } from 'axios'
@@ -11,12 +9,12 @@ const emptyRemote: Remote = {} as any
11
9
12
10
export const remote : Remote = new Proxy ( emptyRemote , {
13
11
get ( _target , propName : string ) : unknown {
14
- assert (
12
+ console . assert (
15
13
( global as any ) . APP_SHELL_REMOTE ,
16
14
'Expected APP_SHELL_REMOTE to be attached to global scope; is app-shell/src/preload.ts properly configured?'
17
15
)
18
16
19
- assert (
17
+ console . assert (
20
18
propName in ( global as any ) . APP_SHELL_REMOTE ,
21
19
`Expected APP_SHELL_REMOTE.${ propName } to exist, is app-shell/src/preload.ts properly configured?`
22
20
)
Original file line number Diff line number Diff line change 15
15
},
16
16
"devDependencies" : {
17
17
"@cypress/webpack-preprocessor" : " ^5.1.2" ,
18
- "@electron/rebuild" : " 3.3.0 " ,
18
+ "@electron/rebuild" : " 3.2.10 " ,
19
19
"@octokit/rest" : " ^19.0.5" ,
20
20
"@rollup/plugin-alias" : " ^3.1.2" ,
21
21
"@rollup/plugin-babel" : " ^5.3.0" ,
You can’t perform that action at this time.
0 commit comments