presidium 4.4.1 → 4.5.0
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/GoogleChromeForTesting.js +3 -2
- package/LICENSE +4 -2
- package/package.json +2 -2
|
@@ -9,7 +9,7 @@ const fs = require('fs')
|
|
|
9
9
|
const path = require('path')
|
|
10
10
|
const { spawn } = require('child_process')
|
|
11
11
|
const readline = require('readline')
|
|
12
|
-
const
|
|
12
|
+
const AdmZip = require('adm-zip')
|
|
13
13
|
const HTTP = require('./HTTP')
|
|
14
14
|
const XML = require('./XML')
|
|
15
15
|
const Readable = require('./Readable')
|
|
@@ -66,7 +66,8 @@ async function installChrome() {
|
|
|
66
66
|
await promise
|
|
67
67
|
|
|
68
68
|
console.log('Extracting', filepath)
|
|
69
|
-
|
|
69
|
+
const zip = new AdmZip(filepath)
|
|
70
|
+
zip.extractAllTo(parentDir, true, true)
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
async function getChromeFilepath() {
|
package/LICENSE
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
The CLOUŢ Free and Open Source Software License (CFOSS)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The software ("The Software") referencing The CLOUŢ Free and Open Source Software License (this license) may be freely distributed, installed, required, imported, and downloaded by any individual or organization.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
If The Software is updated, modified, or changed by an organization or individual outside the author(s) of The Software, the organization or individual who updated, modified, or changed The Software must remove all references to this license in their copy of The Software. An organization or individual may not redistribute The Software without this license or redistribute The Software without referring to this license.
|
|
6
|
+
|
|
7
|
+
CLOUŢ and the author(s) of The Software are not responsible for any damages or loss resulting from the distribution, installation, requiring, importing, or downloading of The Software.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "presidium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "The Presidium library.",
|
|
5
5
|
"author": "Richard Tong",
|
|
6
6
|
"license": "CFOSS",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"xml"
|
|
63
63
|
],
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"
|
|
65
|
+
"adm-zip": "^0.6.1",
|
|
66
66
|
"html-entities": "^2.6.0",
|
|
67
67
|
"presidium-db": ">=3.10.0",
|
|
68
68
|
"presidium-websocket": ">=3.2.1",
|