@codecademy/brand 0.13.50-alpha.333f2b58d8.0 → 0.13.50-alpha.8b6e70d8b4.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.
@@ -7,10 +7,6 @@ function createAsyncPair() {
7
7
  resolver
8
8
  };
9
9
  }
10
- const mockWorker = () => ({
11
- onmessage: () => null,
12
- postMessage: () => null
13
- });
14
10
  export function createSearchWorker() {
15
11
  const promises = {
16
12
  autocomplete: new Map(),
@@ -20,7 +16,7 @@ export function createSearchWorker() {
20
16
  const blob = new Blob([src], {
21
17
  type: 'text/javascript'
22
18
  });
23
- const w = typeof Worker === 'undefined' ? mockWorker() : new Worker(URL.createObjectURL?.(blob));
19
+ const w = new Worker(URL.createObjectURL?.(blob));
24
20
  w.onmessage = _ref => {
25
21
  let {
26
22
  data
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/brand",
3
3
  "description": "Brand component library for Codecademy",
4
- "version": "0.13.50-alpha.333f2b58d8.0",
4
+ "version": "0.13.50-alpha.8b6e70d8b4.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@emotion/is-prop-valid": "1.2.1",
@@ -47,5 +47,5 @@
47
47
  "dist/**/[A-Z]**/[A-Z]*.js",
48
48
  "dist/**/[A-Z]**/index.js"
49
49
  ],
50
- "gitHead": "65760c65656f07bf62124fe83aee24ef1457b76d"
50
+ "gitHead": "b24dfa10a42a9c5941c8e08027513f99f05e47c4"
51
51
  }