@atlaspack/utils 2.17.3-typescript-80839fbd5.0 → 2.17.3-typescript-c10a7ae7b.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/lib/ansi-html.js CHANGED
@@ -13,6 +13,8 @@ function _ansiHtmlCommunity() {
13
13
  }
14
14
  var _escapeHtml = require("./escape-html");
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
+ // @ts-expect-error ansi-html-community is not typed
17
+
16
18
  function ansiHtml(ansi) {
17
19
  return (0, _ansiHtmlCommunity().default)((0, _escapeHtml.escapeHTML)(ansi));
18
20
  }
@@ -4,6 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.SharedBuffer = void 0;
7
+ // flow-to-ts helpers
8
+
9
+ // /flow-to-ts helpers
10
+
7
11
  let SharedBuffer = exports.SharedBuffer = void 0;
8
12
 
9
13
  // @ts-expect-error process.browser is a browser-specific property
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/utils",
3
- "version": "2.17.3-typescript-80839fbd5.0",
3
+ "version": "2.17.3-typescript-c10a7ae7b.0",
4
4
  "description": "Blazing fast, zero configuration web application bundler",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "publishConfig": {
@@ -30,12 +30,12 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@atlaspack/codeframe": "2.13.5-typescript-80839fbd5.0",
34
- "@atlaspack/diagnostic": "2.14.2-typescript-80839fbd5.0",
35
- "@atlaspack/feature-flags": "2.19.3-typescript-80839fbd5.0",
36
- "@atlaspack/logger": "2.14.14-typescript-80839fbd5.0",
37
- "@atlaspack/markdown-ansi": "2.14.2-typescript-80839fbd5.0",
38
- "@atlaspack/rust": "3.4.2-typescript-80839fbd5.0",
33
+ "@atlaspack/codeframe": "2.13.5-typescript-c10a7ae7b.0",
34
+ "@atlaspack/diagnostic": "2.14.2-typescript-c10a7ae7b.0",
35
+ "@atlaspack/feature-flags": "2.19.3-typescript-c10a7ae7b.0",
36
+ "@atlaspack/logger": "2.14.14-typescript-c10a7ae7b.0",
37
+ "@atlaspack/markdown-ansi": "2.14.2-typescript-c10a7ae7b.0",
38
+ "@atlaspack/rust": "3.4.2-typescript-c10a7ae7b.0",
39
39
  "@iarna/toml": "^2.2.0",
40
40
  "@parcel/source-map": "^2.1.1",
41
41
  "ansi-html-community": "0.0.8",
@@ -56,7 +56,7 @@
56
56
  "terminal-link": "^2.1.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@atlaspack/babel-register": "2.14.2-typescript-80839fbd5.0",
59
+ "@atlaspack/babel-register": "2.14.2-typescript-c10a7ae7b.0",
60
60
  "benny": "^3.7.1",
61
61
  "random-int": "^1.0.0"
62
62
  },
@@ -71,5 +71,5 @@
71
71
  "check-ts": "tsc --noEmit"
72
72
  },
73
73
  "types": "src/index.ts",
74
- "gitHead": "80839fbd5c6d6668c2622849856a4b25601354a8"
74
+ "gitHead": "c10a7ae7b0dc2c79430506d16447ff9bb9966043"
75
75
  }
package/src/ansi-html.ts CHANGED
@@ -1,3 +1,4 @@
1
+ // @ts-expect-error ansi-html-community is not typed
1
2
  import ansiHTML from 'ansi-html-community';
2
3
  import {escapeHTML} from './escape-html';
3
4
 
@@ -1,8 +1,8 @@
1
- import {Flow} from 'flow-to-typescript-codemod';
1
+ // flow-to-ts helpers
2
+ export type Class<T> = new (...args: any[]) => T;
3
+ // /flow-to-ts helpers
2
4
 
3
- export let SharedBuffer:
4
- | Flow.Class<ArrayBuffer>
5
- | Flow.Class<SharedArrayBuffer>;
5
+ export let SharedBuffer: Class<ArrayBuffer> | Class<SharedArrayBuffer>;
6
6
 
7
7
  // @ts-expect-error process.browser is a browser-specific property
8
8
  if (process.browser) {