pear-electron 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/boot.bundle +1 -1
- package/package.json +1 -1
- package/runtime.js +2 -2
package/boot.bundle
CHANGED
|
@@ -20337,7 +20337,7 @@ function quintet (s, i) {
|
|
|
20337
20337
|
}
|
|
20338
20338
|
{
|
|
20339
20339
|
"name": "pear-electron",
|
|
20340
|
-
"version": "1.0.
|
|
20340
|
+
"version": "1.0.21",
|
|
20341
20341
|
"description": "Pear User-Interface Library for Electron",
|
|
20342
20342
|
"main": "index.js",
|
|
20343
20343
|
"bin": "bin.js",
|
package/package.json
CHANGED
package/runtime.js
CHANGED
|
@@ -31,12 +31,12 @@ class PearElectron {
|
|
|
31
31
|
this.prebuilds = '/node_modules/pear-electron/prebuilds/' + require.addon.host
|
|
32
32
|
this.boot = '/node_modules/pear-electron/boot.bundle'
|
|
33
33
|
this.applink = new URL(Pear.config.applink)
|
|
34
|
-
this.LOG = new Logger(Logger.
|
|
34
|
+
this.LOG = new Logger(Logger.flags.log ? { labels: ['runtime-bootstrap'] } : {})
|
|
35
35
|
Pear.teardown(() => this.ipc.close())
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
#logTransforms () {
|
|
39
|
-
if (this.LOG.
|
|
39
|
+
if (this.LOG.INF === false) return
|
|
40
40
|
return {
|
|
41
41
|
dumping: ({ link, dir, list }) => list > -1 ? '' : { message: ['Bootstrapping runtime from peers', 'from: ' + link, 'into: ' + dir] },
|
|
42
42
|
file: ({ key }) => key,
|