@atlaspack/utils 2.17.3-typescript-0c2081aca.0 → 2.17.3-typescript-8e1995d58.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
  }
@@ -26,8 +26,6 @@ function _logger() {
26
26
  return data;
27
27
  }
28
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29
- // @ts-expect-error TS7016
30
-
31
29
  async function generateCertificate(fs, cacheDir, host) {
32
30
  let certDirectory = cacheDir;
33
31
  const privateKeyPath = _path().default.join(certDirectory, 'private.pem');
package/lib/glob.js CHANGED
@@ -38,8 +38,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
38
38
 
39
39
  // @ts-expect-error TS2305
40
40
 
41
- // @ts-expect-error TS7016
42
-
43
41
  function isGlob(p) {
44
42
  return (0, _isGlob2().default)((0, _path.normalizeSeparators)(p));
45
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/utils",
3
- "version": "2.17.3-typescript-0c2081aca.0",
3
+ "version": "2.17.3-typescript-8e1995d58.0",
4
4
  "description": "Blazing fast, zero configuration web application bundler",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "publishConfig": {
@@ -30,14 +30,16 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@atlaspack/codeframe": "2.13.5-typescript-0c2081aca.0",
34
- "@atlaspack/diagnostic": "2.14.2-typescript-0c2081aca.0",
35
- "@atlaspack/feature-flags": "2.19.3-typescript-0c2081aca.0",
36
- "@atlaspack/logger": "2.14.14-typescript-0c2081aca.0",
37
- "@atlaspack/markdown-ansi": "2.14.2-typescript-0c2081aca.0",
38
- "@atlaspack/rust": "3.4.2-typescript-0c2081aca.0",
33
+ "@atlaspack/codeframe": "2.13.5-typescript-8e1995d58.0",
34
+ "@atlaspack/diagnostic": "2.14.2-typescript-8e1995d58.0",
35
+ "@atlaspack/feature-flags": "2.19.3-typescript-8e1995d58.0",
36
+ "@atlaspack/logger": "2.14.14-typescript-8e1995d58.0",
37
+ "@atlaspack/markdown-ansi": "2.14.2-typescript-8e1995d58.0",
38
+ "@atlaspack/rust": "3.4.2-typescript-8e1995d58.0",
39
39
  "@iarna/toml": "^2.2.0",
40
40
  "@parcel/source-map": "^2.1.1",
41
+ "@types/micromatch": "^4.0.9",
42
+ "@types/node-forge": "^1.3.13",
41
43
  "ansi-html-community": "0.0.8",
42
44
  "chalk": "^4.1.0",
43
45
  "clone": "^2.1.1",
@@ -56,7 +58,7 @@
56
58
  "terminal-link": "^2.1.1"
57
59
  },
58
60
  "devDependencies": {
59
- "@atlaspack/babel-register": "2.14.2-typescript-0c2081aca.0",
61
+ "@atlaspack/babel-register": "2.14.2-typescript-8e1995d58.0",
60
62
  "benny": "^3.7.1",
61
63
  "random-int": "^1.0.0"
62
64
  },
@@ -71,5 +73,5 @@
71
73
  "check-ts": "tsc --noEmit"
72
74
  },
73
75
  "types": "src/index.ts",
74
- "gitHead": "0c2081aca1b5696646874aee2f776d43f1dbe894"
76
+ "gitHead": "8e1995d58c0a542dffa3b1fa0da3381be69fe125"
75
77
  }
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,5 +1,4 @@
1
1
  import type {FileSystem} from '@atlaspack/fs';
2
- // @ts-expect-error TS7016
3
2
  import forge from 'node-forge';
4
3
  import path from 'path';
5
4
  import logger from '@atlaspack/logger';
package/src/glob.ts CHANGED
@@ -5,7 +5,6 @@ import type {FileSystem} from '@atlaspack/fs';
5
5
  import _isGlob from 'is-glob';
6
6
  // @ts-expect-error TS2305
7
7
  import fastGlob, {FastGlobOptions} from 'fast-glob';
8
- // @ts-expect-error TS7016
9
8
  import micromatch, {isMatch, makeRe, Options} from 'micromatch';
10
9
  import {normalizeSeparators} from './path';
11
10