Skip to content

Commit 1856eaf

Browse files
committed
build(deps): bump @flex-development/mlly from 1.0.0-alpha.15 to 1.0.0-alpha.16
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 6c25a02 commit 1856eaf

File tree

13 files changed

+102
-115
lines changed

13 files changed

+102
-115
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const load = async (url, context) => {
145145
/**
146146
* Source code.
147147
*
148-
* @type {Uint8Array | string | undefined}
148+
* @type {tutils.Optional<esm.Source<Uint8Array | string>>}
149149
* @var source
150150
*/
151151
let source = await mlly.getSource(url, { format: context.format })

loader.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const load = async (url, context) => {
6868
/**
6969
* Module source code.
7070
*
71-
* @type {esm.Source<Uint8Array | string> | undefined}
71+
* @type {tutils.Optional<esm.Source<Uint8Array | string>>}
7272
* @var source
7373
*/
7474
let source = await mlly.getSource(url, { format: context.format })

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
},
7878
"dependencies": {
7979
"@flex-development/errnode": "1.5.0",
80-
"@flex-development/mlly": "1.0.0-alpha.15",
80+
"@flex-development/mlly": "1.0.0-alpha.16",
8181
"@flex-development/pathe": "1.0.3",
8282
"@flex-development/tsconfig-types": "4.0.0",
8383
"@flex-development/tutils": "6.0.0-alpha.16",

src/interfaces/options-load-tsconfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface LoadTsconfigOptions {
1515
*
1616
* @see {@linkcode mlly.ModuleId}
1717
*
18-
* @default internal.isFile
18+
* @default mlly.isFile
1919
*
2020
* @param {mlly.ModuleId} id - Module id to evaluate
2121
* @return {boolean} `true` if file exists at `id`, `false` otherwise

src/internal/__tests__/is-directory.spec.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/internal/__tests__/is-file.spec.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/internal/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* @module tsconfig-utils/internal
44
*/
55

6-
export { default as isDirectory } from './is-directory'
7-
export { default as isFile } from './is-file'
86
export { default as parseJSON } from './parse-json'
97
export { default as readFile } from './read-file'
108
export { default as validateFunction } from './validate-function'

src/internal/is-directory.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/internal/is-file.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/utils/lib.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
import type { Lib, LibFile } from '@flex-development/tsconfig-types'
7+
import { cast } from '@flex-development/tutils'
78

89
/**
910
* Map containing [type definition library names][1] that correspond to files in
@@ -100,7 +101,7 @@ const LIB: Map<Lowercase<Lib>, LibFile> = new Map<Lowercase<Lib>, LibFile>(
100101
'webworker.importscripts',
101102
'webworker.iterable',
102103
'webworker'
103-
].map(name => [name, `lib.${name}.d.ts`] as [Lowercase<Lib>, LibFile])
104+
].map(name => cast([name, `lib.${name}.d.ts`]))
104105
)
105106

106107
export default LIB

0 commit comments

Comments
 (0)