@mavogel/cdk-vscode-server 0.1.39 → 0.1.40

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/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  ]
9
9
  },
10
10
  "bundled": {
11
- "node-html-parser": "^9.0.6"
11
+ "node-html-parser": "^9.0.7"
12
12
  },
13
13
  "dependencies": {
14
14
  "@mavogel/mvc-projen": "^0.0.72",
@@ -10766,6 +10766,6 @@
10766
10766
  "symbolId": "src/vscode-server:VSCodeServerProps"
10767
10767
  }
10768
10768
  },
10769
- "version": "0.1.39",
10770
- "fingerprint": "MJ+RDCMftRpSULeAhC7Yvcrdwm9Urmte7+hyp1UF5KY="
10769
+ "version": "0.1.40",
10770
+ "fingerprint": "6gmW3r4KlD1b37sZzYsQmzFZ+AlAhAjIEVkV9E58bvo="
10771
10771
  }
@@ -47,7 +47,7 @@ const log_groups_1 = require("../log-groups");
47
47
  * Construct that monitors CloudFront request metrics and stops the EC2 instance when idle
48
48
  */
49
49
  class IdleMonitor extends constructs_1.Construct {
50
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/cdk-vscode-server.IdleMonitor", version: "0.1.39" };
50
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/cdk-vscode-server.IdleMonitor", version: "0.1.40" };
51
51
  /**
52
52
  * The Lambda function that performs idle monitoring
53
53
  */
@@ -91,7 +91,7 @@ var LinuxArchitectureType;
91
91
  * VSCodeServer - spin it up in under 10 minutes
92
92
  */
93
93
  class VSCodeServer extends constructs_1.Construct {
94
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/cdk-vscode-server.VSCodeServer", version: "0.1.39" };
94
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/cdk-vscode-server.VSCodeServer", version: "0.1.40" };
95
95
  /**
96
96
  * The name of the domain the server is reachable
97
97
  */
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [9.0.7](https://github.com/taoqf/node-fast-html-parser/compare/v9.0.6...v9.0.7) (2026-11-06)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * make querySelectorAll linear in sibling count and safe on deep nesting ([e0e109a](https://github.com/taoqf/node-fast-html-parser/commit/e0e109a4f11c55f53ace2e87e408599d0ee24397)), closes [#332](https://github.com/taoqf/node-fast-html-parser/issues/332)
11
+
5
12
  ### [9.0.6](https://github.com/taoqf/node-fast-html-parser/compare/v9.0.5...v9.0.6) (2026-10-30)
6
13
 
7
14
 
@@ -3710,13 +3710,15 @@ function findOne(test, elems) {
3710
3710
  return elem;
3711
3711
  }
3712
3712
  function findAll(test, nodes) {
3713
- let result = [];
3714
- for (let i = 0, j = nodes.length; i < j; i++) {
3715
- const node = nodes[i];
3713
+ const result = [];
3714
+ const stack = [];
3715
+ for (let i = nodes.length - 1; i >= 0; i--) stack.push(nodes[i]);
3716
+ while (stack.length > 0) {
3717
+ const node = stack.pop();
3716
3718
  if (!isTag(node)) continue;
3717
3719
  if (test(node)) result.push(node);
3718
3720
  const childs = getChildren(node);
3719
- if (childs) result = result.concat(findAll(test, childs));
3721
+ if (childs) for (let i = childs.length - 1; i >= 0; i--) stack.push(childs[i]);
3720
3722
  }
3721
3723
  return result;
3722
3724
  }
@@ -3706,13 +3706,15 @@ function findOne(test, elems) {
3706
3706
  return elem;
3707
3707
  }
3708
3708
  function findAll(test, nodes) {
3709
- let result = [];
3710
- for (let i = 0, j = nodes.length; i < j; i++) {
3711
- const node = nodes[i];
3709
+ const result = [];
3710
+ const stack = [];
3711
+ for (let i = nodes.length - 1; i >= 0; i--) stack.push(nodes[i]);
3712
+ while (stack.length > 0) {
3713
+ const node = stack.pop();
3712
3714
  if (!isTag(node)) continue;
3713
3715
  if (test(node)) result.push(node);
3714
3716
  const childs = getChildren(node);
3715
- if (childs) result = result.concat(findAll(test, childs));
3717
+ if (childs) for (let i = childs.length - 1; i >= 0; i--) stack.push(childs[i]);
3716
3718
  }
3717
3719
  return result;
3718
3720
  }
@@ -3713,13 +3713,15 @@
3713
3713
  return elem;
3714
3714
  }
3715
3715
  function findAll(test, nodes) {
3716
- let result = [];
3717
- for (let i = 0, j = nodes.length; i < j; i++) {
3718
- const node = nodes[i];
3716
+ const result = [];
3717
+ const stack = [];
3718
+ for (let i = nodes.length - 1; i >= 0; i--) stack.push(nodes[i]);
3719
+ while (stack.length > 0) {
3720
+ const node = stack.pop();
3719
3721
  if (!isTag(node)) continue;
3720
3722
  if (test(node)) result.push(node);
3721
3723
  const childs = getChildren(node);
3722
- if (childs) result = result.concat(findAll(test, childs));
3724
+ if (childs) for (let i = childs.length - 1; i >= 0; i--) stack.push(childs[i]);
3723
3725
  }
3724
3726
  return result;
3725
3727
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-html-parser",
3
- "version": "9.0.6",
3
+ "version": "9.0.7",
4
4
  "description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.",
5
5
  "main": "dist/index.cjs",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -51,13 +51,13 @@
51
51
  "devDependencies": {
52
52
  "@aws-cdk/integ-runner": "2.206.0",
53
53
  "@aws-cdk/integ-tests-alpha": "2.269.0-alpha.0",
54
- "@aws-sdk/client-cloudwatch": "^3.1162.0",
55
- "@aws-sdk/client-dynamodb": "^3.1162.0",
56
- "@aws-sdk/client-ec2": "^3.1162.0",
57
- "@aws-sdk/client-eventbridge": "^3.1162.0",
58
- "@aws-sdk/client-secrets-manager": "^3.1162.0",
59
- "@aws-sdk/client-ssm": "^3.1162.0",
60
- "@aws-sdk/lib-dynamodb": "^3.1162.0",
54
+ "@aws-sdk/client-cloudwatch": "^3.1163.0",
55
+ "@aws-sdk/client-dynamodb": "^3.1163.0",
56
+ "@aws-sdk/client-ec2": "^3.1163.0",
57
+ "@aws-sdk/client-eventbridge": "^3.1163.0",
58
+ "@aws-sdk/client-secrets-manager": "^3.1163.0",
59
+ "@aws-sdk/client-ssm": "^3.1163.0",
60
+ "@aws-sdk/lib-dynamodb": "^3.1163.0",
61
61
  "@commitlint/cli": "^20.1.0",
62
62
  "@commitlint/config-conventional": "^20.0.0",
63
63
  "@stylistic/eslint-plugin": "^2",
@@ -96,7 +96,7 @@
96
96
  "@mavogel/mvc-projen": "^0.0.72",
97
97
  "cdk-nag": "^3.0.1",
98
98
  "constructs": "^10.5.1",
99
- "node-html-parser": "^9.0.6"
99
+ "node-html-parser": "^9.0.7"
100
100
  },
101
101
  "bundledDependencies": [
102
102
  "node-html-parser"
@@ -123,7 +123,7 @@
123
123
  "publishConfig": {
124
124
  "access": "public"
125
125
  },
126
- "version": "0.1.39",
126
+ "version": "0.1.40",
127
127
  "jest": {
128
128
  "coverageProvider": "v8",
129
129
  "testMatch": [