@balena/pinejs 23.1.12-build-update-deps-4a6e17f14e1455c6c17d995bb68399328bdd6d30-2 → 23.1.13-build-tsconfig-node18-cfe9e1803c73adc55de3f7c34ac4bbc3b2ef3368-1
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/.pinejs-cache.json +1 -1
- package/.versionbot/CHANGELOG.yml +30 -1
- package/CHANGELOG.md +5 -0
- package/Gruntfile.cts +5 -2
- package/VERSION +1 -1
- package/package.json +9 -8
- package/tsconfig.json +1 -1
@@ -1,3 +1,16 @@
|
|
1
|
+
- commits:
|
2
|
+
- subject: Switch tsconfig module to `Node20`
|
3
|
+
hash: cfe9e1803c73adc55de3f7c34ac4bbc3b2ef3368
|
4
|
+
body: |
|
5
|
+
This avoids using a floating version which may break later
|
6
|
+
footer:
|
7
|
+
Change-type: patch
|
8
|
+
change-type: patch
|
9
|
+
author: Pagan Gazzard
|
10
|
+
nested: []
|
11
|
+
version: 23.1.13
|
12
|
+
title: ""
|
13
|
+
date: 2025-10-13T12:57:34.390Z
|
1
14
|
- commits:
|
2
15
|
- subject: Update dependencies
|
3
16
|
hash: 4a6e17f14e1455c6c17d995bb68399328bdd6d30
|
@@ -329,7 +342,7 @@
|
|
329
342
|
date: 2025-09-11T02:02:03.461Z
|
330
343
|
version: 23.1.12
|
331
344
|
title: ""
|
332
|
-
date: 2025-10-
|
345
|
+
date: 2025-10-13T12:26:21.906Z
|
333
346
|
- commits:
|
334
347
|
- subject: Update dependency mocha to v11.7.4
|
335
348
|
hash: 7182e858031ea26bc36d64b2b4bd890ca7f881e8
|
@@ -5666,6 +5679,7 @@
|
|
5666
5679
|
|
5667
5680
|
|
5668
5681
|
|
5682
|
+
|
5669
5683
|
|
5670
5684
|
|
5671
5685
|
As balena-lint
|
@@ -5753,6 +5767,7 @@
|
|
5753
5767
|
|
5754
5768
|
|
5755
5769
|
|
5770
|
+
|
5756
5771
|
|
5757
5772
|
|
5758
5773
|
As engine and npm is
|
@@ -5855,6 +5870,7 @@
|
|
5855
5870
|
|
5856
5871
|
|
5857
5872
|
|
5873
|
+
|
5858
5874
|
|
5859
5875
|
|
5860
5876
|
Ensure that the
|
@@ -6020,6 +6036,7 @@
|
|
6020
6036
|
|
6021
6037
|
|
6022
6038
|
|
6039
|
+
|
6023
6040
|
|
6024
6041
|
|
6025
6042
|
This also deprecates
|
@@ -6113,6 +6130,7 @@
|
|
6113
6130
|
|
6114
6131
|
|
6115
6132
|
|
6133
|
+
|
6116
6134
|
|
6117
6135
|
|
6118
6136
|
It can in fact be a
|
@@ -6207,6 +6225,7 @@
|
|
6207
6225
|
|
6208
6226
|
|
6209
6227
|
|
6228
|
+
|
6210
6229
|
|
6211
6230
|
|
6212
6231
|
We know what type
|
@@ -6306,6 +6325,7 @@
|
|
6306
6325
|
|
6307
6326
|
|
6308
6327
|
|
6328
|
+
|
6309
6329
|
|
6310
6330
|
|
6311
6331
|
Update
|
@@ -6516,6 +6536,7 @@
|
|
6516
6536
|
|
6517
6537
|
|
6518
6538
|
|
6539
|
+
|
6519
6540
|
|
6520
6541
|
|
6521
6542
|
This also deprecates
|
@@ -9699,6 +9720,7 @@
|
|
9699
9720
|
|
9700
9721
|
|
9701
9722
|
|
9723
|
+
|
9702
9724
|
|
9703
9725
|
|
9704
9726
|
As balena-lint
|
@@ -9814,6 +9836,7 @@
|
|
9814
9836
|
|
9815
9837
|
|
9816
9838
|
|
9839
|
+
|
9817
9840
|
|
9818
9841
|
|
9819
9842
|
As engine and npm is
|
@@ -9944,6 +9967,7 @@
|
|
9944
9967
|
|
9945
9968
|
|
9946
9969
|
|
9970
|
+
|
9947
9971
|
|
9948
9972
|
|
9949
9973
|
Ensure that the
|
@@ -10137,6 +10161,7 @@
|
|
10137
10161
|
|
10138
10162
|
|
10139
10163
|
|
10164
|
+
|
10140
10165
|
|
10141
10166
|
|
10142
10167
|
This also deprecates
|
@@ -10258,6 +10283,7 @@
|
|
10258
10283
|
|
10259
10284
|
|
10260
10285
|
|
10286
|
+
|
10261
10287
|
|
10262
10288
|
|
10263
10289
|
It can in fact be a
|
@@ -10380,6 +10406,7 @@
|
|
10380
10406
|
|
10381
10407
|
|
10382
10408
|
|
10409
|
+
|
10383
10410
|
|
10384
10411
|
|
10385
10412
|
We know what type
|
@@ -10507,6 +10534,7 @@
|
|
10507
10534
|
|
10508
10535
|
|
10509
10536
|
|
10537
|
+
|
10510
10538
|
|
10511
10539
|
|
10512
10540
|
Update
|
@@ -10745,6 +10773,7 @@
|
|
10745
10773
|
|
10746
10774
|
|
10747
10775
|
|
10776
|
+
|
10748
10777
|
|
10749
10778
|
|
10750
10779
|
This also deprecates
|
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
|
+
# v23.1.13
|
8
|
+
## (2025-10-13)
|
9
|
+
|
10
|
+
* Switch tsconfig module to `Node20` [Pagan Gazzard]
|
11
|
+
|
7
12
|
# v23.1.12
|
8
13
|
## (2025-10-13)
|
9
14
|
|
package/Gruntfile.cts
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
import type * as Grunt from 'grunt';
|
2
2
|
import type { WebpackPluginInstance } from 'webpack';
|
3
3
|
|
4
|
-
import _ from 'lodash';
|
5
|
-
import TerserPlugin from 'terser-webpack-plugin';
|
4
|
+
import * as _ from 'lodash';
|
5
|
+
import * as $TerserPlugin from 'terser-webpack-plugin';
|
6
|
+
import type TerserPluginType from 'terser-webpack-plugin';
|
7
|
+
// @ts-expect-error we need to cat the terser plugin type due to having to use `* as` for runtime to work but default import for the type
|
8
|
+
const TerserPlugin = $TerserPlugin as typeof TerserPluginType;
|
6
9
|
import browserConfig from './build/browser.cts';
|
7
10
|
import moduleConfig from './build/module.cts';
|
8
11
|
import serverConfig from './build/server.cts';
|
package/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
23.1.
|
1
|
+
23.1.13
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/pinejs",
|
3
|
-
"version": "23.1.
|
3
|
+
"version": "23.1.13-build-tsconfig-node18-cfe9e1803c73adc55de3f7c34ac4bbc3b2ef3368-1",
|
4
4
|
"main": "out/server-glue/module.js",
|
5
5
|
"type": "module",
|
6
6
|
"repository": "git@github.com:balena-io/pinejs.git",
|
@@ -13,10 +13,10 @@
|
|
13
13
|
"scripts": {
|
14
14
|
"prepublish": "require-npm4-to-publish",
|
15
15
|
"prepare": "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module && npm run build",
|
16
|
-
"build": "grunt --preload
|
17
|
-
"webpack-browser": "grunt --preload
|
18
|
-
"webpack-module": "grunt --preload
|
19
|
-
"webpack-server": "grunt --preload
|
16
|
+
"build": "grunt --preload @swc-node/register --gruntfile Gruntfile.cts build",
|
17
|
+
"webpack-browser": "grunt --preload @swc-node/register --gruntfile Gruntfile.cts browser",
|
18
|
+
"webpack-module": "grunt --preload @swc-node/register --gruntfile Gruntfile.cts module",
|
19
|
+
"webpack-server": "grunt --preload @swc-node/register --gruntfile Gruntfile.cts server",
|
20
20
|
"webpack-build": "npm run webpack-browser && npm run webpack-module && npm run webpack-server",
|
21
21
|
"lint": "balena-lint -t tsconfig.dev.json -e js -e ts src test build typings Gruntfile.cts && npx tsc --project tsconfig.dev.json --noEmit",
|
22
22
|
"test": "npm run build && npm run lint && npm run webpack-build && npm run test:compose && npm run test:generated-types",
|
@@ -71,6 +71,8 @@
|
|
71
71
|
"@balena/pinejs": "file:./",
|
72
72
|
"@balena/pinejs-webresource-s3": "^2.1.10",
|
73
73
|
"@faker-js/faker": "^10.0.0",
|
74
|
+
"@swc-node/register": "^1.11.1",
|
75
|
+
"@swc/core": "^1.13.5",
|
74
76
|
"@types/busboy": "^1.5.4",
|
75
77
|
"@types/chai": "^5.2.2",
|
76
78
|
"@types/grunt": "^0.4.32",
|
@@ -104,7 +106,6 @@
|
|
104
106
|
"supertest": "^7.1.4",
|
105
107
|
"terser-webpack-plugin": "^5.3.14",
|
106
108
|
"ts-loader": "^9.5.4",
|
107
|
-
"ts-node": "^10.9.2",
|
108
109
|
"typescript": "^5.9.3",
|
109
110
|
"webpack": "^5.102.1",
|
110
111
|
"webpack-dev-server": "^5.2.2"
|
@@ -142,12 +143,12 @@
|
|
142
143
|
"extension": [
|
143
144
|
".test.ts"
|
144
145
|
],
|
145
|
-
"loader": "
|
146
|
+
"loader": "@swc-node/register/esm-register",
|
146
147
|
"exit": true,
|
147
148
|
"timeout": 60000,
|
148
149
|
"recursive": true
|
149
150
|
},
|
150
151
|
"versionist": {
|
151
|
-
"publishedAt": "2025-10-
|
152
|
+
"publishedAt": "2025-10-13T12:57:35.458Z"
|
152
153
|
}
|
153
154
|
}
|