@testim/testim-cli 3.216.0 → 3.221.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.
@@ -0,0 +1,71 @@
1
+ Testim – Computerized Verifications Ltd - Third Party Components subject to Open Source Licenses
2
+ Last Update: January 4, 2022
3
+ All third party components are copyrighted by their respective authors. Third party components licensed under open-source licenses which may be linked to, interact with, or used in connection with our software "Command Line Interface (CLI)" (“Open-Source Component(s)”), are listed below. The Open-Source Components included in our software "Command Line Interface (CLI)" are used pursuant to each individual open-source component’s license and subject to the disclaimers and limitations on liability set forth in each open source component license (as described below). The Open-Source Components’ licensing obligations and/or notices are provided for your informational purposes in connection with our software "Command Line Interface (CLI)".
4
+
5
+ License and Copyright Notice
6
+ Third Party Software
7
+ MIT
8
+ Copyright (c) 2015-2021 Evgeny Poberezkin
9
+ ajv
10
+ MIT
11
+ Copyright (c) 2011 TJ Holowaychuk
12
+ commander.js
13
+ MIT
14
+ Copyright (c) 2009-2013 Jeff Mott
15
+ Copyright (c) 2013-2016 Evan Vosberg
16
+ crypto-js
17
+ MIT
18
+ Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
19
+ form-data
20
+ MIT
21
+ Copyright (c) 2011-2017 JP Richardson
22
+ node-fs-extra
23
+ MIT
24
+ Copyright (c) 2015 Auth0, Inc. <support@auth0.com> (http://auth0.com)
25
+ node-jsonwebtoken
26
+ MIT
27
+ Copyright JS Foundation and other contributors <https://js.foundation/>
28
+ lodash
29
+ MIT
30
+ Copyright JS Foundation and other contributors
31
+ memory-fs
32
+ MIT
33
+ Copyright James Halliday (mail@substack.net) and Isaac Z. Schlueter (i@izs.me)
34
+ node-mkdirp
35
+ MIT
36
+ Copyright (c) 2018 Terkel Gjervig Nielsen
37
+ prompts
38
+ ISC
39
+ Copyright (c) Isaac Z. Schlueter and Contributors
40
+ node-semver
41
+ MIT
42
+ Copyright (c) Sindre Sorhus
43
+ serialize-error
44
+ MIT
45
+ Copyright (c) Sindre Sorhus
46
+ type-fest
47
+ MIT
48
+ Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
49
+ Ws
50
+ MIT
51
+ Copyright (c) OpenJS Foundation and other contributors
52
+ webdriverio
53
+
54
+ Applicable Open Source Licenses:
55
+
56
+ The MIT License
57
+
58
+ Copyright (c) <year> <copyright holders>
59
+ 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, subject to the following conditions:
60
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
61
+ 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 OR COPYRIGHT HOLDERS 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 THE USE OR OTHER DEALINGS IN THE SOFTWARE.
62
+
63
+ The ISC License
64
+
65
+ Copyright <YEAR> <OWNER>
66
+
67
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
68
+
69
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
70
+
71
+ 14892/0/6744255v2
package/cli.js CHANGED
@@ -35,13 +35,15 @@ async function checkNodeVersion() {
35
35
  throw new ArgError(`Required node version ${version} not satisfied with current version ${process.version}`);
36
36
  }
37
37
 
38
- if (process.version.startsWith('v10.')) {
39
- // give one day grace period.
40
- const limitDate = new Date('2021-12-13T00:00:00.000z');
41
- if (limitDate < new Date()) {
42
- throw new ArgError('Node.js v10 is no longer supported, please upgrade to Node.js 12, 14 or 16.');
43
- }
44
- console.warn('Node.js v10 is no longer supported by the Testim CLI. Please upgrade to Node.js 12, 14 or 16.');
38
+ const [major, minor, patch] = process.version.split('.');
39
+ // all good
40
+ if (major !== 'v12') {
41
+ return;
42
+ }
43
+
44
+ const minorParsed = Number(minor);
45
+ if (minorParsed < 20) {
46
+ console.log('\x1b[33m%s\x1b[0m', 'Testim.io CLI will stop supporting Node.js < 12.20 on March 1st 2022, please upgrade to a newer Node.js version');
45
47
  }
46
48
  }
47
49
 
@@ -5,9 +5,9 @@
5
5
  "requires": true,
6
6
  "dependencies": {
7
7
  "typescript": {
8
- "version": "3.6.4",
9
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz",
10
- "integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==",
8
+ "version": "4.5.5",
9
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz",
10
+ "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==",
11
11
  "dev": true
12
12
  }
13
13
  }
@@ -9,6 +9,6 @@
9
9
  "author": "Testim Developers",
10
10
  "license": "Proprietary",
11
11
  "devDependencies": {
12
- "typescript": "3.6.4"
12
+ "typescript": "4.5.5"
13
13
  }
14
14
  }
@@ -7,7 +7,7 @@
7
7
  "@testim/testim-cli": "latest",
8
8
  "@types/chai": "4.3.0",
9
9
  "chai": "4.3.4",
10
- "cross-env": "5.2.1"
10
+ "cross-env": "7.0.3"
11
11
  },
12
12
  "scripts": {
13
13
  "start": "cross-env NODE_OPTIONS=--max-old-space-size=8196 testim run \"./tests/**/*.test.js\" --require-credentials",
@@ -15,7 +15,7 @@
15
15
  "dev-test": "cross-env NODE_OPTIONS=--max-old-space-size=8196 testim run \"./tests/**/*.test.js\" --require-credentials --reporters=chrome,console",
16
16
  "debug": "cross-env NODE_OPTIONS=--max-old-space-size=8196 testim --inspect 9229 run \"./tests/**/*.test.js\" --require-credentials",
17
17
  "debug-file": "cross-env NODE_OPTIONS=--max-old-space-size=8196 testim --inspect 9229 --require-credentials run",
18
- "debug-examples": "cross-env NODE_OPTIONS=--max-old-space-size=8196 testim --inspect 9229 run \"./tests/examples/*.test.js\" --require-credentials",
18
+ "debug-examples": "cross-env NODE_OPTIONS=--max-old-space-size=8196 testim --inspect 9229 run \"./tests/examples/*.test.js\" --require-credentials",
19
19
  "headless": "cross-env NODE_OPTIONS=--max-old-space-size=8196 testim --inspect 9229 run \"./tests/**/*.test.js\" --require-credentials --headless",
20
20
  "ci": "cross-env NODE_OPTIONS=--max-old-space-size=8196 testim run \"./tests/**/*.test.js\" --grid testim-grid"
21
21
  }
@@ -9,8 +9,8 @@
9
9
  "@types/chai": "4.3.0",
10
10
  "chai": "4.3.4",
11
11
  "ts-loader": "6.0.4",
12
- "typescript": "3.5.3",
13
- "cross-env": "5.2.1"
12
+ "typescript": "4.5.5",
13
+ "cross-env": "7.0.3"
14
14
  },
15
15
  "scripts": {
16
16
  "start": "cross-env NODE_OPTIONS=--max-old-space-size=8196 testim --webpackConfig='./webpack.config.js' run \"./tests/**/*.test.ts\" --require-credentials",