@atlaspack/core 2.14.1-canary.50 → 2.14.1-canary.52

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.
@@ -147,10 +147,7 @@ async function resolveOptions(initialOptions) {
147
147
  if (!needsRustLmdbCache && !(outputFS instanceof _fs().NodeFS)) {
148
148
  return new (_cache().FSCache)(outputFS, cacheDir);
149
149
  }
150
- if (needsRustLmdbCache || (0, _featureFlags().getFeatureFlag)('useLmdbJsLite')) {
151
- return new (_cache().LMDBLiteCache)(cacheDir);
152
- }
153
- return new (_cache().LMDBCache)(cacheDir);
150
+ return new (_cache().LMDBLiteCache)(cacheDir);
154
151
  }();
155
152
  let mode = initialOptions.mode ?? 'development';
156
153
  let shouldOptimize = (initialOptions === null || initialOptions === void 0 || (_initialOptions$defau = initialOptions.defaultTargetOptions) === null || _initialOptions$defau === void 0 ? void 0 : _initialOptions$defau.shouldOptimize) ?? mode === 'production';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/core",
3
- "version": "2.14.1-canary.50+8e1bec17f",
3
+ "version": "2.14.1-canary.52+8f4e6c1b0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -20,21 +20,21 @@
20
20
  "check-ts": "tsc --noEmit index.d.ts"
21
21
  },
22
22
  "dependencies": {
23
- "@atlaspack/build-cache": "2.13.3-canary.50+8e1bec17f",
24
- "@atlaspack/cache": "2.13.3-canary.50+8e1bec17f",
25
- "@atlaspack/diagnostic": "2.14.1-canary.50+8e1bec17f",
26
- "@atlaspack/events": "2.14.1-canary.50+8e1bec17f",
27
- "@atlaspack/feature-flags": "2.14.1-canary.50+8e1bec17f",
28
- "@atlaspack/fs": "2.14.1-canary.50+8e1bec17f",
29
- "@atlaspack/graph": "3.4.1-canary.50+8e1bec17f",
30
- "@atlaspack/logger": "2.14.1-canary.50+8e1bec17f",
31
- "@atlaspack/package-manager": "2.14.1-canary.50+8e1bec17f",
32
- "@atlaspack/plugin": "2.14.1-canary.50+8e1bec17f",
33
- "@atlaspack/profiler": "2.14.1-canary.50+8e1bec17f",
34
- "@atlaspack/rust": "3.0.1-canary.50+8e1bec17f",
35
- "@atlaspack/types": "2.14.1-canary.50+8e1bec17f",
36
- "@atlaspack/utils": "2.14.1-canary.50+8e1bec17f",
37
- "@atlaspack/workers": "2.14.1-canary.50+8e1bec17f",
23
+ "@atlaspack/build-cache": "2.13.3-canary.52+8f4e6c1b0",
24
+ "@atlaspack/cache": "2.13.3-canary.52+8f4e6c1b0",
25
+ "@atlaspack/diagnostic": "2.14.1-canary.52+8f4e6c1b0",
26
+ "@atlaspack/events": "2.14.1-canary.52+8f4e6c1b0",
27
+ "@atlaspack/feature-flags": "2.14.1-canary.52+8f4e6c1b0",
28
+ "@atlaspack/fs": "2.14.1-canary.52+8f4e6c1b0",
29
+ "@atlaspack/graph": "3.4.1-canary.52+8f4e6c1b0",
30
+ "@atlaspack/logger": "2.14.1-canary.52+8f4e6c1b0",
31
+ "@atlaspack/package-manager": "2.14.1-canary.52+8f4e6c1b0",
32
+ "@atlaspack/plugin": "2.14.1-canary.52+8f4e6c1b0",
33
+ "@atlaspack/profiler": "2.14.1-canary.52+8f4e6c1b0",
34
+ "@atlaspack/rust": "3.0.1-canary.52+8f4e6c1b0",
35
+ "@atlaspack/types": "2.14.1-canary.52+8f4e6c1b0",
36
+ "@atlaspack/utils": "2.14.1-canary.52+8f4e6c1b0",
37
+ "@atlaspack/workers": "2.14.1-canary.52+8f4e6c1b0",
38
38
  "@mischnic/json-sourcemap": "^0.1.0",
39
39
  "@parcel/source-map": "^2.1.1",
40
40
  "base-x": "^3.0.8",
@@ -67,5 +67,5 @@
67
67
  "./src/serializerCore.js": "./src/serializerCore.browser.js"
68
68
  },
69
69
  "type": "commonjs",
70
- "gitHead": "8e1bec17f4b0ae5132c6777ec14bb2c1275724b1"
70
+ "gitHead": "8f4e6c1b0e7c1fd48624afda48c1dcc599f1460f"
71
71
  }
@@ -12,7 +12,7 @@ import type {AtlaspackOptions} from './types';
12
12
  import path from 'path';
13
13
  import {hashString} from '@atlaspack/rust';
14
14
  import {NodeFS, NodeVCSAwareFS} from '@atlaspack/fs';
15
- import {LMDBCache, LMDBLiteCache, FSCache} from '@atlaspack/cache';
15
+ import {LMDBLiteCache, FSCache} from '@atlaspack/cache';
16
16
  import {getFeatureFlag, getFeatureFlagValue} from '@atlaspack/feature-flags';
17
17
  import {NodePackageManager} from '@atlaspack/package-manager';
18
18
  import {
@@ -157,11 +157,7 @@ export default async function resolveOptions(
157
157
  return new FSCache(outputFS, cacheDir);
158
158
  }
159
159
 
160
- if (needsRustLmdbCache || getFeatureFlag('useLmdbJsLite')) {
161
- return new LMDBLiteCache(cacheDir);
162
- }
163
-
164
- return new LMDBCache(cacheDir);
160
+ return new LMDBLiteCache(cacheDir);
165
161
  }
166
162
 
167
163
  let cache = createCache();