step-node-agent 3.26.2 → 3.26.3
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/node_modules/object-inspect/CHANGELOG.md +12 -0
- package/node_modules/object-inspect/index.js +17 -3
- package/node_modules/object-inspect/package.json +6 -6
- package/node_modules/object-inspect/test/quoteStyle.js +9 -0
- package/node_modules/psl/README.md +6 -1
- package/node_modules/psl/browserstack.yml +73 -0
- package/node_modules/psl/data/rules.json +1738 -1335
- package/node_modules/psl/dist/psl.js +2110 -1799
- package/node_modules/psl/dist/psl.min.js +1 -1
- package/node_modules/psl/eslint.config.js +9 -0
- package/node_modules/psl/index.js +4 -4
- package/node_modules/psl/local.log +12 -0
- package/node_modules/psl/log/usage.log +20 -0
- package/node_modules/psl/package.json +13 -14
- package/node_modules/psl/playwright.config.js +31 -0
- package/node_modules/psl/test-results/.last-run.json +4 -0
- package/package.json +1 -1
- package/node_modules/psl/.env +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var Punycode = require('punycode');
|
|
5
|
+
var Punycode = require('punycode/');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var internals = {};
|
|
@@ -24,7 +24,7 @@ internals.rules = require('./data/rules.json').map(function (rule) {
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
//
|
|
27
|
-
// Check
|
|
27
|
+
// Check if given string ends with `suffix`.
|
|
28
28
|
//
|
|
29
29
|
internals.endsWith = function (str, suffix) {
|
|
30
30
|
|
|
@@ -40,7 +40,7 @@ internals.findRule = function (domain) {
|
|
|
40
40
|
var punyDomain = Punycode.toASCII(domain);
|
|
41
41
|
return internals.rules.reduce(function (memo, rule) {
|
|
42
42
|
|
|
43
|
-
if (rule.punySuffix === -1){
|
|
43
|
+
if (rule.punySuffix === -1) {
|
|
44
44
|
rule.punySuffix = Punycode.toASCII(rule.suffix);
|
|
45
45
|
}
|
|
46
46
|
if (!internals.endsWith(punyDomain, '.' + rule.punySuffix) && punyDomain !== rule.punySuffix) {
|
|
@@ -237,7 +237,7 @@ exports.parse = function (input) {
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
parsed.sld = privateParts.pop();
|
|
240
|
-
parsed.domain = [parsed.sld,
|
|
240
|
+
parsed.domain = [parsed.sld, parsed.tld].join('.');
|
|
241
241
|
|
|
242
242
|
if (privateParts.length) {
|
|
243
243
|
parsed.subdomain = privateParts.join('.');
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
Thu Nov 07 2024 21:45:11:239 GMT+0100 (CET) -- Binary semantic version is v8.6.0
|
|
4
|
+
Thu Nov 07 2024 21:45:11:240 GMT+0100 (CET) -- Setting output as extra verbose with request parsing
|
|
5
|
+
Thu Nov 07 2024 21:45:12:252 GMT+0100 (CET) -- [SUCCESS] You can now access your local server(s) in our remote browser
|
|
6
|
+
|
|
7
|
+
Thu Nov 07 2024 21:45:12:402 GMT+0100 (CET) -- Connecting to BrowserStack using WebSocket protocol...
|
|
8
|
+
Thu Nov 07 2024 21:45:12:402 GMT+0100 (CET) -- Platform supports WebSocket connections.
|
|
9
|
+
|
|
10
|
+
Thu Nov 07 2024 21:45:12:503 GMT+0100 (CET) -- Press Ctrl-C to exit
|
|
11
|
+
|
|
12
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
2024-11-07 21:45:05 - [32minfo[39m: Reading configs from /home/lupo/work/lupomontero/psl/browserstack.yml
|
|
2
|
+
2024-11-07 21:45:05 - [31merror[39m: Error: userName or accessKey is not defined
|
|
3
|
+
at new BrowserStackSetup (/home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/src/helpers/BrowserStackSetup.js:1:8954)
|
|
4
|
+
at run (/home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/src/bin/playwright/command.js:2:7261)
|
|
5
|
+
at Object.sOMBL (/home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/src/bin/runner.js:2:3179)
|
|
6
|
+
at captureError (/home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/src/bin/runner.js:2:3274)
|
|
7
|
+
at Object.mBkJv (/home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/src/bin/runner.js:2:10340)
|
|
8
|
+
at /home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/src/bin/runner.js:2:10569
|
|
9
|
+
at _.applyBuilderUpdateUsageAndParse (/home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/node_modules/yargs/build/index.cjs:1:7435)
|
|
10
|
+
at _.runCommand (/home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/node_modules/yargs/build/index.cjs:1:7078)
|
|
11
|
+
at [runYargsParserAndExecuteCommands] (/home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/node_modules/yargs/build/index.cjs:1:58539)
|
|
12
|
+
at te.parse (/home/lupo/work/lupomontero/psl/node_modules/browserstack-node-sdk/node_modules/yargs/build/index.cjs:1:40478)
|
|
13
|
+
2024-11-07 21:45:09 - [32minfo[39m: Reading configs from /home/lupo/work/lupomontero/psl/browserstack.yml
|
|
14
|
+
2024-11-07 21:45:10 - [32minfo[39m: Project and debug logs are captured by default. To disable, set disableAutoCaptureLogs: true in config.
|
|
15
|
+
2024-11-07 21:45:12 - [32minfo[39m: Local binary started successfully
|
|
16
|
+
2024-11-07 21:45:34 - [32minfo[39m: Visit https://observability.browserstack.com/builds/kn2ljhdkwgb8uvvweqepxnvad3aurj1nxpnvjghk to view build report, insights, and many more debugging information all at one place!
|
|
17
|
+
|
|
18
|
+
2024-11-07 21:45:34 - [32minfo[39m: View build on BrowserStack dashboard: https://automate.browserstack.com/dashboard/v2/builds/5cb8d780cf7707366767a8005c17d879b2d0e624
|
|
19
|
+
2024-11-07 21:45:36 - [32minfo[39m: Deleting /home/lupo/work/lupomontero/psl/playwright-browserstack-sdk.config.js
|
|
20
|
+
2024-11-07 21:45:38 - [32minfo[39m: Local binary stopped
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "psl",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Domain name parser based on the Public Suffix List",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint .",
|
|
12
12
|
"test": "mocha test/*.spec.js",
|
|
13
|
-
"test:browserstack": "node test
|
|
14
|
-
"watch": "mocha test --watch",
|
|
13
|
+
"test:browserstack": "browserstack-node-sdk playwright test",
|
|
14
|
+
"watch": "mocha test/*.spec.js --watch",
|
|
15
15
|
"prebuild": "./scripts/update-rules.js",
|
|
16
16
|
"build": "browserify ./index.js --standalone=psl > ./dist/psl.js",
|
|
17
17
|
"postbuild": "cat ./dist/psl.js | uglifyjs -c -m > ./dist/psl.min.js",
|
|
@@ -24,20 +24,19 @@
|
|
|
24
24
|
],
|
|
25
25
|
"author": "Lupo Montero <lupomontero@gmail.com> (https://lupomontero.com/)",
|
|
26
26
|
"license": "MIT",
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"punycode": "^2.3.1"
|
|
29
|
+
},
|
|
27
30
|
"devDependencies": {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"browserstack-
|
|
31
|
-
"chai": "^
|
|
31
|
+
"@playwright/test": "^1.48.2",
|
|
32
|
+
"browserify": "^17.0.1",
|
|
33
|
+
"browserstack-node-sdk": "^1.34.21",
|
|
34
|
+
"chai": "^5.1.2",
|
|
32
35
|
"commit-and-pr": "^1.0.4",
|
|
33
|
-
"eslint": "^
|
|
36
|
+
"eslint": "^9.14.0",
|
|
34
37
|
"JSONStream": "^1.3.5",
|
|
35
|
-
"mocha": "^
|
|
36
|
-
"porch": "^2.0.0",
|
|
38
|
+
"mocha": "^10.8.2",
|
|
37
39
|
"request": "^2.88.2",
|
|
38
|
-
"
|
|
39
|
-
"serve-handler": "^6.1.3",
|
|
40
|
-
"uglify-js": "^3.16.2",
|
|
41
|
-
"watchify": "^4.0.0"
|
|
40
|
+
"uglify-js": "^3.19.3"
|
|
42
41
|
}
|
|
43
42
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This is a sample config for what users might be running locally
|
|
2
|
+
const config = {
|
|
3
|
+
testDir: './test',
|
|
4
|
+
testMatch: '**/browserstack*.js',
|
|
5
|
+
|
|
6
|
+
/* Maximum time one test can run for. */
|
|
7
|
+
timeout: 90 * 1000,
|
|
8
|
+
expect: {
|
|
9
|
+
/**
|
|
10
|
+
* Maximum time expect() should wait for the condition to be met.
|
|
11
|
+
* For example in `await expect(locator).toHaveText();`
|
|
12
|
+
*/
|
|
13
|
+
timeout: 5000,
|
|
14
|
+
},
|
|
15
|
+
/* tests in parallel */
|
|
16
|
+
workers: 1,
|
|
17
|
+
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
|
18
|
+
reporter: 'line',
|
|
19
|
+
/* Configure projects for major browsers */
|
|
20
|
+
projects: [
|
|
21
|
+
{
|
|
22
|
+
name: 'chrome',
|
|
23
|
+
use: {
|
|
24
|
+
browserName: 'chromium',
|
|
25
|
+
channel: 'chrome',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
module.exports = config;
|
package/package.json
CHANGED
package/node_modules/psl/.env
DELETED
|
File without changes
|