@balena/pinejs-webresource-s3 2.2.4 → 2.2.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/.mocharc.json CHANGED
@@ -1,5 +1,3 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/mocharc.json",
3
- "require": "tsx",
4
2
  "spec": "test/**/*.ts"
5
3
  }
@@ -1,3 +1,14 @@
1
+ - commits:
2
+ - subject: Switch from tsx to nodejs type stripping
3
+ hash: f6b11d556afb882d60e4d62900e65cc989e2b501
4
+ body: ""
5
+ footer:
6
+ Change-type: patch
7
+ change-type: patch
8
+ author: Pagan Gazzard
9
+ version: 2.2.5
10
+ title: ""
11
+ date: 2026-10-28T16:39:36.475Z
1
12
  - commits:
2
13
  - subject: Take the WebResource type from pinejs rather than sbvr-types
3
14
  hash: 65c1b71e8145a41e05e2a29c39a490d052bef5b4
@@ -14,7 +25,7 @@
14
25
  author: Pagan Gazzard
15
26
  version: 2.2.4
16
27
  title: ""
17
- date: 2026-10-28T16:17:11.974Z
28
+ date: 2026-10-28T16:21:09.507Z
18
29
  - commits:
19
30
  - subject: Tighten internal typings
20
31
  hash: 3c24e16a675633616e139b0612012a66408e8d76
package/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
4
4
  automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ # v2.2.5
8
+ ## (2026-10-28)
9
+
10
+ * Switch from tsx to nodejs type stripping [Pagan Gazzard]
11
+
7
12
  # v2.2.4
8
13
  ## (2026-10-28)
9
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/pinejs-webresource-s3",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "A PineJS WebResource handler for storing & serving files on S3",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
@@ -37,7 +37,6 @@
37
37
  "lint-staged": "17.6.0",
38
38
  "mocha": "12.0.2",
39
39
  "sinon": "22.1.0",
40
- "tsx": "4.23.15",
41
40
  "typescript": "6.0.3"
42
41
  },
43
42
  "dependencies": {
@@ -50,6 +49,6 @@
50
49
  "@balena/pinejs": "^21.3.0 || ^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.0.0"
51
50
  },
52
51
  "versionist": {
53
- "publishedAt": "2026-10-28T16:17:12.048Z"
52
+ "publishedAt": "2026-10-28T16:39:36.567Z"
54
53
  }
55
54
  }
@@ -13,7 +13,7 @@ import {
13
13
  PutObjectCommand,
14
14
  } from '@aws-sdk/client-s3';
15
15
  import { mockClient } from 'aws-sdk-client-mock';
16
- import { S3Handler } from '../lib/index.js';
16
+ import { S3Handler } from '../lib/index.ts';
17
17
  import { PassThrough } from 'stream';
18
18
  import { inspect } from 'util';
19
19
  import { Upload } from '@aws-sdk/lib-storage';
package/tsconfig.json CHANGED
@@ -10,6 +10,9 @@
10
10
  "target": "ES2022",
11
11
  "declaration": true,
12
12
  "skipLibCheck": true,
13
+ "erasableSyntaxOnly": true,
14
+ "verbatimModuleSyntax": true,
15
+ "rewriteRelativeImportExtensions": true,
13
16
  "rootDir": ".",
14
17
  "types": ["mocha", "node"]
15
18
  },