bare-module-traverse 2.0.0 → 2.0.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.
@@ -13,11 +13,11 @@ module.exports = function (entry, parentURL, opts = {}) {
13
13
  conditions = conditions.map((conditions) => ['addon', ...conditions])
14
14
 
15
15
  return resolve.addon(entry.specifier || '.', parentURL, {
16
+ ...opts,
16
17
  extensions,
17
18
  conditions,
18
19
  hosts,
19
- linked,
20
- ...opts
20
+ linked
21
21
  })
22
22
  }
23
23
 
@@ -34,8 +34,8 @@ module.exports = function (entry, parentURL, opts = {}) {
34
34
  }
35
35
 
36
36
  return resolve.module(entry.specifier, parentURL, {
37
+ ...opts,
37
38
  extensions,
38
- conditions,
39
- ...opts
39
+ conditions
40
40
  })
41
41
  }
@@ -13,10 +13,10 @@ module.exports = function (entry, parentURL, opts = {}) {
13
13
  conditions = hosts.map((host) => ['node', 'addon', ...host.split('-')])
14
14
 
15
15
  return resolve.addon(entry.specifier || '.', parentURL, {
16
+ ...opts,
16
17
  extensions,
17
18
  conditions,
18
- hosts,
19
- ...opts
19
+ hosts
20
20
  })
21
21
  }
22
22
 
@@ -32,8 +32,8 @@ module.exports = function (entry, parentURL, opts = {}) {
32
32
  }
33
33
 
34
34
  return resolve.module(entry.specifier, parentURL, {
35
+ ...opts,
35
36
  extensions,
36
- conditions,
37
- ...opts
37
+ conditions
38
38
  })
39
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-module-traverse",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Low-level module graph traversal for Bare",
5
5
  "exports": {
6
6
  ".": {