@atlaspack/packager-js 2.18.0 → 2.18.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @atlaspack/packager-js
2
2
 
3
+ ## 2.18.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#702](https://github.com/atlassian-labs/atlaspack/pull/702) [`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa) Thanks [@alshdavid](https://github.com/alshdavid)! - Fixes to Flow types
8
+
9
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa), [`1c7865a`](https://github.com/atlassian-labs/atlaspack/commit/1c7865a64451116d94015e248302435839d347c0), [`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a)]:
10
+ - @atlaspack/plugin@2.14.20
11
+ - @atlaspack/feature-flags@2.19.2
12
+ - @atlaspack/utils@2.17.2
13
+ - @atlaspack/types@2.15.10
14
+
15
+ ## 2.18.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [[`13aef17`](https://github.com/atlassian-labs/atlaspack/commit/13aef177eea289a6e40d2113b5ec1ac9be18a33d)]:
20
+ - @atlaspack/feature-flags@2.19.1
21
+ - @atlaspack/utils@2.17.1
22
+ - @atlaspack/types@2.15.9
23
+ - @atlaspack/plugin@2.14.19
24
+
3
25
  ## 2.18.0
4
26
 
5
27
  ### Minor Changes
package/lib/index.js CHANGED
@@ -101,7 +101,15 @@ var _default = exports.default = new (_plugin().Packager)({
101
101
  }
102
102
  }
103
103
  if (contents == null) {
104
- let packager = bundle.env.shouldScopeHoist ? new _ScopeHoistingPackager.ScopeHoistingPackager(options, bundleGraph, bundle, (0, _nullthrows().default)(config).parcelRequireName, (0, _nullthrows().default)(config).unstable_asyncBundleRuntime, logger) : new _DevPackager.DevPackager(options, bundleGraph, bundle, (0, _nullthrows().default)(config).parcelRequireName);
104
+ let packager = bundle.env.shouldScopeHoist ? new _ScopeHoistingPackager.ScopeHoistingPackager(options, bundleGraph, bundle,
105
+ // $FlowFixMe
106
+ // $FlowFixMe
107
+ (0, _nullthrows().default)(config).parcelRequireName,
108
+ // $FlowFixMe
109
+ (0, _nullthrows().default)(config).unstable_asyncBundleRuntime, logger) : new _DevPackager.DevPackager(options, bundleGraph, bundle,
110
+ // $FlowFixMe
111
+ // $FlowFixMe
112
+ (0, _nullthrows().default)(config).parcelRequireName);
105
113
  ({
106
114
  contents,
107
115
  map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/packager-js",
3
- "version": "2.18.0",
3
+ "version": "2.18.2",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,12 +16,12 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@atlaspack/diagnostic": "2.14.1",
19
- "@atlaspack/feature-flags": "2.19.0",
20
- "@atlaspack/plugin": "2.14.18",
19
+ "@atlaspack/feature-flags": "2.19.2",
20
+ "@atlaspack/plugin": "2.14.20",
21
21
  "@atlaspack/rust": "3.4.1",
22
22
  "@parcel/source-map": "^2.1.1",
23
- "@atlaspack/types": "2.15.8",
24
- "@atlaspack/utils": "2.17.0",
23
+ "@atlaspack/types": "2.15.10",
24
+ "@atlaspack/utils": "2.17.2",
25
25
  "globals": "^13.2.0",
26
26
  "nullthrows": "^1.1.1",
27
27
  "outdent": "^0.8.0"
package/src/index.js CHANGED
@@ -97,7 +97,10 @@ export default (new Packager({
97
97
  options,
98
98
  bundleGraph,
99
99
  bundle,
100
+ // $FlowFixMe
101
+ // $FlowFixMe
100
102
  nullthrows(config).parcelRequireName,
103
+ // $FlowFixMe
101
104
  nullthrows(config).unstable_asyncBundleRuntime,
102
105
  logger,
103
106
  )
@@ -105,6 +108,8 @@ export default (new Packager({
105
108
  options,
106
109
  bundleGraph,
107
110
  bundle,
111
+ // $FlowFixMe
112
+ // $FlowFixMe
108
113
  nullthrows(config).parcelRequireName,
109
114
  );
110
115
 
@@ -137,7 +142,7 @@ export default (new Packager({
137
142
  map,
138
143
  });
139
144
  },
140
- }): Packager);
145
+ }): Packager<mixed, mixed>);
141
146
 
142
147
  async function getSourceMapSuffix(
143
148
  getSourceMapReference: (?SourceMap) => Async<?string>,