@atlaspack/utils 2.12.1-dev.3460 → 2.12.1-dev.3466

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/utils",
3
- "version": "2.12.1-dev.3460+340817991",
3
+ "version": "2.12.1-dev.3466+9a12fb8bd",
4
4
  "description": "Blazing fast, zero configuration web application bundler",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "publishConfig": {
@@ -29,11 +29,11 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@atlaspack/codeframe": "2.12.1-dev.3460+340817991",
33
- "@atlaspack/diagnostic": "2.12.1-dev.3460+340817991",
34
- "@atlaspack/logger": "2.12.1-dev.3460+340817991",
35
- "@atlaspack/markdown-ansi": "2.12.1-dev.3460+340817991",
36
- "@atlaspack/rust": "2.12.1-dev.3460+340817991",
32
+ "@atlaspack/codeframe": "2.12.1-dev.3466+9a12fb8bd",
33
+ "@atlaspack/diagnostic": "2.12.1-dev.3466+9a12fb8bd",
34
+ "@atlaspack/logger": "2.12.1-dev.3466+9a12fb8bd",
35
+ "@atlaspack/markdown-ansi": "2.12.1-dev.3466+9a12fb8bd",
36
+ "@atlaspack/rust": "2.12.1-dev.3466+9a12fb8bd",
37
37
  "@parcel/source-map": "^2.1.1",
38
38
  "chalk": "^4.1.0",
39
39
  "nullthrows": "^1.1.1"
@@ -63,5 +63,5 @@
63
63
  "./src/openInBrowser.js": false,
64
64
  "@atlaspack/markdown-ansi": false
65
65
  },
66
- "gitHead": "3408179911d6c67e2bdad99e545dd7a0a9a6782c"
66
+ "gitHead": "9a12fb8bd1b72e407ed043e20337dc60fbec9cbe"
67
67
  }
package/src/DefaultMap.js CHANGED
@@ -22,9 +22,11 @@ export class DefaultMap<K, V> extends Map<K, V> {
22
22
  }
23
23
  }
24
24
 
25
+ interface Key {}
26
+
25
27
  // Duplicated from DefaultMap implementation for Flow
26
28
  // Roughly mirrors https://github.com/facebook/flow/blob/2eb5a78d92c167117ba9caae070afd2b9f598599/lib/core.js#L617
27
- export class DefaultWeakMap<K: interface {}, V> extends WeakMap<K, V> {
29
+ export class DefaultWeakMap<K: Key, V> extends WeakMap<K, V> {
28
30
  _getDefault: (K) => V;
29
31
 
30
32
  constructor(getDefault: (K) => V, entries?: Iterable<[K, V]>) {
@@ -1,10 +1,10 @@
1
1
  // @flow
2
2
 
3
3
  export default function createDependencyLocation(
4
- start: interface {
4
+ start: {|
5
5
  line: number,
6
6
  column: number,
7
- },
7
+ |},
8
8
  specifier: string,
9
9
  lineOffset: number = 0,
10
10
  columnOffset: number = 0,