@atlaspack/node-resolver-core 3.5.23 → 3.6.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.
package/lib/Wrapper.js CHANGED
@@ -622,7 +622,7 @@ function environmentToExportsConditions(env, mode) {
622
622
  if (env.isBrowser()) {
623
623
  conditions |= BROWSER;
624
624
  }
625
- if (env.isWorker()) {
625
+ if (env.isWorker() || env.isTesseract()) {
626
626
  conditions |= WORKER;
627
627
  }
628
628
  if (env.isWorklet()) {
@@ -1,6 +1,4 @@
1
- import type { FilePath, SpecifierType, SemverRange, Environment, SourceLocation, BuildMode, ResolveResult, PluginLogger } from '@atlaspack/types';
2
- import type { FileSystem } from '@atlaspack/fs';
3
- import type { PackageManager } from '@atlaspack/package-manager';
1
+ import type { FilePath, SpecifierType, SemverRange, Environment, SourceLocation, BuildMode, ResolveResult, PluginLogger, FileSystem, PackageManager } from '@atlaspack/types';
4
2
  import type { Diagnostic } from '@atlaspack/diagnostic';
5
3
  type Options = {
6
4
  fs: FileSystem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/node-resolver-core",
3
- "version": "3.5.23",
3
+ "version": "3.6.1",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,13 +11,14 @@
11
11
  },
12
12
  "main": "./lib/index.js",
13
13
  "source": "./src/index.ts",
14
- "types": "./lib/index.d.ts",
14
+ "types": "./lib/types/index.d.ts",
15
15
  "engines": {
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "scripts": {
19
19
  "test": "mocha test",
20
- "check-ts": "tsc --emitDeclarationOnly --rootDir src"
20
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src",
21
+ "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
21
22
  },
22
23
  "files": [
23
24
  "lib"
@@ -25,10 +26,10 @@
25
26
  "dependencies": {
26
27
  "@mischnic/json-sourcemap": "^0.1.0",
27
28
  "@atlaspack/diagnostic": "2.14.2",
28
- "@atlaspack/feature-flags": "2.21.0",
29
- "@atlaspack/fs": "2.15.18",
30
- "@atlaspack/rust": "3.5.0",
31
- "@atlaspack/utils": "2.18.0",
29
+ "@atlaspack/feature-flags": "2.23.0",
30
+ "@atlaspack/fs": "2.15.20",
31
+ "@atlaspack/rust": "3.6.0",
32
+ "@atlaspack/utils": "2.18.2",
32
33
  "nullthrows": "^1.1.1",
33
34
  "semver": "^7.5.2"
34
35
  },
@@ -60,4 +61,4 @@
60
61
  "./src/builtins.js": "./src/builtins.browser.js"
61
62
  },
62
63
  "type": "commonjs"
63
- }
64
+ }
File without changes
File without changes