@balena/sbvr-types 4.0.2 → 5.0.0

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.
@@ -1,3 +1,14 @@
1
+ - commits:
2
+ - subject: Switch from `export =` to `export default`
3
+ hash: 6cd01340e0fee46833942691fce5a9f6a42ac104
4
+ body: ""
5
+ footer:
6
+ Change-type: major
7
+ change-type: major
8
+ author: Pagan Gazzard
9
+ version: 5.0.0
10
+ title: ""
11
+ date: 2023-05-16T15:53:20.284Z
1
12
  - commits:
2
13
  - subject: Improve typings
3
14
  hash: a5fd4a319cd0336afc5a765af9e1a1eec851f2c3
@@ -8,7 +19,7 @@
8
19
  author: Pagan Gazzard
9
20
  version: 4.0.2
10
21
  title: ""
11
- date: 2023-05-03T11:37:17.650Z
22
+ date: 2023-05-03T11:40:24.422Z
12
23
  - commits:
13
24
  - subject: "boolean: Avoid unnecessary array creation to reduce GCs"
14
25
  hash: 5ba948cd5f42844974d43dc19f1c371e56376fc8
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
+ # v5.0.0
8
+ ## (2023-05-16)
9
+
10
+ * Switch from `export =` to `export default` [Pagan Gazzard]
11
+
7
12
  # v4.0.2
8
13
  ## (2023-05-03)
9
14
 
package/out/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import type { SbvrType } from './type-utils';
2
+ export type { SbvrType };
1
3
  import * as BigInteger from './types/big-integer';
2
4
  import * as BigSerial from './types/big-serial';
3
5
  import * as Boolean from './types/boolean';
@@ -40,4 +42,4 @@ declare const _default: {
40
42
  Text: typeof Text;
41
43
  Time: typeof Time;
42
44
  };
43
- export = _default;
45
+ export default _default;
package/out/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  const BigInteger = require("./types/big-integer");
3
4
  const BigSerial = require("./types/big-serial");
4
5
  const Boolean = require("./types/boolean");
@@ -19,7 +20,7 @@ const SHA = require("./types/sha");
19
20
  const ShortText = require("./types/short-text");
20
21
  const Text = require("./types/text");
21
22
  const Time = require("./types/time");
22
- module.exports = {
23
+ exports.default = {
23
24
  'Big Integer': BigInteger,
24
25
  'Big Serial': BigSerial,
25
26
  Boolean,
package/out/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,kDAAkD;AAClD,gDAAgD;AAChD,2CAA2C;AAC3C,qEAAqE;AACrE,uCAAuC;AACvC,oDAAoD;AACpD,qCAAqC;AACrC,8CAA8C;AAC9C,qCAAqC;AACrC,kDAAkD;AAClD,yCAAyC;AACzC,2CAA2C;AAC3C,6CAA6C;AAC7C,qCAAqC;AACrC,qCAAqC;AACrC,yCAAyC;AACzC,mCAAmC;AACnC,gDAAgD;AAChD,qCAAqC;AACrC,qCAAqC;AAErC,iBAAS;IACR,aAAa,EAAE,UAAU;IACzB,YAAY,EAAE,SAAS;IACvB,OAAO;IACP,uBAAuB,EAAE,mBAAmB;IAC5C,KAAK;IACL,WAAW;IACX,WAAW,EAAE,QAAQ;IACrB,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,MAAM;IACN,OAAO;IACP,QAAQ;IACR,IAAI;IACJ,IAAI;IACJ,MAAM;IACN,GAAG;IACH,YAAY,EAAE,SAAS;IACvB,IAAI;IACJ,IAAI;CAUJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAGA,kDAAkD;AAClD,gDAAgD;AAChD,2CAA2C;AAC3C,qEAAqE;AACrE,uCAAuC;AACvC,oDAAoD;AACpD,qCAAqC;AACrC,8CAA8C;AAC9C,qCAAqC;AACrC,kDAAkD;AAClD,yCAAyC;AACzC,2CAA2C;AAC3C,6CAA6C;AAC7C,qCAAqC;AACrC,qCAAqC;AACrC,yCAAyC;AACzC,mCAAmC;AACnC,gDAAgD;AAChD,qCAAqC;AACrC,qCAAqC;AAErC,kBAAe;IACd,aAAa,EAAE,UAAU;IACzB,YAAY,EAAE,SAAS;IACvB,OAAO;IACP,uBAAuB,EAAE,mBAAmB;IAC5C,KAAK;IACL,WAAW;IACX,WAAW,EAAE,QAAQ;IACrB,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,MAAM;IACN,OAAO;IACP,QAAQ;IACR,IAAI;IACJ,IAAI;IACJ,MAAM;IACN,GAAG;IACH,YAAY,EAAE,SAAS;IACvB,IAAI;IACJ,IAAI;CAUJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/sbvr-types",
3
- "version": "4.0.2",
3
+ "version": "5.0.0",
4
4
  "description": "SBVR type definitions.",
5
5
  "main": "out",
6
6
  "scripts": {
@@ -54,6 +54,6 @@
54
54
  "npm": ">=8.1.0"
55
55
  },
56
56
  "versionist": {
57
- "publishedAt": "2023-05-03T11:37:17.824Z"
57
+ "publishedAt": "2023-05-16T15:53:20.452Z"
58
58
  }
59
59
  }
package/src/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { SbvrType } from './type-utils';
2
+ export type { SbvrType };
2
3
 
3
4
  import * as BigInteger from './types/big-integer';
4
5
  import * as BigSerial from './types/big-serial';
@@ -21,7 +22,7 @@ import * as ShortText from './types/short-text';
21
22
  import * as Text from './types/text';
22
23
  import * as Time from './types/time';
23
24
 
24
- export = {
25
+ export default {
25
26
  'Big Integer': BigInteger,
26
27
  'Big Serial': BigSerial,
27
28
  Boolean,