@wavemaker/angular-codegen 11.8.0-next.24909 → 11.8.0-next.24914
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.
- angular-codegen/angular-app/angular.json +0 -2
- angular-codegen/angular-app/build-scripts/update-version.js +24 -0
- angular-codegen/angular-app/package-lock.json +432 -4105
- angular-codegen/angular-app/package.json +9 -9
- angular-codegen/angular-app/src/setup-jest.js +34 -2
- angular-codegen/angular-app/tsconfig.json +1 -0
- angular-codegen/dependencies/pipe-provider.cjs.js +12072 -4
- angular-codegen/dependencies/transpilation-mobile.cjs.js +795 -6
- angular-codegen/dependencies/transpilation-web.cjs.js +6040 -6
- angular-codegen/package-lock.json +1 -1
- angular-codegen/package.json +2 -2
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@babel/runtime": "7.14.8",
|
|
45
45
|
"@metrichor/jmespath": "0.3.1",
|
|
46
46
|
"@wavemaker/focus-trap": "1.0.1",
|
|
47
|
-
"@wavemaker/nvd3": "1.8.
|
|
48
|
-
"@wavemaker/variables": "11.8.0-next.
|
|
47
|
+
"@wavemaker/nvd3": "1.8.12",
|
|
48
|
+
"@wavemaker/variables": "11.8.0-next.24914",
|
|
49
49
|
"@ztree/ztree_v3": "3.5.48",
|
|
50
50
|
"angular-imask": "^7.6.1",
|
|
51
51
|
"angular2-websocket": "0.9.7",
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
"ngx-toastr": "17.0.2",
|
|
66
66
|
"rxjs": "6.6.0",
|
|
67
67
|
"rxjs-compat": "6.4.0",
|
|
68
|
-
"summernote": "0.8.
|
|
68
|
+
"summernote": "0.8.20",
|
|
69
69
|
"ts-jest": "29.1.1",
|
|
70
70
|
"tslib": "2.4.1",
|
|
71
71
|
"x2js": "3.4.4",
|
|
72
72
|
"zone.js": "0.14.7",
|
|
73
|
-
"@wavemaker/app-ng-runtime": "11.8.0-next.
|
|
73
|
+
"@wavemaker/app-ng-runtime": "11.8.0-next.24914"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@angular/compiler-cli": "17.3.11",
|
|
81
81
|
"@angular/language-service": "17.3.11",
|
|
82
82
|
"@babel/plugin-transform-runtime": "^7.14.5",
|
|
83
|
-
"@compodoc/compodoc": "^1.1.
|
|
83
|
+
"@compodoc/compodoc": "^1.1.25",
|
|
84
84
|
"@rollup/plugin-alias": "4.0.2",
|
|
85
85
|
"@rollup/plugin-commonjs": "24.0.0",
|
|
86
86
|
"@rollup/plugin-multi-entry": "6.0.0",
|
|
@@ -91,23 +91,23 @@
|
|
|
91
91
|
"@types/node": "12.11.1",
|
|
92
92
|
"@types/sizzle": "^2.3.3",
|
|
93
93
|
"babel-loader": "^9.1.2",
|
|
94
|
-
"cheerio": "
|
|
94
|
+
"cheerio": "1.0.0-rc.12",
|
|
95
95
|
"codelyzer": "5.1.2",
|
|
96
96
|
"compression-webpack-plugin": "10.0.0",
|
|
97
|
-
"core-js-builder": "2.5.7",
|
|
98
97
|
"fs": "0.0.1-security",
|
|
99
98
|
"fs-extra": "7.0.1",
|
|
100
99
|
"jest": "^29.7.0",
|
|
100
|
+
"jest-canvas-mock": "^2.5.2",
|
|
101
101
|
"jest-preset-angular": "^14.1.0",
|
|
102
102
|
"moment": "2.29.4",
|
|
103
103
|
"moment-timezone": "^0.5.34",
|
|
104
104
|
"ng-packagr": "17.3.0",
|
|
105
105
|
"npm-run-all": "4.1.5",
|
|
106
|
-
"owasp-dependency-check": "0.0.
|
|
106
|
+
"owasp-dependency-check": "0.0.23",
|
|
107
107
|
"rimraf": "2.6.3",
|
|
108
108
|
"rollup": "4.9.5",
|
|
109
109
|
"rollup-plugin-includepaths": "0.2.3",
|
|
110
|
-
"sonarqube-scanner": "
|
|
110
|
+
"sonarqube-scanner": "4.0.1",
|
|
111
111
|
"terser": "^5.15.1",
|
|
112
112
|
"ts-node": "7.0.1",
|
|
113
113
|
"tslint": "~6.1.0",
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import "jest-preset-angular/setup-jest";
|
|
2
2
|
import { ToastrModule } from 'ngx-toastr';
|
|
3
3
|
import { TestBed } from '@angular/core/testing';
|
|
4
|
+
import _ from 'lodash-es';
|
|
5
|
+
import 'jest-canvas-mock';
|
|
4
6
|
|
|
5
7
|
// Mock global objects if necessary
|
|
6
8
|
global.jQuery = require("jquery");
|
|
7
9
|
global.$ = global.jQuery;
|
|
10
|
+
global._ = _;
|
|
8
11
|
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
global._ = require("lodash");
|
|
12
13
|
global.moment = require("moment");
|
|
14
|
+
|
|
13
15
|
class IntersectionObserver {
|
|
14
16
|
constructor(callback, options) {
|
|
15
17
|
|
|
@@ -69,6 +71,7 @@ import "hammerjs/hammer.min.js";
|
|
|
69
71
|
import "iscroll/build/iscroll.js";
|
|
70
72
|
import "tabbable/dist/index.umd.min.js";
|
|
71
73
|
import "@wavemaker/focus-trap/dist/focus-trap.umd.min.js";
|
|
74
|
+
import "x2js"
|
|
72
75
|
|
|
73
76
|
|
|
74
77
|
|
|
@@ -87,3 +90,32 @@ beforeEach(() => {
|
|
|
87
90
|
},
|
|
88
91
|
});
|
|
89
92
|
});
|
|
93
|
+
|
|
94
|
+
// jest.setup.js
|
|
95
|
+
Object.defineProperty(global.HTMLMediaElement.prototype, 'load', {
|
|
96
|
+
configurable: true,
|
|
97
|
+
enumerable: true,
|
|
98
|
+
writable: true,
|
|
99
|
+
value: jest.fn(),
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
Object.defineProperty(global.HTMLMediaElement.prototype, 'play', {
|
|
103
|
+
configurable: true,
|
|
104
|
+
enumerable: true,
|
|
105
|
+
writable: true,
|
|
106
|
+
value: jest.fn().mockResolvedValue(),
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
Object.defineProperty(global.HTMLMediaElement.prototype, 'pause', {
|
|
110
|
+
configurable: true,
|
|
111
|
+
enumerable: true,
|
|
112
|
+
writable: true,
|
|
113
|
+
value: jest.fn(),
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
Object.defineProperty(global.HTMLMediaElement.prototype, 'addTextTrack', {
|
|
117
|
+
configurable: true,
|
|
118
|
+
enumerable: true,
|
|
119
|
+
writable: true,
|
|
120
|
+
value: jest.fn(),
|
|
121
|
+
});
|