bare-module-traverse 1.8.1 → 1.8.2

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -417,10 +417,10 @@ exports.imports = function* (parentURL, source, imports, artifacts, lexer, visit
417
417
  if (source !== null) {
418
418
  addResolution(imports, specifier, matchedConditions, url)
419
419
 
420
- const attributes = entry.attributes
420
+ let attributes = entry.attributes
421
421
 
422
422
  if (attributes.imports) {
423
- attributes.imports = imports[attributes.imports].default
423
+ attributes = { ...attributes, imports: imports[attributes.imports].default }
424
424
  }
425
425
 
426
426
  yield {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-module-traverse",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "Low-level module graph traversal for Bare",
5
5
  "exports": {
6
6
  ".": {