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.
@@ -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 extract = require('extract-zip')
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
- await extract(filepath, { dir: parentDir })
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
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.
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
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE, OR IN THE USE OF OR OTHER DEALINGS OF THE SOFTWARE.
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.4.1",
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
- "extract-zip": "^2.0.1",
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",