canvasxpress-cli 41.2.65 → 41.2.67

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.
Files changed (3) hide show
  1. package/cmds/io.js +4 -17
  2. package/package.json +2 -2
  3. package/src/canvasXpress.js +1364 -1364
package/cmds/io.js CHANGED
@@ -49,23 +49,10 @@ module.exports = async (obj) => {
49
49
  //page.on("console", (consoleObj) => console.log(consoleObj.text()));
50
50
 
51
51
  // Print All except warnings
52
- //page.on('console', consoleObj => {
53
- // if (consoleObj.type() !== 'warning') {
54
- // console.log(consoleObj.text());
55
- // }
56
- //});
57
-
58
- page.on('console', async msg => {
59
- const args = await msg.args()
60
- args.forEach(async (arg) => {
61
- const val = await arg.jsonValue()
62
- if (JSON.stringify(val) !== JSON.stringify({})) {
63
- console.log(val)
64
- } else {
65
- const { type, subtype, description } = arg._remoteObject
66
- console.log(`type: ${type}, subtype: ${subtype}, description:\n ${description}`)
67
- }
68
- })
52
+ page.on('console', consoleObj => {
53
+ if (consoleObj.type() !== 'warning') {
54
+ console.log(consoleObj.text());
55
+ }
69
56
  });
70
57
 
71
58
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvasxpress-cli",
3
- "version": "41.2.65",
3
+ "version": "41.2.67",
4
4
  "license": {
5
5
  "type": "Dual licensing",
6
6
  "url": "https://www.canvasxpress.org/docs/license.html"
@@ -34,6 +34,6 @@
34
34
  "figlet": "^1.2.1",
35
35
  "minimist": "^1.2.0",
36
36
  "ora": "^3.4.0",
37
- "puppeteer": "^19.3.0"
37
+ "puppeteer": "^13.0.0"
38
38
  }
39
39
  }