File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ class Y18N {
194
194
err . message = 'syntax error in ' + languageFile
195
195
}
196
196
197
- if ( err . code === 'ENOENT' ) localeLookup = { }
197
+ if ( ( err as { code ?: string } ) . code === 'ENOENT' ) localeLookup = { }
198
198
else throw err
199
199
}
200
200
Original file line number Diff line number Diff line change 1
1
/* global Deno */
2
2
3
- import { posix } from 'https://deno.land/std/path/mod.ts'
4
- import { sprintf } from 'https://deno.land/std/fmt/printf.ts'
3
+ import { posix } from 'https://deno.land/std@0.159.0 /path/mod.ts'
4
+ import { sprintf } from 'https://deno.land/std@0.159.0 /fmt/printf.ts'
5
5
6
6
export default {
7
7
fs : {
Original file line number Diff line number Diff line change 41
41
"prepare" : " npm run compile"
42
42
},
43
43
"devDependencies" : {
44
+ "@rollup/plugin-typescript" : " ^8.5.0" ,
44
45
"@types/node" : " ^14.6.4" ,
45
- "@wessberg/rollup-plugin-ts" : " ^1.3.1" ,
46
46
"c8" : " ^7.3.0" ,
47
47
"chai" : " ^4.0.1" ,
48
48
"cross-env" : " ^7.0.2" ,
52
52
"rollup" : " ^2.26.10" ,
53
53
"standardx" : " ^7.0.0" ,
54
54
"ts-transform-default-export" : " ^1.0.2" ,
55
+ "tslib" : " ^2.4.1" ,
55
56
"typescript" : " ^4.0.0"
56
57
},
57
58
"files" : [
Original file line number Diff line number Diff line change 1
- import ts from '@wessberg/ rollup- plugin-ts '
1
+ import ts from '@rollup/ plugin-typescript '
2
2
import transformDefaultExport from 'ts-transform-default-export'
3
3
4
4
const output = {
You can’t perform that action at this time.
0 commit comments