@onylab/common-api 1.1.6 → 1.2.1
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/dist/common-api.d.ts +47 -11
- package/dist/common-api.node.min.js +1 -1
- package/dist/common-api.node.min.js.map +1 -1
- package/mocha.env.js +1 -0
- package/package.json +30 -32
package/mocha.env.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
process.env.NODE_ENV = 'test';
|
package/package.json
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
"description": "Common API",
|
|
4
4
|
"main": "dist/common-api.node.min.js",
|
|
5
5
|
"types": "dist/common-api.d.ts",
|
|
6
|
-
"version": "1.1
|
|
6
|
+
"version": "1.2.1",
|
|
7
7
|
"author": "Paul M.",
|
|
8
8
|
"license": "NO LICENSE",
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
10
|
+
"node": ">=22"
|
|
11
11
|
},
|
|
12
12
|
"private": false,
|
|
13
13
|
"scripts": {
|
|
@@ -20,68 +20,66 @@
|
|
|
20
20
|
"postinstall": "npm dedupe",
|
|
21
21
|
"release": "bash script/release.sh",
|
|
22
22
|
"start": "node dist/common-api.node.min.js",
|
|
23
|
-
"test": "mocha",
|
|
23
|
+
"test": "mocha test/**/*.ts",
|
|
24
24
|
"validate": "(npm run compile --silent && npm run lint --silent && npm run test || { exit 1; })"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@sentry/node": "^8.35.0",
|
|
28
|
-
"@sentry/profiling-node": "^8.
|
|
28
|
+
"@sentry/profiling-node": "^8.55.0",
|
|
29
29
|
"@types/clean-css": "^4.2.11",
|
|
30
|
-
"@types/compression": "^1.
|
|
30
|
+
"@types/compression": "^1.8.1",
|
|
31
31
|
"@types/html-minifier-terser": "^7.0.2",
|
|
32
|
-
"axios": "^1.
|
|
32
|
+
"axios": "^1.12.2",
|
|
33
33
|
"clean-css": "^5.3.3",
|
|
34
34
|
"color-name": "^1.1.4",
|
|
35
|
-
"compression": "^1.
|
|
36
|
-
"connect-timeout": "^1.9.
|
|
35
|
+
"compression": "^1.8.1",
|
|
36
|
+
"connect-timeout": "^1.9.1",
|
|
37
37
|
"cors": "^2.8.5",
|
|
38
|
-
"emoji-regex": "^10.
|
|
39
|
-
"express": "^
|
|
38
|
+
"emoji-regex": "^10.5.0",
|
|
39
|
+
"express": "^5.1.0",
|
|
40
40
|
"fast-diff": "^1.3.0",
|
|
41
|
-
"helmet": "^8.
|
|
41
|
+
"helmet": "^8.1.0",
|
|
42
42
|
"html-minifier-terser": "^7.2.0",
|
|
43
43
|
"iconv-lite": "^0.6.3",
|
|
44
44
|
"lodash": "^4.17.21",
|
|
45
|
-
"luxon": "^3.
|
|
45
|
+
"luxon": "^3.7.2",
|
|
46
46
|
"mustache": "^4.2.0",
|
|
47
|
-
"node-mailjet": "^6.0.
|
|
47
|
+
"node-mailjet": "^6.0.9",
|
|
48
48
|
"prettyjson": "^1.2.5",
|
|
49
49
|
"retry": "^0.13.1",
|
|
50
|
-
"shopify-api-node": "^3.
|
|
50
|
+
"shopify-api-node": "^3.15.0",
|
|
51
51
|
"shopify-token": "^4.1.0",
|
|
52
52
|
"typeorm": "^0.2.45"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@faker-js/faker": "^9.
|
|
55
|
+
"@faker-js/faker": "^9.9.0",
|
|
56
56
|
"@pamls/eslint-config": "^0.2.24",
|
|
57
57
|
"@types/chai": "^4.3.20",
|
|
58
58
|
"@types/color-name": "^1.1.5",
|
|
59
59
|
"@types/connect-timeout": "^0.0.39",
|
|
60
|
-
"@types/cors": "^2.8.
|
|
61
|
-
"@types/express": "^5.0.
|
|
60
|
+
"@types/cors": "^2.8.19",
|
|
61
|
+
"@types/express": "^5.0.3",
|
|
62
62
|
"@types/glob": "^8.1.0",
|
|
63
|
-
"@types/lodash": "^4.17.
|
|
64
|
-
"@types/luxon": "^3.
|
|
65
|
-
"@types/mocha": "^10.0.
|
|
66
|
-
"@types/mustache": "^4.2.
|
|
67
|
-
"@types/node": "^22.8
|
|
63
|
+
"@types/lodash": "^4.17.20",
|
|
64
|
+
"@types/luxon": "^3.7.1",
|
|
65
|
+
"@types/mocha": "^10.0.10",
|
|
66
|
+
"@types/mustache": "^4.2.6",
|
|
67
|
+
"@types/node": "^22.18.8",
|
|
68
68
|
"@types/node-mailjet": "^3.3.12",
|
|
69
69
|
"@types/prettyjson": "^0.0.33",
|
|
70
70
|
"@types/retry": "^0.12.5",
|
|
71
71
|
"@types/sinon": "^10.0.20",
|
|
72
|
-
"@types/webpack-env": "^1.18.
|
|
72
|
+
"@types/webpack-env": "^1.18.8",
|
|
73
73
|
"chai": "^4.5.0",
|
|
74
74
|
"copy-webpack-plugin": "^12.0.2",
|
|
75
|
-
"mocha": "^10.
|
|
76
|
-
"nock": "^13.5.
|
|
75
|
+
"mocha": "^10.8.2",
|
|
76
|
+
"nock": "^13.5.6",
|
|
77
77
|
"sinon": "^15.2.0",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"typescript": "^5.6.3",
|
|
84
|
-
"webpack": "^5.95.0",
|
|
78
|
+
"ts-loader": "^9.5.4",
|
|
79
|
+
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
80
|
+
"tsx": "^4.20.6",
|
|
81
|
+
"typescript": "^5.9.3",
|
|
82
|
+
"webpack": "^5.102.0",
|
|
85
83
|
"webpack-cli": "^5.1.4",
|
|
86
84
|
"webpack-node-externals": "^3.0.0"
|
|
87
85
|
},
|