@atlaspack/packager-js 2.12.1-dev.3520 → 2.12.1-dev.3565

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/index.js CHANGED
@@ -62,7 +62,7 @@ var _default = exports.default = new (_plugin().Packager)({
62
62
  config,
63
63
  options
64
64
  }) {
65
- var _packageName$contents, _conf$contents, _conf$contents2;
65
+ var _conf$contents, _conf$contents2;
66
66
  let packageKey = '@atlaspack/packager-js';
67
67
  let conf = await config.getConfigFrom(options.projectRoot + '/index', [], {
68
68
  packageKey
@@ -81,7 +81,7 @@ var _default = exports.default = new (_plugin().Packager)({
81
81
  let packageName = await config.getConfigFrom(options.projectRoot + '/index', [], {
82
82
  packageKey: 'name'
83
83
  });
84
- let name = (packageName === null || packageName === void 0 || (_packageName$contents = packageName.contents) === null || _packageName$contents === void 0 ? void 0 : _packageName$contents.name) ?? '';
84
+ let name = (packageName === null || packageName === void 0 ? void 0 : packageName.contents) ?? '';
85
85
  return {
86
86
  parcelRequireName: 'parcelRequire' + (0, _rust().hashString)(name).slice(-4),
87
87
  unstable_asyncBundleRuntime: Boolean(conf === null || conf === void 0 || (_conf$contents = conf.contents) === null || _conf$contents === void 0 ? void 0 : _conf$contents.unstable_asyncBundleRuntime),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/packager-js",
3
- "version": "2.12.1-dev.3520+8a5346e28",
3
+ "version": "2.12.1-dev.3565+b31bc6b33",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -12,19 +12,19 @@
12
12
  "main": "lib/index.js",
13
13
  "source": "src/index.js",
14
14
  "engines": {
15
- "node": ">= 16.0.0",
16
- "parcel": "^2.12.1-dev.3520+8a5346e28"
15
+ "atlaspack": "^2.12.1-dev.3565+b31bc6b33",
16
+ "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/diagnostic": "2.12.1-dev.3520+8a5346e28",
20
- "@atlaspack/feature-flags": "2.12.1-dev.3520+8a5346e28",
21
- "@atlaspack/plugin": "2.12.1-dev.3520+8a5346e28",
22
- "@atlaspack/rust": "2.12.1-dev.3520+8a5346e28",
23
- "@atlaspack/types": "2.12.1-dev.3520+8a5346e28",
24
- "@atlaspack/utils": "2.12.1-dev.3520+8a5346e28",
19
+ "@atlaspack/diagnostic": "2.12.1-dev.3565+b31bc6b33",
20
+ "@atlaspack/feature-flags": "2.12.1-dev.3565+b31bc6b33",
21
+ "@atlaspack/plugin": "2.12.1-dev.3565+b31bc6b33",
22
+ "@atlaspack/rust": "2.12.1-dev.3565+b31bc6b33",
23
+ "@atlaspack/types": "2.12.1-dev.3565+b31bc6b33",
24
+ "@atlaspack/utils": "2.12.1-dev.3565+b31bc6b33",
25
25
  "@parcel/source-map": "^2.1.1",
26
26
  "globals": "^13.2.0",
27
27
  "nullthrows": "^1.1.1"
28
28
  },
29
- "gitHead": "8a5346e28c1bb3b9cd40f1c4e77c66dd6666f1e4"
29
+ "gitHead": "b31bc6b33de40c158b9f4d8ff177238be0de409d"
30
30
  }
package/src/index.js CHANGED
@@ -67,7 +67,7 @@ export default (new Packager({
67
67
  },
68
68
  );
69
69
 
70
- let name = packageName?.contents?.name ?? '';
70
+ let name = packageName?.contents ?? '';
71
71
  return {
72
72
  parcelRequireName: 'parcelRequire' + hashString(name).slice(-4),
73
73
  unstable_asyncBundleRuntime: Boolean(