@ripple-ts/adapter-node 0.3.64 → 0.3.66

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,5 +1,19 @@
1
1
  # @ripple-ts/adapter-node
2
2
 
3
+ ## 0.3.66
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @ripple-ts/adapter@0.3.66
9
+
10
+ ## 0.3.65
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies []:
15
+ - @ripple-ts/adapter@0.3.65
16
+
3
17
  ## 0.3.64
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Node.js adapter for Ripple metaframework (Web Request/Response bridge)",
4
4
  "license": "MIT",
5
5
  "author": "Dominic Gannaway",
6
- "version": "0.3.64",
6
+ "version": "0.3.66",
7
7
  "type": "module",
8
8
  "module": "src/index.js",
9
9
  "main": "src/index.js",
@@ -15,7 +15,10 @@
15
15
  }
16
16
  },
17
17
  "dependencies": {
18
- "@ripple-ts/adapter": "0.3.64"
18
+ "@ripple-ts/adapter": "0.3.66"
19
+ },
20
+ "devDependencies": {
21
+ "@types/node": "^24.3.0"
19
22
  },
20
23
  "homepage": "https://ripple-ts.com",
21
24
  "repository": {
package/src/index.js CHANGED
@@ -367,8 +367,7 @@ function create_static_handler(dir, options = {}) {
367
367
  return new Response(null, { status: 200, headers });
368
368
  }
369
369
 
370
- /** @type {BodyInit} */
371
- const file_body = /** @type {any} */ (Readable.toWeb(createReadStream(file_path)));
370
+ const file_body = Readable.toWeb(createReadStream(file_path));
372
371
  return new Response(file_body, { status: 200, headers });
373
372
  };
374
373
  }
package/tsconfig.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "compilerOptions": {
3
+ "module": "esnext",
4
+ "lib": ["esnext"],
5
+ "target": "esnext",
6
+ "noEmit": true,
3
7
  "allowJs": true,
4
- "noEmit": true
8
+ "moduleResolution": "bundler",
9
+ "strict": true,
10
+ "checkJs": true,
11
+ "types": ["node"]
5
12
  },
6
- "include": ["./src/**/*", "./tests/**/*"],
13
+ "include": ["./src/**/*", "./tests/**/*", "./types/**/*"],
7
14
  "exclude": ["dist", "node_modules"]
8
15
  }