rollup 2.28.0 → 2.28.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/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.28.0
4
- Mon, 21 Sep 2020 05:21:18 GMT - commit b2172df5723bb16dc6730ccefc4563547d3cf30b
3
+ Rollup.js v2.28.1
4
+ Mon, 21 Sep 2020 06:38:23 GMT - commit 1040292e0b1ad6496d8cf0a3eee63b17d9a39a4f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.28.0
4
- Mon, 21 Sep 2020 05:21:18 GMT - commit b2172df5723bb16dc6730ccefc4563547d3cf30b
3
+ Rollup.js v2.28.1
4
+ Mon, 21 Sep 2020 06:38:23 GMT - commit 1040292e0b1ad6496d8cf0a3eee63b17d9a39a4f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -13,7 +13,7 @@ import { createHash as createHash$1 } from 'crypto';
13
13
  import { writeFile as writeFile$1, readdirSync, mkdirSync, readFile as readFile$1, lstatSync, realpathSync } from 'fs';
14
14
  import { EventEmitter } from 'events';
15
15
 
16
- var version = "2.28.0";
16
+ var version = "2.28.1";
17
17
 
18
18
  var charToInteger = {};
19
19
  var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
@@ -11007,7 +11007,7 @@ class Chunk$1 {
11007
11007
  const currentPath = `${currentDir}/${fileName}`;
11008
11008
  const { preserveModulesRoot } = options;
11009
11009
  if (preserveModulesRoot && currentPath.startsWith(preserveModulesRoot)) {
11010
- path = currentPath.slice(preserveModulesRoot.length).replace(/^\//, '');
11010
+ path = currentPath.slice(preserveModulesRoot.length).replace(/^[\\/]/, '');
11011
11011
  }
11012
11012
  else {
11013
11013
  path = relative(preserveModulesRelativeDir, currentPath);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.28.0
4
- Mon, 21 Sep 2020 05:21:18 GMT - commit b2172df5723bb16dc6730ccefc4563547d3cf30b
3
+ Rollup.js v2.28.1
4
+ Mon, 21 Sep 2020 06:38:23 GMT - commit 1040292e0b1ad6496d8cf0a3eee63b17d9a39a4f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.28.0
4
- Mon, 21 Sep 2020 05:21:18 GMT - commit b2172df5723bb16dc6730ccefc4563547d3cf30b
3
+ Rollup.js v2.28.1
4
+ Mon, 21 Sep 2020 06:38:23 GMT - commit 1040292e0b1ad6496d8cf0a3eee63b17d9a39a4f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup