rollup 3.16.0 → 3.17.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.
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.16.0
4
- Fri, 17 Feb 2023 13:26:29 GMT - commit 8ba73f4f643e5ffe01fc9ad846748f6d5b7963c2
3
+ Rollup.js v3.17.0
4
+ Sat, 18 Feb 2023 05:06:04 GMT - commit 0c33497a7de91e150a7d242125e8da9dd4e4a3ac
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -12,19 +12,21 @@
12
12
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
13
13
 
14
14
  const rollup = require('./shared/rollup.js');
15
+ const watchProxy = require('./shared/watch-proxy.js');
16
+ require('node:process');
17
+ require('tty');
15
18
  require('node:path');
16
19
  require('path');
17
- require('node:process');
18
20
  require('node:perf_hooks');
19
21
  require('node:crypto');
20
22
  require('node:fs/promises');
21
23
  require('node:events');
22
- require('tty');
24
+ require('./shared/fsevents-importer.js');
23
25
 
24
26
 
25
27
 
26
28
  exports.VERSION = rollup.version;
27
29
  exports.defineConfig = rollup.defineConfig;
28
30
  exports.rollup = rollup.rollup;
29
- exports.watch = rollup.watch;
31
+ exports.watch = watchProxy.watch;
30
32
  //# sourceMappingURL=rollup.js.map
@@ -0,0 +1,37 @@
1
+ /*
2
+ @license
3
+ Rollup.js v3.17.0
4
+ Sat, 18 Feb 2023 05:06:04 GMT - commit 0c33497a7de91e150a7d242125e8da9dd4e4a3ac
5
+
6
+ https://github.com/rollup/rollup
7
+
8
+ Released under the MIT License.
9
+ */
10
+ 'use strict';
11
+
12
+ let fsEvents;
13
+ let fsEventsImportError;
14
+ async function loadFsEvents() {
15
+ try {
16
+ ({ default: fsEvents } = await import('fsevents'));
17
+ }
18
+ catch (error) {
19
+ fsEventsImportError = error;
20
+ }
21
+ }
22
+ // A call to this function will be injected into the chokidar code
23
+ function getFsEvents() {
24
+ if (fsEventsImportError)
25
+ throw fsEventsImportError;
26
+ return fsEvents;
27
+ }
28
+
29
+ const fseventsImporter = /*#__PURE__*/Object.defineProperty({
30
+ __proto__: null,
31
+ getFsEvents,
32
+ loadFsEvents
33
+ }, Symbol.toStringTag, { value: 'Module' });
34
+
35
+ exports.fseventsImporter = fseventsImporter;
36
+ exports.loadFsEvents = loadFsEvents;
37
+ //# sourceMappingURL=fsevents-importer.js.map
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.16.0
4
- Fri, 17 Feb 2023 13:26:29 GMT - commit 8ba73f4f643e5ffe01fc9ad846748f6d5b7963c2
3
+ Rollup.js v3.17.0
4
+ Sat, 18 Feb 2023 05:06:04 GMT - commit 0c33497a7de91e150a7d242125e8da9dd4e4a3ac
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -15,6 +15,7 @@ const require$$2 = require('util');
15
15
  const require$$1 = require('stream');
16
16
  const require$$0$2 = require('path');
17
17
  const require$$2$1 = require('os');
18
+ const fseventsImporter = require('./fsevents-importer.js');
18
19
  const require$$0$3 = require('events');
19
20
 
20
21
  var chokidar = {};
@@ -3079,7 +3080,7 @@ var fseventsHandler = {
3079
3080
  set exports(v){ fseventsHandlerExports = v; },
3080
3081
  };
3081
3082
 
3082
- const require$$3 = /*@__PURE__*/rollup.getAugmentedNamespace(rollup.fseventsImporter);
3083
+ const require$$3 = /*@__PURE__*/rollup.getAugmentedNamespace(fseventsImporter.fseventsImporter);
3083
3084
 
3084
3085
  const fs$1 = require$$0$1;
3085
3086
  const sysPath$1 = require$$0$2;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.16.0
4
- Fri, 17 Feb 2023 13:26:29 GMT - commit 8ba73f4f643e5ffe01fc9ad846748f6d5b7963c2
3
+ Rollup.js v3.17.0
4
+ Sat, 18 Feb 2023 05:06:04 GMT - commit 0c33497a7de91e150a7d242125e8da9dd4e4a3ac
5
5
 
6
6
  https://github.com/rollup/rollup
7
7