@adtrackify/at-service-common 1.0.51 → 1.0.53
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/build.js +1 -1
- package/dist/index.js +3210 -3174
- package/dist/index.js.map +4 -4
- package/package.json +12 -11
- package/tsconfig.json +3 -3
- package/jest.config.js +0 -39
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adtrackify/at-service-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.53",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
-
"modules": "
|
|
8
|
+
"modules": "esm",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"clean": "rimraf dist",
|
|
11
11
|
"build": "npm run clean && npm run verify && cross-env NODE_ENV=production stage=dev APP_ENV=dev node build.js",
|
|
@@ -33,16 +33,10 @@
|
|
|
33
33
|
"lambda-log": "^3.1.0",
|
|
34
34
|
"luxon": "^3.0.3",
|
|
35
35
|
"ua-parser-js": "^1.0.2",
|
|
36
|
-
"uuid": "^9.0.0"
|
|
37
|
-
"@types/axios": "^0.14.0",
|
|
38
|
-
"@types/lambda-log": "^2.2.1",
|
|
39
|
-
"@types/luxon": "^3.0.1",
|
|
40
|
-
"@types/node": "^17.0.8",
|
|
41
|
-
"@types/ua-parser-js": "^0.7.36",
|
|
42
|
-
"@types/uuid": "^8.3.4"
|
|
36
|
+
"uuid": "^9.0.0"
|
|
43
37
|
},
|
|
44
38
|
"devDependencies": {
|
|
45
|
-
"@adtrackify/at-tracking-event-types": "^1.0.
|
|
39
|
+
"@adtrackify/at-tracking-event-types": "^1.0.35",
|
|
46
40
|
"@babel/cli": "^7.13.16",
|
|
47
41
|
"@babel/core": "^7.19.1",
|
|
48
42
|
"@babel/plugin-proposal-optional-chaining": "^7.13.8",
|
|
@@ -50,9 +44,16 @@
|
|
|
50
44
|
"@babel/preset-env": "^7.19.1",
|
|
51
45
|
"@babel/preset-typescript": "^7.16.7",
|
|
52
46
|
"@babel/runtime-corejs3": "^7.19.1",
|
|
47
|
+
"@faker-js/faker": "^7.5.0",
|
|
48
|
+
"@types/axios": "^0.14.0",
|
|
49
|
+
"@types/lambda-log": "^2.2.1",
|
|
50
|
+
"@types/luxon": "^3.0.1",
|
|
51
|
+
"@types/node": "^17.0.8",
|
|
52
|
+
"@types/ua-parser-js": "^0.7.36",
|
|
53
|
+
"@types/uuid": "^8.3.4",
|
|
53
54
|
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
|
54
55
|
"@typescript-eslint/parser": "^5.37.0",
|
|
55
|
-
"aws-sdk": "^2.
|
|
56
|
+
"aws-sdk": "^2.1217.0",
|
|
56
57
|
"babel-eslint": "^10.1.0",
|
|
57
58
|
"babel-jest": "^26.6.3",
|
|
58
59
|
"babel-polyfill": "^6.26.0",
|
package/tsconfig.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
4
|
-
"module": "
|
|
3
|
+
"target": "ES2022" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
|
|
4
|
+
"module": "ES2022" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
|
|
5
5
|
|
|
6
|
-
"allowJs":
|
|
6
|
+
"allowJs": false, /* Allow javascript files to be compiled. */
|
|
7
7
|
"checkJs": false /* Report errors in .js files. */,
|
|
8
8
|
"outDir": "dist", /* Redirect output to the directory. */
|
|
9
9
|
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
|
package/jest.config.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*eslint-disable */
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
globals: {
|
|
5
|
-
'window': {},
|
|
6
|
-
'document': {},
|
|
7
|
-
'navigator': {},
|
|
8
|
-
'ts-jest': {
|
|
9
|
-
babelConfig: true,
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
roots: ['<rootDir>/src'],
|
|
13
|
-
testRegex: '\\.spec\\.(js|ts)$',
|
|
14
|
-
transform: {
|
|
15
|
-
'^.+\\.(js|jsx|ts|tsx|mjs)$': 'babel-jest',
|
|
16
|
-
},
|
|
17
|
-
moduleFileExtensions: ['js', 'json', 'ts'],
|
|
18
|
-
runner: 'groups',
|
|
19
|
-
verbose: true,
|
|
20
|
-
coverageThreshold: {
|
|
21
|
-
global: {
|
|
22
|
-
branches: 0,
|
|
23
|
-
functions: 0,
|
|
24
|
-
lines: 0,
|
|
25
|
-
statements: 0
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
coverageReporters: ['html', 'text', 'text-summary', 'cobertura'],
|
|
29
|
-
reporters: ['default', 'jest-junit'],
|
|
30
|
-
collectCoverageFrom: [
|
|
31
|
-
'src/**/*.ts',
|
|
32
|
-
'!src/**/*.spec.js',
|
|
33
|
-
'src/**/*.js',
|
|
34
|
-
'!src/**/*.spec.ts',
|
|
35
|
-
'!src/**/tests/**'
|
|
36
|
-
],
|
|
37
|
-
setupFilesAfterEnv: [],
|
|
38
|
-
};
|
|
39
|
-
/*eslint-enable */
|