-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathnode_modules.patch
More file actions
40 lines (37 loc) · 961 Bytes
/
Copy pathnode_modules.patch
File metadata and controls
40 lines (37 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- a/node_modules/papaparse/papaparse.js
+++ b/node_modules/papaparse/papaparse.js
@@ -5,30 +5,7 @@
License: MIT
*/
-(function(root, factory)
-{
- /* globals define */
- if (typeof define === 'function' && define.amd)
- {
- // AMD. Register as an anonymous module.
- define([], factory);
- }
- else if (typeof module === 'object' && typeof exports !== 'undefined')
- {
- // Node. Does not work with strict CommonJS, but
- // only CommonJS-like environments that support module.exports,
- // like Node.
- module.exports = factory();
- }
- else
- {
- // Browser globals (root is window)
- root.Papa = factory();
- }
- // in strict mode we cannot access arguments.callee, so we need a named reference to
- // stringify the factory method for the blob worker
- // eslint-disable-next-line func-name
-}(this, function moduleFactory()
+export default (function moduleFactory()
{
'use strict';
@@ -1942,4 +1919,4 @@
}
return Papa;
-}));
+})();