bare-module 1.9.0 → 1.9.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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -178,8 +178,8 @@ const Module = module.exports = class Module {
178
178
  if (protocol.exists(f + '.cjs')) yield f + '.cjs'
179
179
  if (protocol.exists(f + '.mjs')) yield f + '.mjs'
180
180
  if (protocol.exists(f + '.json')) yield f + '.json'
181
- if (protocol.exists(f + '.node')) yield f + '.node'
182
181
  if (protocol.exists(f + '.bare')) yield f + '.bare'
182
+ if (protocol.exists(f + '.node')) yield f + '.node'
183
183
  }
184
184
 
185
185
  static * _resolveIndex (dirname, protocol) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-module",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Module support for JavaScript",
5
5
  "main": "index.js",
6
6
  "files": [