Comparing version 4.0.0-beta.3 to 4.0.0-beta.4
@@ -1,2 +0,2 @@ | ||
export declare const getTsImportCommentConfig: (tsRelativePath: string) => Promise<void>; | ||
export declare const getTsImportCommentConfigSync: (tsRelativePath: string) => void; | ||
export declare const getTsImportCommentConfig: (tsRelativePath: string) => Promise<any[]>; | ||
export declare const getTsImportCommentConfigSync: (tsRelativePath: string) => any[]; |
@@ -9,3 +9,3 @@ "use strict"; | ||
const comments = commentParser.parse(tsContent); | ||
const json = comments | ||
const commentConfig = comments | ||
.map((comment) => { | ||
@@ -21,2 +21,3 @@ const metadataTags = comment.tags.filter((tag) => { | ||
.flat(); | ||
return commentConfig; | ||
}; | ||
@@ -27,3 +28,3 @@ exports.getTsImportCommentConfig = getTsImportCommentConfig; | ||
const comments = commentParser.parse(tsContent); | ||
const json = comments | ||
const commentConfig = comments | ||
.map((comment) => { | ||
@@ -39,4 +40,5 @@ const metadataTags = comment.tags.filter((tag) => { | ||
.flat(); | ||
return commentConfig; | ||
}; | ||
exports.getTsImportCommentConfigSync = getTsImportCommentConfigSync; | ||
//# sourceMappingURL=get-ts-import-comment-config.js.map |
{ | ||
"name": "ts-import", | ||
"version": "4.0.0-beta.3", | ||
"version": "4.0.0-beta.4", | ||
"description": "Import (compile and cache on the fly) TypeScript files dynamically with ease.", | ||
@@ -26,2 +26,4 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@radrat-scripts/package": "2.0.46", | ||
"@radrat/cli": "3.0.0-beta.5", | ||
"@types/jest": "28.1.4", | ||
@@ -28,0 +30,0 @@ "@types/node": "16.11.42", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65303
437
7