bare-module-traverse 1.2.5 → 1.2.6

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 -0
  2. package/package.json +5 -2
package/index.js CHANGED
@@ -162,6 +162,8 @@ exports.module = function * (url, source, artifacts, visited, opts = {}) {
162
162
  imports['#package'] = packageURL.href
163
163
 
164
164
  yield { children: exports.package(packageURL, source, artifacts, visited, opts) }
165
+
166
+ break
165
167
  }
166
168
  }
167
169
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-module-traverse",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Low-level module graph traversal for Bare",
5
5
  "exports": {
6
6
  ".": "./index.js",
@@ -21,7 +21,10 @@
21
21
  }
22
22
  },
23
23
  "scripts": {
24
- "test": "standard && bare test.js"
24
+ "test": "npm run lint && npm run test:bare && npm run test:node",
25
+ "test:bare": "bare test.js",
26
+ "test:node": "node test.js",
27
+ "lint": "standard"
25
28
  },
26
29
  "repository": {
27
30
  "type": "git",