Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit e1621db

Browse files
authored
fix security (#27)
* fix security * fix type
1 parent 1cffd22 commit e1621db

File tree

3 files changed

+127
-125
lines changed

3 files changed

+127
-125
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
},
2626
"devDependencies": {
2727
"@types/mock-require": "^2.0.0",
28-
"@types/node": "^12.0.4",
29-
"tslint": "^5.17.0",
30-
"typescript": "^3.5.1"
28+
"@types/node": "^13.9.3",
29+
"tslint": "^6.1.0",
30+
"typescript": "^3.8.3"
3131
}
3232
}

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ module.exports = function init({ typescript }: { typescript: typeof ts_module })
4949
containingFile: string,
5050
reusedNames?: string[],
5151
redirectedReference?: ts_module.ResolvedProjectReference,
52+
options: ts_module.CompilerOptions = OPTIONS,
5253
) => {
5354
moduleNames = moduleNames.map(convertRemoteToLocalCache).map(stripExtNameDotTs);
5455

@@ -58,6 +59,7 @@ module.exports = function init({ typescript }: { typescript: typeof ts_module })
5859
containingFile,
5960
reusedNames,
6061
redirectedReference,
62+
options,
6163
);
6264
};
6365

0 commit comments

Comments
 (0)