@atlaspack/runtime-service-worker 2.14.27-inline-requires-take-2-850fb4568.0 → 2.14.28-dev-optimised-prelude-6fa233c65.0

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,13 @@
1
1
  # @atlaspack/runtime-service-worker
2
2
 
3
+ ## 2.14.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/utils@2.18.4
9
+ - @atlaspack/plugin@2.14.27
10
+
3
11
  ## 2.14.26
4
12
 
5
13
  ### Patch Changes
@@ -48,7 +48,6 @@ const version = ${JSON.stringify(bundle.hashReference)};
48
48
  _register(manifest, version);
49
49
  `;
50
50
  return [{
51
- // @ts-expect-error TS2339
52
51
  filePath: asset.filePath,
53
52
  code,
54
53
  isEntry: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/runtime-service-worker",
3
- "version": "2.14.27-inline-requires-take-2-850fb4568.0",
3
+ "version": "2.14.28-dev-optimised-prelude-6fa233c65.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,8 +16,9 @@
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/plugin": "2.14.27-inline-requires-take-2-850fb4568.0",
20
- "@atlaspack/utils": "2.18.4-inline-requires-take-2-850fb4568.0",
19
+ "@atlaspack/plugin": "2.14.28-dev-optimised-prelude-6fa233c65.0",
20
+ "@atlaspack/types": "2.15.18-dev-optimised-prelude-6fa233c65.0",
21
+ "@atlaspack/utils": "2.18.5-dev-optimised-prelude-6fa233c65.0",
21
22
  "nullthrows": "^1.1.1"
22
23
  },
23
24
  "type": "commonjs",
@@ -25,5 +26,5 @@
25
26
  "check-ts": "tsc --emitDeclarationOnly --rootDir src",
26
27
  "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
27
28
  },
28
- "gitHead": "850fb4568e775c8c938e92c1ec0b99d9724ae2c3"
29
+ "gitHead": "6fa233c656e8abea0878044e1fc0dc2023077a53"
29
30
  }
@@ -1,5 +1,6 @@
1
1
  import {Runtime} from '@atlaspack/plugin';
2
2
  import {urlJoin} from '@atlaspack/utils';
3
+ import type {Asset} from '@atlaspack/types';
3
4
 
4
5
  export default new Runtime({
5
6
  apply({bundle, bundleGraph}) {
@@ -7,7 +8,7 @@ export default new Runtime({
7
8
  return [];
8
9
  }
9
10
 
10
- let asset = bundle.traverse((node, _, actions) => {
11
+ let asset = bundle.traverse<Asset>((node, _, actions) => {
11
12
  if (
12
13
  node.type === 'dependency' &&
13
14
  node.value.specifier === '@atlaspack/service-worker' &&
@@ -39,7 +40,6 @@ _register(manifest, version);
39
40
 
40
41
  return [
41
42
  {
42
- // @ts-expect-error TS2339
43
43
  filePath: asset.filePath,
44
44
  code,
45
45
  isEntry: true,