@pikku/lambda 0.12.4 → 0.12.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 0.12.5
2
+
3
+ ### Patch Changes
4
+
5
+ - daec082: Drop Node 22 support — the minimum supported runtime is now Node 24 (LTS).
6
+
7
+ Node 22 deadlocks `pikku dev` at `loadUserBootstrap` (tsx `register()` + `require(esm)` cycle handling on node 22.12+), and Node 20 is already below our floor. The `engines.node` requirement is raised to `>=24` across all packages, matching `.nvmrc` and the CI test matrix. Closes #751.
8
+
9
+ - Updated dependencies [7b17b14]
10
+ - Updated dependencies [daec082]
11
+ - Updated dependencies [e0fd352]
12
+ - @pikku/core@0.12.58
13
+
1
14
  ## 0.12.4
2
15
 
3
16
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/lambda",
3
- "version": "0.12.4",
3
+ "version": "0.12.5",
4
4
  "license": "MIT",
5
5
  "author": "yasser.fadl@gmail.com",
6
6
  "module": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "@aws-sdk/client-apigatewaymanagementapi": "^3.713.0",
28
28
  "@aws-sdk/client-lambda": "^3.713.0",
29
29
  "@aws-sdk/client-sqs": "^3.713.0",
30
- "@pikku/core": "^0.12.44",
30
+ "@pikku/core": "^0.12.58",
31
31
  "@types/aws-lambda": "^8.10.161"
32
32
  },
33
33
  "devDependencies": {
@@ -38,6 +38,6 @@
38
38
  "typescript": "^6.0.3"
39
39
  },
40
40
  "engines": {
41
- "node": ">=22"
41
+ "node": ">=24"
42
42
  }
43
43
  }
package/run-tests.sh CHANGED
@@ -38,16 +38,16 @@ if [ ${#files[@]} -eq 0 ]; then
38
38
  fi
39
39
 
40
40
  # Construct the node command
41
- node_cmd="node --import tsx --test"
41
+ node_cmd=(node --import tsx --test)
42
42
 
43
43
  # Append options based on flags
44
44
  if [ "$watch_mode" = true ]; then
45
- node_cmd="$node_cmd --watch"
45
+ node_cmd+=(--watch)
46
46
  fi
47
47
 
48
48
  if [ "$coverage_mode" = true ]; then
49
- node_cmd="$node_cmd --test-coverage-include=\"src/**/*.{ts,js}\" --test-coverage-exclude=\"**/dist/**\" --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info"
49
+ node_cmd+=(--test-coverage-include="src/**/*.{ts,js}" --test-coverage-exclude="**/dist/**" --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info)
50
50
  fi
51
51
 
52
52
  # Execute the node command with the expanded list of files
53
- $node_cmd "${files[@]}"
53
+ "${node_cmd[@]}" "${files[@]}"