@hello.nrfcloud.com/proto-map 16.1.4 → 16.1.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.
@@ -166,7 +166,7 @@ var subDir = function() {
166
166
  ].concat(_to_consumable_array(tree)));
167
167
  };
168
168
  console.log(chalk.gray('Models'));
169
- var models = await Promise.all((await Promise.all((await readdir(subDir('models'))).map(function() {
169
+ var models = await Promise.all((await Promise.all((await readdir(subDir('models'))).map(/*#__PURE__*/ function() {
170
170
  var _ref = _async_to_generator(function(f) {
171
171
  var _tmp;
172
172
  return _ts_generator(this, function(_state) {
@@ -193,7 +193,7 @@ var models = await Promise.all((await Promise.all((await readdir(subDir('models'
193
193
  }()))).filter(function(param) {
194
194
  var stat = param.stat;
195
195
  return stat.isDirectory();
196
- }).map(function() {
196
+ }).map(/*#__PURE__*/ function() {
197
197
  var _ref = _async_to_generator(function(model) {
198
198
  var _tmp;
199
199
  return _ts_generator(this, function(_state) {
@@ -272,7 +272,7 @@ import { LWM2MObjectDefinition } from './LWM2MObjectDefinition.js';
272
272
  import { validate } from '../validate.js';
273
273
  import { parseRangeEnumeration } from './parseRangeEnumeration.js';
274
274
  var v = validate(LWM2MObjectDefinition);
275
- var listLwm2mDefinitions = function() {
275
+ var listLwm2mDefinitions = /*#__PURE__*/ function() {
276
276
  var _ref = _async_to_generator(function(modelDir) {
277
277
  var defs, files, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _loop, _iterator, _step, err;
278
278
  return _ts_generator(this, function(_state) {
@@ -152,7 +152,7 @@ import { readFile } from 'node:fs/promises';
152
152
  import path from 'node:path';
153
153
  /**
154
154
  * From XML to JSON
155
- */ export var fromXML2JSON = function() {
155
+ */ export var fromXML2JSON = /*#__PURE__*/ function() {
156
156
  var _ref = _async_to_generator(function(id) {
157
157
  var _path, baseDir, subDir, jsonObject, _;
158
158
  return _ts_generator(this, function(_state) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hello.nrfcloud.com/proto-map",
3
- "version": "16.1.4",
3
+ "version": "16.1.5",
4
4
  "description": "Documents the communication protocol between devices, the hello.nrfcloud.com/map backend and web application",
5
5
  "type": "module",
6
6
  "exports": {
@@ -35,24 +35,24 @@
35
35
  "prepublishOnly": "./compile.sh"
36
36
  },
37
37
  "devDependencies": {
38
- "@bifravst/eslint-config-typescript": "6.1.13",
38
+ "@bifravst/eslint-config-typescript": "6.1.15",
39
39
  "@bifravst/prettier-config": "1.1.0",
40
- "@commitlint/config-conventional": "19.4.1",
40
+ "@commitlint/config-conventional": "19.5.0",
41
41
  "@swc/cli": "0.4.0",
42
- "@swc/core": "1.7.23",
43
- "@types/node": "22.5.2",
42
+ "@swc/core": "1.7.26",
43
+ "@types/node": "22.5.4",
44
44
  "@types/xml2js": "0.4.14",
45
45
  "chalk": "5.3.0",
46
46
  "globstar": "1.0.0",
47
- "husky": "9.1.5",
47
+ "husky": "9.1.6",
48
48
  "lint-staged": "15.2.10",
49
49
  "remark": "15.0.1",
50
50
  "remark-frontmatter": "5.0.0",
51
51
  "tsmatchers": "5.0.2",
52
- "tsx": "4.19.0",
53
- "typescript": "5.5.4",
52
+ "tsx": "4.19.1",
53
+ "typescript": "5.6.2",
54
54
  "xml2js": "0.6.2",
55
- "yaml": "2.5.0"
55
+ "yaml": "2.5.1"
56
56
  },
57
57
  "lint-staged": {
58
58
  "*.{ts,tsx}": [
@@ -98,6 +98,6 @@
98
98
  "lwm2m"
99
99
  ],
100
100
  "peerDependencies": {
101
- "@sinclair/typebox": "^0.33.9"
101
+ "@sinclair/typebox": "^0.33.10"
102
102
  }
103
103
  }