@atlaspack/transformer-webextension 2.12.1-dev.3368 → 2.12.1-dev.3401

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.
@@ -7,7 +7,7 @@ addEventListener('beforeunload', function () {
7
7
  if (!blockReload) return;
8
8
  try {
9
9
  env.runtime.sendMessage({
10
- __atlaspack_hmr_reload__: true
10
+ __parcel_hmr_reload__: true
11
11
  });
12
12
  // spinlock for 500ms to let background reload
13
13
  let end = Date.now() + 500;
@@ -17,7 +17,7 @@ addEventListener('beforeunload', function () {
17
17
  }
18
18
  });
19
19
  env.runtime.onMessage.addListener(function (msg) {
20
- if (msg.__atlaspack_hmr_reload__) {
20
+ if (msg.__parcel_hmr_reload__) {
21
21
  blockReload = false;
22
22
  setTimeout(function () {
23
23
  location.reload();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-webextension",
3
- "version": "2.12.1-dev.3368+af1db7f65",
3
+ "version": "2.12.1-dev.3401+b483af77f",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -12,14 +12,14 @@
12
12
  "main": "lib/WebExtensionTransformer.js",
13
13
  "source": "src/WebExtensionTransformer.js",
14
14
  "engines": {
15
- "atlaspack": "^2.12.1-dev.3368+af1db7f65"
15
+ "parcel": "^2.12.1-dev.3401+b483af77f"
16
16
  },
17
17
  "dependencies": {
18
- "@atlaspack/diagnostic": "2.12.1-dev.3368+af1db7f65",
19
- "@atlaspack/plugin": "2.12.1-dev.3368+af1db7f65",
20
- "@atlaspack/utils": "2.12.1-dev.3368+af1db7f65",
18
+ "@atlaspack/diagnostic": "2.12.1-dev.3401+b483af77f",
19
+ "@atlaspack/plugin": "2.12.1-dev.3401+b483af77f",
20
+ "@atlaspack/utils": "2.12.1-dev.3401+b483af77f",
21
21
  "@mischnic/json-sourcemap": "^0.1.0",
22
22
  "content-security-policy-parser": "^0.3.0"
23
23
  },
24
- "gitHead": "af1db7f65c4816917ddf83716deedc536a1b8b27"
24
+ "gitHead": "b483af77f02d1258c8dad156e097b94f83671d8e"
25
25
  }
@@ -6,7 +6,7 @@ addEventListener('beforeunload', function () {
6
6
  if (!blockReload) return;
7
7
  try {
8
8
  env.runtime.sendMessage({
9
- __atlaspack_hmr_reload__: true,
9
+ __parcel_hmr_reload__: true,
10
10
  });
11
11
  // spinlock for 500ms to let background reload
12
12
  let end = Date.now() + 500;
@@ -17,7 +17,7 @@ addEventListener('beforeunload', function () {
17
17
  });
18
18
 
19
19
  env.runtime.onMessage.addListener(function (msg) {
20
- if (msg.__atlaspack_hmr_reload__) {
20
+ if (msg.__parcel_hmr_reload__) {
21
21
  blockReload = false;
22
22
  setTimeout(function () {
23
23
  location.reload();