@rollup/plugin-commonjs 22.0.0-6 → 22.0.0-7

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/index.js CHANGED
@@ -7,7 +7,7 @@ import { walk } from 'estree-walker';
7
7
  import MagicString from 'magic-string';
8
8
  import isReference from 'is-reference';
9
9
 
10
- var version = "22.0.0-6";
10
+ var version = "22.0.0-7";
11
11
  var peerDependencies = {
12
12
  rollup: "^2.66.1"
13
13
  };
@@ -505,15 +505,14 @@ function getResolveId(extensions) {
505
505
  }
506
506
 
507
507
  if (
508
- importee.startsWith('\0') &&
509
- (isWrappedId(importee, MODULE_SUFFIX) ||
510
- isWrappedId(importee, EXPORTS_SUFFIX) ||
511
- isWrappedId(importee, PROXY_SUFFIX) ||
512
- isWrappedId(importee, ES_IMPORT_SUFFIX) ||
513
- importee.endsWith(ENTRY_SUFFIX) ||
514
- isWrappedId(importee, EXTERNAL_SUFFIX) ||
515
- importee.startsWith(HELPERS_ID) ||
516
- importee === DYNAMIC_MODULES_ID)
508
+ importee.endsWith(ENTRY_SUFFIX) ||
509
+ isWrappedId(importee, MODULE_SUFFIX) ||
510
+ isWrappedId(importee, EXPORTS_SUFFIX) ||
511
+ isWrappedId(importee, PROXY_SUFFIX) ||
512
+ isWrappedId(importee, ES_IMPORT_SUFFIX) ||
513
+ isWrappedId(importee, EXTERNAL_SUFFIX) ||
514
+ importee.startsWith(HELPERS_ID) ||
515
+ importee === DYNAMIC_MODULES_ID
517
516
  ) {
518
517
  return importee;
519
518
  }