svelteesp32 2.3.2 → 2.3.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.
@@ -218,7 +218,7 @@ function interpolateNpmVariables(config, rcFilePath) {
218
218
  const packageJson = parsePackageJson(packageJsonPath);
219
219
  const interpolateString = (value) => {
220
220
  const regex = /\$npm_package_[\dA-Za-z]+(?:_[a-z][\dA-Za-z]*)*/g;
221
- return value.replace(regex, (match) => getNpmPackageVariable(packageJson, match) ?? match);
221
+ return value.replaceAll(regex, (match) => getNpmPackageVariable(packageJson, match) ?? match);
222
222
  };
223
223
  const result = { ...config };
224
224
  if (result.sourcepath)
package/dist/cppCode.js CHANGED
@@ -990,7 +990,7 @@ const postProcessCppCode = (code) => code
990
990
  .filter(Boolean)
991
991
  .map((line) => (line === '//' ? '' : line))
992
992
  .join('\n')
993
- .replace(/\n{2,}/g, '\n');
993
+ .replaceAll(/\n{2,}/g, '\n');
994
994
  const createHandlebarsHelpers = () => {
995
995
  let switchValue;
996
996
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteesp32",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "Convert Svelte (or any frontend) JS application to serve it from ESP32 webserver (PsychicHttp)",
5
5
  "author": "BCsabaEngine",
6
6
  "license": "ISC",
@@ -62,21 +62,21 @@
62
62
  "@eslint/eslintrc": "^3.3.5",
63
63
  "@eslint/js": "^10.0.1",
64
64
  "@types/mime-types": "^3.0.1",
65
- "@types/node": "^25.5.0",
66
- "@types/picomatch": "^4.0.2",
67
- "@typescript-eslint/eslint-plugin": "^8.57.2",
68
- "@typescript-eslint/parser": "^8.57.2",
65
+ "@types/node": "^25.5.2",
66
+ "@types/picomatch": "^4.0.3",
67
+ "@typescript-eslint/eslint-plugin": "^8.58.0",
68
+ "@typescript-eslint/parser": "^8.58.0",
69
69
  "@vitest/coverage-v8": "^4.1.2",
70
- "eslint": "^10.1.0",
70
+ "eslint": "^10.2.0",
71
71
  "eslint-config-prettier": "^10.1.8",
72
- "eslint-plugin-simple-import-sort": "^12.1.1",
72
+ "eslint-plugin-simple-import-sort": "^13.0.0",
73
73
  "eslint-plugin-unicorn": "^64.0.0",
74
74
  "memfs": "^4.57.1",
75
75
  "nodemon": "^3.1.14",
76
76
  "prettier": "^3.8.1",
77
77
  "ts-node": "^10.9.2",
78
78
  "tsx": "^4.21.0",
79
- "typescript": "^5.9.3",
79
+ "typescript": "^6.0.2",
80
80
  "vitest": "^4.1.2"
81
81
  },
82
82
  "dependencies": {