@clickview/online 0.4.2 → 0.4.3-dev.0

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.
@@ -0,0 +1,32 @@
1
+ /* @license
2
+ Papa Parse
3
+ v5.2.0
4
+ https://github.com/mholt/PapaParse
5
+ License: MIT
6
+ */
7
+
8
+ /*!
9
+ Copyright (c) 2018 Jed Watson.
10
+ Licensed under the MIT License (MIT), see
11
+ http://jedwatson.github.io/classnames
12
+ */
13
+
14
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
15
+
16
+ /** @license React v0.17.0
17
+ * scheduler.production.min.js
18
+ *
19
+ * Copyright (c) Facebook, Inc. and its affiliates.
20
+ *
21
+ * This source code is licensed under the MIT license found in the
22
+ * LICENSE file in the root directory of this source tree.
23
+ */
24
+
25
+ /** @license React v16.13.1
26
+ * react-is.production.min.js
27
+ *
28
+ * Copyright (c) Facebook, Inc. and its affiliates.
29
+ *
30
+ * This source code is licensed under the MIT license found in the
31
+ * LICENSE file in the root directory of this source tree.
32
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickview/online",
3
- "version": "0.4.2",
3
+ "version": "0.4.3-dev.0",
4
4
  "description": "Online",
5
5
  "main": "dist/online-app.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,60 +1,60 @@
1
1
  const externalModules = {
2
- 'CVEvents': /^cvevents$/i,
3
- 'CVLanguages': /^CVLanguages$/i,
2
+ 'CVEvents': /^cvevents$/i,
3
+ 'CVLanguages': /^CVLanguages$/i,
4
4
 
5
- 'Cropper': [ /^cropperjs$/i, /^cropper$/i ],
5
+ 'Cropper': [ /^cropperjs$/i, /^cropper$/i ],
6
6
 
7
- /**
7
+ /**
8
8
  * Shared Dependencies
9
9
  */
10
- 'FontAwesome': [ /^@fortawesome\/fontawesome$/i, /^fontawesome$/i ],
11
- 'ReactBootstrap': [ /^react-bootstrap$/i, /^reactbootstrap$/i ],
12
- 'SortableHOC': [ /^react-sortable-hoc$/i, /^sortablehoc$/i ],
13
- 'ReactTransitionGroup': [ /^react-transition-group$/i, /^reacttransitiongroup$/i ],
14
- 'ReactIntersectionObserver': [ /^react-intersection-observer$/i, /^reactintersectionobserver$/i ],
15
- 'Autosuggest': [ /^react-autosuggest$/i, /^autosuggest$/i ],
16
- 'Backbone.Validation': [ /^backbone-validation$/i, /^backbone\.validation$/i ],
17
- 'Bloodhound': /^bloodhound$/i,
18
-
19
- /**
10
+ 'FontAwesome': [ /^@fortawesome\/fontawesome$/i, /^fontawesome$/i ],
11
+ 'ReactBootstrap': [ /^react-bootstrap$/i, /^reactbootstrap$/i ],
12
+ 'SortableHOC': [ /^react-sortable-hoc$/i, /^sortablehoc$/i ],
13
+ 'ReactTransitionGroup': [ /^react-transition-group$/i, /^reacttransitiongroup$/i ],
14
+ 'ReactIntersectionObserver': [ /^react-intersection-observer$/i, /^reactintersectionobserver$/i ],
15
+ 'Autosuggest': [ /^react-autosuggest$/i, /^autosuggest$/i ],
16
+ 'Backbone.Validation': [ /^backbone-validation$/i, /^backbone\.validation$/i ],
17
+ 'Bloodhound': /^bloodhound$/i,
18
+
19
+ /**
20
20
  * Common Dependencies
21
21
  */
22
- 'React': /^react$/i,
23
- 'ReactDOM': [ /^react-dom$/i, /^ReactDOM$/i ],
24
- '_': [ /^underscore$/i, /^_$/i ],
25
- 'Backbone': /^backbone$/i,
26
- 'Marionette': [ /^backbone\.marionette$/i, /^marionette$/i ],
27
- 'Handlebars': /^handlebars$/i,
28
- 'bootstrap': /^bootstrap$/i,
29
- 'Backbone.Radio': /^backbone\.radio$/i,
30
- 'signalR': /^signalr$/i,
31
- 'Redux': /^redux$/i,
32
- 'ReactRedux': [ /^react-redux$/i, /^reactredux$/i ],
33
- 'DOMPurify': /^dompurify$/i,
34
- '$': [ /^jquery$/i, /^\$/ ],
35
- 'Polyglot': [ /^node-polyglot$/i, /^polyglot$/i ],
36
- 'moment': /^moment$/i,
37
- 'linkify': [ /^linkifyjs$/i, /^linkify$/i ],
38
- 'gapi': [/^gapi$/i]
22
+ 'React': /^react$/i,
23
+ 'ReactDOM': [ /^react-dom$/i, /^ReactDOM$/i ],
24
+ '_': [ /^underscore$/i, /^_$/i ],
25
+ 'Backbone': /^backbone$/i,
26
+ 'Marionette': [ /^backbone\.marionette$/i, /^marionette$/i ],
27
+ 'Handlebars': /^handlebars$/i,
28
+ 'bootstrap': /^bootstrap$/i,
29
+ 'Backbone.Radio': /^backbone\.radio$/i,
30
+ 'signalR': /^signalr$/i,
31
+ 'Redux': /^redux$/i,
32
+ 'ReactRedux': [ /^react-redux$/i, /^reactredux$/i ],
33
+ 'DOMPurify': /^dompurify$/i,
34
+ '$': [ /^jquery$/i, /^\$/ ],
35
+ 'Polyglot': [ /^node-polyglot$/i, /^polyglot$/i ],
36
+ 'moment': /^moment$/i,
37
+ 'linkify': [ /^linkifyjs$/i, /^linkify$/i ],
38
+ 'gapi': [/^gapi$/i]
39
39
  };
40
40
 
41
- exports.mapExternalModules = (context, request, callback) => {
42
- for (var key in externalModules) {
43
- if (!externalModules.hasOwnProperty(key))
44
- continue;
41
+ exports.mapExternalModules = ({ context, request }, callback) => {
42
+ for (var key in externalModules) {
43
+ if (!externalModules.hasOwnProperty(key))
44
+ continue;
45
45
 
46
- let arr = externalModules[key];
46
+ let arr = externalModules[key];
47
47
 
48
- if (!Array.isArray(arr))
49
- arr = [arr];
48
+ if (!Array.isArray(arr))
49
+ arr = [arr];
50
50
 
51
- for (var i = 0; i < arr.length; i++) {
52
- if (arr[i].test(request)) {
53
- return callback(null, key);
51
+ for (var i = 0; i < arr.length; i++) {
52
+ if (arr[i].test(request)) {
53
+ return callback(null, key);
54
54
 
55
- }
56
- }
55
+ }
57
56
  }
57
+ }
58
58
 
59
- callback();
60
- }
59
+ callback();
60
+ };