cronapp-framework-mobile-js 2.9.6-SP.27 → 2.9.6-SP.28

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.
Files changed (2) hide show
  1. package/package.json +9 -4
  2. package/postupdate.json +15 -13
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "cronapp-framework-mobile-js",
3
- "version": "2.9.6-SP.27",
3
+ "version": "2.9.6-SP.28",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "cronapp.framework.mobile.js",
6
6
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "npx force-resolutions"
8
9
  },
9
10
  "repository": {
10
11
  "type": "git",
@@ -53,12 +54,16 @@
53
54
  "bootstrap": "3.3.4",
54
55
  "jquery": "3.5.0",
55
56
  "font-awesome": "4.4.0",
56
- "chart.js": "2.0.0",
57
+ "chart.js": "2.9.4",
57
58
  "ng-file-upload": "12.2.13",
58
59
  "angular-moment": "1.2.0",
59
60
  "pace-js": "1.0.2",
60
- "moment": "2.24.0",
61
+ "moment": "2.29.4",
61
62
  "cronapp-ion-tab-badge": "1.0.0",
62
63
  "signature_pad": "^3.0.0-beta.4"
64
+ },
65
+ "resolutions": {
66
+ "chart.js": "2.9.4",
67
+ "moment": "2.29.4"
63
68
  }
64
69
  }
package/postupdate.json CHANGED
@@ -29,7 +29,7 @@
29
29
  },
30
30
  {
31
31
  "file": "index.html",
32
- "script": "node_modules/cronapp-lib-js/dist/js/chart.js/Chart.min.js",
32
+ "script": "node_modules/chart.js/dist/Chart.min.js",
33
33
  "type": "script"
34
34
  },
35
35
  {
@@ -240,6 +240,16 @@
240
240
  "script": "node_modules/signature_pad/dist/signature_pad.umd.min.js",
241
241
  "type": "script",
242
242
  "onTop": true
243
+ },
244
+ {
245
+ "file": "index.html",
246
+ "script": "node_modules/cronapp-lib-js/dist/js/chart.js/Chart.min.js",
247
+ "type": "script"
248
+ },
249
+ {
250
+ "file": "index.html",
251
+ "script": "node_modules/cronapp-lib-js/dist/js/moment/moment-with-locales.min.js",
252
+ "type": "script"
243
253
  }
244
254
  ],
245
255
  "replaces": [
@@ -340,12 +350,8 @@
340
350
  "new": "node_modules/angular-messages/angular-messages.min.js"
341
351
  },
342
352
  {
343
- "old": "plugins/moment/min/moment-with-locales.min.js",
344
- "new": "node_modules/cronapp-lib-js/dist/js/moment/moment-with-locales.min.js"
345
- },
346
- {
347
- "old": "node_modules/moment/min/moment-with-locales.min.js",
348
- "new": "node_modules/cronapp-lib-js/dist/js/moment/moment-with-locales.min.js"
353
+ "old" : "plugins/moment/min/moment-with-locales.min.js",
354
+ "new": "node_modules/moment/min/moment-with-locales.min.js"
349
355
  },
350
356
  {
351
357
  "old" : "plugins/angular-moment/angular-moment.min.js",
@@ -428,12 +434,8 @@
428
434
  "new": "node_modules/cronapp-common-js/dist/js/pouchdb.find.min.js"
429
435
  },
430
436
  {
431
- "old": "plugins/chart.js/dist/Chart.min.js",
432
- "new": "node_modules/cronapp-lib-js/dist/js/chart.js/Chart.min.js"
433
- },
434
- {
435
- "old": "node_modules/chart.js/dist/Chart.min.js",
436
- "new": "node_modules/cronapp-lib-js/dist/js/chart.js/Chart.min.js"
437
+ "old" : "plugins/chart.js/dist/Chart.min.js",
438
+ "new": "node_modules/chart.js/dist/Chart.min.js"
437
439
  },
438
440
  {
439
441
  "old" : "plugins/cronapp-framework-mobile-js/dist/components/js/qrcode.js",