@clickview/curator 1.33.9 → 1.34.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickview/curator",
3
- "version": "1.33.9",
3
+ "version": "1.34.1",
4
4
  "description": "curator",
5
5
  "main": "dist/curator-app.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@types/yup": "0.26.24"
27
27
  },
28
28
  "dependencies": {
29
- "@clickview/styles": "1.31.0",
29
+ "@clickview/styles": "1.32.0",
30
30
  "cropperjs": "1.5.6",
31
31
  "react-color-palette": "6.2.0",
32
32
  "react-copy-to-clipboard": "5.0.2",
@@ -1,58 +1,29 @@
1
1
  const externalModules = {
2
- '@clickview/styles': /^@clickview\/styles$/i,
3
- '@clickview/url-signer': /^@clickview\/url-signer$/i,
4
-
5
- 'Cropper': [ /^cropperjs$/i, /^cropper$/i ],
6
-
7
- /**
8
- * Shared Dependencies
9
- */
10
- 'FontAwesome': [ /^@fortawesome\/fontawesome$/i, /^fontawesome$/i ],
11
- 'ReactBootstrap': [ /^react-bootstrap$/i, /^reactbootstrap$/i ],
12
- 'ReactTransitionGroup': [ /^react-transition-group$/i, /^reacttransitiongroup$/i ],
13
- 'ReactIntersectionObserver': [ /^react-intersection-observer$/i, /^reactintersectionobserver$/i ],
14
- 'Yup': /^yup$/i,
15
- 'Backbone.Validation': [ /^backbone-validation$/i, /^backbone\.validation$/i ],
16
- 'Bloodhound': /^bloodhound$/i,
17
-
18
- /**
19
- * Common Dependencies
20
- */
21
- 'React': /^react$/i,
22
- 'ReactDOM': [ /^react-dom$/i, /^ReactDOM$/i ],
23
- '_': [ /^underscore$/i, /^_$/i ],
24
- 'Backbone': /^backbone$/i,
25
- 'Marionette': [ /^backbone\.marionette$/i, /^marionette$/i ],
26
- 'Handlebars': /^handlebars$/i,
27
- 'bootstrap': /^bootstrap$/i,
28
- 'Backbone.Radio': /^backbone\.radio$/i,
29
- 'signalR': /^signalr$/i,
30
- 'Redux': /^redux$/i,
31
- 'ReactRedux': [ /^react-redux$/i, /^reactredux$/i ],
32
- 'DOMPurify': /^dompurify$/i,
33
- '$': [ /^jquery$/i, /^\$/ ],
34
- 'Polyglot': [ /^node-polyglot$/i, /^polyglot$/i ],
35
- 'moment': /^moment$/i,
36
- 'linkify': [ /^linkifyjs$/i, /^linkify$/i ]
2
+ '_': [ /^underscore$/i, /^_$/i ],
3
+ 'Backbone': /^backbone$/i,
4
+ 'Marionette': [ /^backbone\.marionette$/i, /^marionette$/i ],
5
+ 'Handlebars': /^handlebars$/i,
6
+ 'bootstrap': /^bootstrap$/i,
7
+ 'Backbone.Radio': /^backbone\.radio$/i,
8
+ '$': [ /^jquery$/i, /^\$/ ]
37
9
  };
38
10
 
39
- exports.mapExternalModules = ({ context, request }, callback) => {
40
- for (var key in externalModules) {
41
- if (!externalModules.hasOwnProperty(key))
42
- continue;
11
+ exports.mapExternalModules = ({ request }, callback) => {
12
+ for (var key in externalModules) {
13
+ if (!externalModules.hasOwnProperty(key))
14
+ continue;
43
15
 
44
- let arr = externalModules[key];
16
+ let arr = externalModules[key];
45
17
 
46
- if (!Array.isArray(arr))
47
- arr = [arr];
18
+ if (!Array.isArray(arr))
19
+ arr = [arr];
48
20
 
49
- for (var i = 0; i < arr.length; i++) {
50
- if (arr[i].test(request)) {
51
- return callback(null, key);
52
-
53
- }
54
- }
21
+ for (var i = 0; i < arr.length; i++) {
22
+ if (arr[i].test(request)) {
23
+ return callback(null, key);
24
+ }
55
25
  }
26
+ }
56
27
 
57
- callback();
58
- }
28
+ callback();
29
+ };
@@ -4,6 +4,7 @@ declare namespace ClickView {
4
4
  declare const ImageAPI: string;
5
5
  declare const PlayerApi: string;
6
6
  declare const LiteUrl: string;
7
+ declare const RightslineAdmin: string;
7
8
  }
8
9
  }
9
10
 
@@ -3,7 +3,5 @@
3
3
  * import statements just the same as we do for other
4
4
  * ts/js code.
5
5
  */
6
- declare module '*.handlebars';
7
- declare module '*.hbs';
8
6
  declare module '*.scss';
9
7
  declare module '*.svg';