@balena/pinejs 17.1.3-build-renovate-major-12-commander-96d9587f17ac8c003b04f0ef71076d0d15cd00b5-1 → 17.1.3-build-typo-fix-da4e0d350c01af9274f238ac7bb7900dc5478cfe-2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +1,15 @@
1
1
  - commits:
2
- - subject: Update dependency commander to v12
3
- hash: 96d9587f17ac8c003b04f0ef71076d0d15cd00b5
4
- body: |
5
- Update commander from 11.1.0 to 12.1.0
2
+ - subject: Fix unrecognized migration & config typo
3
+ hash: da4e0d350c01af9274f238ac7bb7900dc5478cfe
4
+ body: ""
6
5
  footer:
7
6
  Change-type: patch
8
7
  change-type: patch
9
- author: Self-hosted Renovate Bot
8
+ author: Thodoris Greasidis
10
9
  nested: []
11
10
  version: 17.1.3
12
11
  title: ""
13
- date: 2024-06-20T12:59:24.182Z
12
+ date: 2024-06-20T13:21:18.625Z
14
13
  - commits:
15
14
  - subject: Update dependency @balena/sbvr-types to v8
16
15
  hash: c0df90068eb5ab1abeb6a68f846fc39d9b1c6c16
package/CHANGELOG.md CHANGED
@@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
7
7
  # v17.1.3
8
8
  ## (2024-06-20)
9
9
 
10
- * Update dependency commander to v12 [Self-hosted Renovate Bot]
10
+ * Fix unrecognized migration & config typo [Thodoris Greasidis]
11
11
 
12
12
  # v17.1.2
13
13
  ## (2024-06-20)
package/out/bin/utils.js CHANGED
@@ -90,11 +90,11 @@ const getAbstractSqlModelFromFile = (modelFile) => {
90
90
  seModel = fs.readFileSync(require.resolve(configModel.modelFile), 'utf8');
91
91
  }
92
92
  else {
93
- throw new Error('Unrecognised config file');
93
+ throw new Error('Unrecognized config file');
94
94
  }
95
95
  }
96
96
  else {
97
- throw new Error('Unrecognised config file');
97
+ throw new Error('Unrecognized config file');
98
98
  }
99
99
  const { generateLfModel, generateAbstractSqlModel } = require('../sbvr-api/sbvr-utils');
100
100
  let lfModel;
@@ -275,7 +275,7 @@ const setup = (app) => {
275
275
  assignMigrationWithCategory(migrationKey, await fs.promises.readFile(filePath, 'utf8'));
276
276
  break;
277
277
  default:
278
- console.error(`Unrecognised migration file extension, skipping: ${path.extname(filename)}`);
278
+ console.error(`Unrecognized migration file extension, skipping: ${path.extname(filename)}`);
279
279
  }
280
280
  }));
281
281
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/pinejs",
3
- "version": "17.1.3-build-renovate-major-12-commander-96d9587f17ac8c003b04f0ef71076d0d15cd00b5-1",
3
+ "version": "17.1.3-build-typo-fix-da4e0d350c01af9274f238ac7bb7900dc5478cfe-2",
4
4
  "main": "out/server-glue/module",
5
5
  "type": "commonjs",
6
6
  "repository": "git@github.com:balena-io/pinejs.git",
@@ -54,7 +54,7 @@
54
54
  "@types/randomstring": "^1.3.0",
55
55
  "@types/websql": "^0.0.30",
56
56
  "busboy": "^1.6.0",
57
- "commander": "^12.0.0",
57
+ "commander": "^11.1.0",
58
58
  "deep-freeze": "^0.0.1",
59
59
  "eventemitter3": "^5.0.1",
60
60
  "express-session": "^1.18.0",
@@ -146,6 +146,6 @@
146
146
  "recursive": true
147
147
  },
148
148
  "versionist": {
149
- "publishedAt": "2024-06-20T12:59:24.917Z"
149
+ "publishedAt": "2024-06-20T13:21:19.376Z"
150
150
  }
151
151
  }
package/src/bin/utils.ts CHANGED
@@ -76,10 +76,10 @@ export const getAbstractSqlModelFromFile = (
76
76
  } else if ('modelFile' in configModel && configModel.modelFile != null) {
77
77
  seModel = fs.readFileSync(require.resolve(configModel.modelFile), 'utf8');
78
78
  } else {
79
- throw new Error('Unrecognised config file');
79
+ throw new Error('Unrecognized config file');
80
80
  }
81
81
  } else {
82
- throw new Error('Unrecognised config file');
82
+ throw new Error('Unrecognized config file');
83
83
  }
84
84
  const { generateLfModel, generateAbstractSqlModel } =
85
85
  // eslint-disable-next-line @typescript-eslint/no-var-requires
@@ -415,7 +415,7 @@ export const setup = (app: Express.Application) => {
415
415
  break;
416
416
  default:
417
417
  console.error(
418
- `Unrecognised migration file extension, skipping: ${path.extname(
418
+ `Unrecognized migration file extension, skipping: ${path.extname(
419
419
  filename,
420
420
  )}`,
421
421
  );