bare-thread 1.1.3 → 1.1.5

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 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -2,7 +2,7 @@ const Bundle = require('bare-bundle')
2
2
  const traverse = require('bare-module-traverse')
3
3
  const { startsWithWindowsDriveLetter } = require('bare-module-resolve')
4
4
 
5
- const { imports, resolutions, protocol } = module
5
+ const { protocol, conditions, imports, resolutions } = module
6
6
 
7
7
  module.exports = exports = class Thread {
8
8
  constructor(entry, opts = {}) {
@@ -61,6 +61,7 @@ exports.prepare = function prepare(entry, opts) {
61
61
  for (const dependency of traverse(
62
62
  entry,
63
63
  {
64
+ conditions,
64
65
  imports,
65
66
  resolutions,
66
67
  resolve: traverse.resolve.bare
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-thread",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Thread support for Bare",
5
5
  "exports": {
6
6
  "./package": "./package.json",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "bare-bundle": "^1.9.0",
27
27
  "bare-module-resolve": "^1.11.2",
28
- "bare-module-traverse": "^1.7.2"
28
+ "bare-module-traverse": "^2.0.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "brittle": "^3.3.2",