@nxtedition/lib 16.0.8 → 16.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "16.0.8",
3
+ "version": "16.0.10",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",
@@ -75,7 +75,7 @@
75
75
  "dependencies": {
76
76
  "@elastic/elasticsearch": "^8.10.0",
77
77
  "@elastic/transport": "^8.3.4",
78
- "@nxtedition/nxt-undici": "^2.0.5",
78
+ "@nxtedition/nxt-undici": "^2.0.7",
79
79
  "date-fns": "^2.29.3",
80
80
  "fast-querystring": "^1.1.1",
81
81
  "hasha": "^6.0.0",
@@ -99,9 +99,9 @@
99
99
  "url-join": "^5.0.0"
100
100
  },
101
101
  "devDependencies": {
102
- "@nxtedition/deepstream.io-client-js": ">=14.1.0",
103
- "@types/lodash": "^4.14.201",
104
- "@types/node": "^20.9.0",
102
+ "@nxtedition/deepstream.io-client-js": ">=24.1.0",
103
+ "@types/lodash": "^4.14.202",
104
+ "@types/node": "^20.9.4",
105
105
  "eslint": "^8.53.0",
106
106
  "eslint-config-prettier": "^9.0.0",
107
107
  "eslint-config-standard": "^17.0.0",
@@ -7,6 +7,10 @@ import datefns from 'date-fns'
7
7
  import JSON5 from 'json5'
8
8
  import { request } from '@nxtedition/nxt-undici'
9
9
  import undici from 'undici'
10
+ import fp from 'lodash/fp.js'
11
+ import _ from 'lodash'
12
+ import moment from 'moment-timezone'
13
+ import Timecode from 'smpte-timecode'
10
14
 
11
15
  const kSuspend = Symbol('kSuspend')
12
16
  const kEmpty = Symbol('kEmpty')
@@ -178,10 +182,10 @@ function pipe(value, ...fns) {
178
182
  }
179
183
 
180
184
  const globals = {
181
- fp: await import('lodash/fp.js'),
182
- _: await import('lodash'),
183
- moment: await import('moment-timezone'),
184
- Timecode: await import('smpte-timecode'),
185
+ fp,
186
+ _,
187
+ moment,
188
+ Timecode,
185
189
  datefns,
186
190
  JSON5,
187
191
  pipe,