@liascript/exporter 2.6.9--0.11.1 → 2.6.10--0.11.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liascript/exporter",
3
- "version": "2.6.9--0.11.1",
3
+ "version": "2.6.10--0.11.1",
4
4
  "description": "A generic exporter for LiaScript",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -52,7 +52,7 @@
52
52
  "minimist": "^1.2.5",
53
53
  "node-fetch": "^2.6.9",
54
54
  "path": "^0.12.7",
55
- "puppeteer": "^19.2.2",
55
+ "puppeteer": "^19.9.0",
56
56
  "simply-beautiful": "^0.2.14",
57
57
  "temp": "^0.9.4",
58
58
  "xhr2": "^0.2.1",
@@ -71,6 +71,7 @@
71
71
  },
72
72
  "targets": {
73
73
  "main": {
74
+ "context" : "node",
74
75
  "optimize": true
75
76
  }
76
77
  }
@@ -18,7 +18,7 @@ export function tmpDir() {
18
18
  }
19
19
 
20
20
  export function dirname() {
21
- return __dirname //path.join(__dirname, 'exporter')
21
+ return path.join(__dirname, '../../dist')
22
22
  }
23
23
 
24
24
  export function sleep(ms: number) {
package/src/index.ts CHANGED
@@ -22,7 +22,7 @@ import fetch from 'node-fetch'
22
22
 
23
23
  // -------------------------------Main Execution-------------------------------
24
24
  if (argv.v || argv.version) {
25
- console.log('version: 2.6.9--0.11.1')
25
+ console.log('version: 2.6.10--0.11.1')
26
26
  } else if (argv.h || argv.help) {
27
27
  help()
28
28
  } else if (argv.i || argv.input) {