@nxtedition/lib 13.1.1 → 13.2.2

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/errors.js CHANGED
@@ -143,6 +143,15 @@ module.exports.makeMessages = function makeMessages(error, options) {
143
143
  : null
144
144
  : null,
145
145
  }
146
+ } else {
147
+ err = {
148
+ msg: 'Unknown Error',
149
+ titlte: 'UnknownError',
150
+ id: 'unknown_error',
151
+ level: 50,
152
+ code: 'NXT_UNKNOWN_ERROR',
153
+ data: error,
154
+ }
146
155
  }
147
156
 
148
157
  return [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "13.1.1",
3
+ "version": "13.2.2",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "files": [
@@ -83,6 +83,7 @@
83
83
  "object-hash": "^3.0.0",
84
84
  "qs": "^6.11.1",
85
85
  "request-target": "^1.0.2",
86
+ "smpte-timecode": "^1.3.3",
86
87
  "split-string": "^6.0.0",
87
88
  "toobusy-js": "^0.5.1",
88
89
  "undici": "^5.22.0",
@@ -119,7 +119,9 @@ function pipe(value, ...fns) {
119
119
 
120
120
  const globals = {
121
121
  fp: require('lodash/fp'),
122
+ _: require('lodash'),
122
123
  moment: require('moment-timezone'),
124
+ Timecode: require('smpte-timecode'),
123
125
  datefns,
124
126
  JSON5,
125
127
  pipe,