@wavemaker/angular-codegen 12.0.0-next.45002 → 12.0.0-next.45005

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.
@@ -17,15 +17,15 @@
17
17
  },
18
18
  "private": true,
19
19
  "dependencies": {
20
- "@angular/animations": "16.2.12",
21
- "@angular/common": "16.2.12",
22
- "@angular/compiler": "16.2.12",
23
- "@angular/core": "16.2.12",
24
- "@angular/forms": "16.2.12",
25
- "@angular/platform-browser": "16.2.12",
26
- "@angular/platform-browser-dynamic": "16.2.12",
27
- "@angular/router": "16.2.12",
28
- "@angular/service-worker": "16.2.12",
20
+ "@angular/animations": "17.3.11",
21
+ "@angular/common": "17.3.11",
22
+ "@angular/compiler": "17.3.11",
23
+ "@angular/core": "17.3.11",
24
+ "@angular/forms": "17.3.11",
25
+ "@angular/platform-browser": "17.3.11",
26
+ "@angular/platform-browser-dynamic": "17.3.11",
27
+ "@angular/router": "17.3.11",
28
+ "@angular/service-worker": "17.3.11",
29
29
  "@awesome-cordova-plugins/app-version": "5.39.1",
30
30
  "@awesome-cordova-plugins/barcode-scanner": "5.39.1",
31
31
  "@awesome-cordova-plugins/calendar": "5.39.1",
@@ -43,9 +43,9 @@
43
43
  "@awesome-cordova-plugins/vibration": "5.39.1",
44
44
  "@babel/runtime": "7.14.8",
45
45
  "@metrichor/jmespath": "0.3.1",
46
- "@wavemaker/focus-trap": "1.0.0",
46
+ "@wavemaker/focus-trap": "1.0.1",
47
47
  "@wavemaker/nvd3": "1.8.11",
48
- "@wavemaker/variables": "12.0.0-next.45002",
48
+ "@wavemaker/variables": "12.0.0-next.45005",
49
49
  "@ztree/ztree_v3": "3.5.48",
50
50
  "angular-imask": "^7.6.1",
51
51
  "angular2-websocket": "0.9.7",
@@ -53,13 +53,12 @@
53
53
  "d3": "7.8.5",
54
54
  "fullcalendar": "5.3.1",
55
55
  "hammerjs": "2.0.8",
56
- "he": "1.2.0",
57
56
  "iscroll": "5.2.0",
58
57
  "jquery": "3.7.1",
59
- "jquery-ui": "1.13.2",
58
+ "jquery-ui": "1.13.3",
60
59
  "js-cookie": "2.2.0",
61
60
  "jssha": "3.1.2",
62
- "lodash": "4.17.21",
61
+ "lodash-es": "4.17.21",
63
62
  "ng-circle-progress": "1.7.1",
64
63
  "ngx-bootstrap": "9.0.0",
65
64
  "ngx-color-picker": "16.0.0",
@@ -70,16 +69,16 @@
70
69
  "ts-jest": "29.1.1",
71
70
  "tslib": "2.4.1",
72
71
  "x2js": "3.4.4",
73
- "zone.js": "0.13.3",
74
- "@wavemaker/app-ng-runtime": "12.0.0-next.45002"
72
+ "zone.js": "0.14.7",
73
+ "@wavemaker/app-ng-runtime": "12.0.0-next.45005"
75
74
  },
76
75
  "devDependencies": {
77
76
  "@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
78
- "@angular-builders/custom-webpack": "16.0.1",
79
- "@angular-devkit/build-angular": "16.2.11",
80
- "@angular/cli": "16.2.11",
81
- "@angular/compiler-cli": "16.2.12",
82
- "@angular/language-service": "16.2.12",
77
+ "@angular-builders/custom-webpack": "17.0.2",
78
+ "@angular-devkit/build-angular": "17.3.8",
79
+ "@angular/cli": "17.3.8",
80
+ "@angular/compiler-cli": "17.3.11",
81
+ "@angular/language-service": "17.3.11",
83
82
  "@babel/plugin-transform-runtime": "^7.14.5",
84
83
  "@compodoc/compodoc": "^1.1.19",
85
84
  "@rollup/plugin-alias": "4.0.2",
@@ -88,6 +87,7 @@
88
87
  "@rollup/plugin-node-resolve": "15.0.1",
89
88
  "@types/jest": "^29.5.12",
90
89
  "@types/jquery": "3.3.22",
90
+ "@types/lodash-es": "4.17.12",
91
91
  "@types/node": "12.11.1",
92
92
  "@types/sizzle": "^2.3.3",
93
93
  "babel-loader": "^9.1.2",
@@ -98,10 +98,11 @@
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",
104
- "ng-packagr": "16.2.3",
105
+ "ng-packagr": "17.3.0",
105
106
  "npm-run-all": "4.1.5",
106
107
  "owasp-dependency-check": "0.0.21",
107
108
  "rimraf": "2.6.3",
@@ -111,7 +112,7 @@
111
112
  "terser": "^5.15.1",
112
113
  "ts-node": "7.0.1",
113
114
  "tslint": "~6.1.0",
114
- "typescript": "4.9.5",
115
+ "typescript": "5.4.5",
115
116
  "util": "0.11.1",
116
117
  "yargs": "^17.3.1"
117
118
  },
@@ -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
 
@@ -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
+ });
@@ -8,6 +8,7 @@
8
8
  "sourceMap": true,
9
9
  "emitDecoratorMetadata": true,
10
10
  "experimentalDecorators": true,
11
+ "esModuleInterop": true,
11
12
  "moduleResolution": "node",
12
13
  "target": "ES2022",
13
14
  "module": "ES2022",