@wavemaker/angular-codegen 11.8.0-next.27307 → 11.8.0-next.27308
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.
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@metrichor/jmespath": "0.3.1",
|
|
37
37
|
"@wavemaker/focus-trap": "1.0.1",
|
|
38
38
|
"@wavemaker/nvd3": "1.8.11",
|
|
39
|
-
"@wavemaker/variables": "11.8.0-next.
|
|
39
|
+
"@wavemaker/variables": "11.8.0-next.27308",
|
|
40
40
|
"@ztree/ztree_v3": "3.5.48",
|
|
41
41
|
"angular-imask": "^7.6.1",
|
|
42
42
|
"angular2-websocket": "0.9.7",
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
"fs": "0.0.1-security",
|
|
89
89
|
"fs-extra": "7.0.1",
|
|
90
90
|
"jest": "^29.7.0",
|
|
91
|
+
"jest-canvas-mock": "^2.5.2",
|
|
91
92
|
"jest-preset-angular": "^14.1.0",
|
|
92
93
|
"moment": "2.29.4",
|
|
93
94
|
"moment-timezone": "^0.5.34",
|
|
@@ -6451,9 +6452,9 @@
|
|
|
6451
6452
|
}
|
|
6452
6453
|
},
|
|
6453
6454
|
"node_modules/@wavemaker/variables": {
|
|
6454
|
-
"version": "11.8.0-next.
|
|
6455
|
-
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.8.0-next.
|
|
6456
|
-
"integrity": "sha512-
|
|
6455
|
+
"version": "11.8.0-next.27308",
|
|
6456
|
+
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.8.0-next.27308.tgz",
|
|
6457
|
+
"integrity": "sha512-N6KMY0uIVl+JZEJRe+XahKZM7UgwLKv7Z5KYXvcNG1/Vu5CLM3t0VS5rJYNigCglCq1nqduA0xnfEu7EW32i6A==",
|
|
6457
6458
|
"dependencies": {
|
|
6458
6459
|
"@metrichor/jmespath": "^0.3.1",
|
|
6459
6460
|
"he": "^1.2.0",
|
|
@@ -9816,6 +9817,12 @@
|
|
|
9816
9817
|
"node": ">=4"
|
|
9817
9818
|
}
|
|
9818
9819
|
},
|
|
9820
|
+
"node_modules/cssfontparser": {
|
|
9821
|
+
"version": "1.2.1",
|
|
9822
|
+
"resolved": "https://registry.npmjs.org/cssfontparser/-/cssfontparser-1.2.1.tgz",
|
|
9823
|
+
"integrity": "sha512-6tun4LoZnj7VN6YeegOVb67KBX/7JJsqvj+pv3ZA7F878/eN33AbGa5b/S/wXxS/tcp8nc40xRUrsPlxIyNUPg==",
|
|
9824
|
+
"dev": true
|
|
9825
|
+
},
|
|
9819
9826
|
"node_modules/cssstyle": {
|
|
9820
9827
|
"version": "2.3.0",
|
|
9821
9828
|
"resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz",
|
|
@@ -14239,6 +14246,16 @@
|
|
|
14239
14246
|
}
|
|
14240
14247
|
}
|
|
14241
14248
|
},
|
|
14249
|
+
"node_modules/jest-canvas-mock": {
|
|
14250
|
+
"version": "2.5.2",
|
|
14251
|
+
"resolved": "https://registry.npmjs.org/jest-canvas-mock/-/jest-canvas-mock-2.5.2.tgz",
|
|
14252
|
+
"integrity": "sha512-vgnpPupjOL6+L5oJXzxTxFrlGEIbHdZqFU+LFNdtLxZ3lRDCl17FlTMM7IatoRQkrcyOTMlDinjUguqmQ6bR2A==",
|
|
14253
|
+
"dev": true,
|
|
14254
|
+
"dependencies": {
|
|
14255
|
+
"cssfontparser": "^1.2.1",
|
|
14256
|
+
"moo-color": "^1.0.2"
|
|
14257
|
+
}
|
|
14258
|
+
},
|
|
14242
14259
|
"node_modules/jest-changed-files": {
|
|
14243
14260
|
"version": "29.7.0",
|
|
14244
14261
|
"resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz",
|
|
@@ -17470,6 +17487,21 @@
|
|
|
17470
17487
|
"node": "*"
|
|
17471
17488
|
}
|
|
17472
17489
|
},
|
|
17490
|
+
"node_modules/moo-color": {
|
|
17491
|
+
"version": "1.0.3",
|
|
17492
|
+
"resolved": "https://registry.npmjs.org/moo-color/-/moo-color-1.0.3.tgz",
|
|
17493
|
+
"integrity": "sha512-i/+ZKXMDf6aqYtBhuOcej71YSlbjT3wCO/4H1j8rPvxDJEifdwgg5MaFyu6iYAT8GBZJg2z0dkgK4YMzvURALQ==",
|
|
17494
|
+
"dev": true,
|
|
17495
|
+
"dependencies": {
|
|
17496
|
+
"color-name": "^1.1.4"
|
|
17497
|
+
}
|
|
17498
|
+
},
|
|
17499
|
+
"node_modules/moo-color/node_modules/color-name": {
|
|
17500
|
+
"version": "1.1.4",
|
|
17501
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
|
17502
|
+
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
|
17503
|
+
"dev": true
|
|
17504
|
+
},
|
|
17473
17505
|
"node_modules/morgan": {
|
|
17474
17506
|
"version": "1.10.0",
|
|
17475
17507
|
"resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@metrichor/jmespath": "0.3.1",
|
|
46
46
|
"@wavemaker/focus-trap": "1.0.1",
|
|
47
47
|
"@wavemaker/nvd3": "1.8.11",
|
|
48
|
-
"@wavemaker/variables": "11.8.0-next.
|
|
48
|
+
"@wavemaker/variables": "11.8.0-next.27308",
|
|
49
49
|
"@ztree/ztree_v3": "3.5.48",
|
|
50
50
|
"angular-imask": "^7.6.1",
|
|
51
51
|
"angular2-websocket": "0.9.7",
|
|
@@ -70,7 +70,7 @@
|
|
|
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.27308"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
|
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
"fs": "0.0.1-security",
|
|
99
99
|
"fs-extra": "7.0.1",
|
|
100
100
|
"jest": "^29.7.0",
|
|
101
|
+
"jest-canvas-mock": "^2.5.2",
|
|
101
102
|
"jest-preset-angular": "^14.1.0",
|
|
102
103
|
"moment": "2.29.4",
|
|
103
104
|
"moment-timezone": "^0.5.34",
|
|
@@ -2,6 +2,7 @@ import "jest-preset-angular/setup-jest";
|
|
|
2
2
|
import { ToastrModule } from 'ngx-toastr';
|
|
3
3
|
import { TestBed } from '@angular/core/testing';
|
|
4
4
|
import _ from 'lodash-es';
|
|
5
|
+
import 'jest-canvas-mock';
|
|
5
6
|
|
|
6
7
|
// Mock global objects if necessary
|
|
7
8
|
global.jQuery = require("jquery");
|
|
@@ -10,6 +11,7 @@ global._ = _;
|
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
global.moment = require("moment");
|
|
14
|
+
|
|
13
15
|
class IntersectionObserver {
|
|
14
16
|
constructor(callback, options) {
|
|
15
17
|
|
|
@@ -87,3 +89,32 @@ beforeEach(() => {
|
|
|
87
89
|
},
|
|
88
90
|
});
|
|
89
91
|
});
|
|
92
|
+
|
|
93
|
+
// jest.setup.js
|
|
94
|
+
Object.defineProperty(global.HTMLMediaElement.prototype, 'load', {
|
|
95
|
+
configurable: true,
|
|
96
|
+
enumerable: true,
|
|
97
|
+
writable: true,
|
|
98
|
+
value: jest.fn(),
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
Object.defineProperty(global.HTMLMediaElement.prototype, 'play', {
|
|
102
|
+
configurable: true,
|
|
103
|
+
enumerable: true,
|
|
104
|
+
writable: true,
|
|
105
|
+
value: jest.fn().mockResolvedValue(),
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
Object.defineProperty(global.HTMLMediaElement.prototype, 'pause', {
|
|
109
|
+
configurable: true,
|
|
110
|
+
enumerable: true,
|
|
111
|
+
writable: true,
|
|
112
|
+
value: jest.fn(),
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
Object.defineProperty(global.HTMLMediaElement.prototype, 'addTextTrack', {
|
|
116
|
+
configurable: true,
|
|
117
|
+
enumerable: true,
|
|
118
|
+
writable: true,
|
|
119
|
+
value: jest.fn(),
|
|
120
|
+
});
|