ts-lib-utils
Advanced tools
Comparing version 2.2.0 to 2.6.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getJsDocs = void 0; | ||
/** | ||
@@ -4,0 +5,0 @@ * @public |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getLanguageService = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ const typescript_1 = tslib_1.__importDefault(require("typescript")); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getProjectRootNamesAndCompilerOptions = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ const typescript_1 = tslib_1.__importDefault(require("typescript")); |
@@ -1,2 +0,2 @@ | ||
import * as tslib_1 from "tslib"; | ||
import { __values } from "tslib"; | ||
/** | ||
@@ -11,7 +11,7 @@ * @public | ||
try { | ||
for (var jsDocs_1 = tslib_1.__values(jsDocs), jsDocs_1_1 = jsDocs_1.next(); !jsDocs_1_1.done; jsDocs_1_1 = jsDocs_1.next()) { | ||
for (var jsDocs_1 = __values(jsDocs), jsDocs_1_1 = jsDocs_1.next(); !jsDocs_1_1.done; jsDocs_1_1 = jsDocs_1.next()) { | ||
var jsDoc = jsDocs_1_1.value; | ||
if (jsDoc.tags) { | ||
try { | ||
for (var _c = (e_2 = void 0, tslib_1.__values(jsDoc.tags)), _d = _c.next(); !_d.done; _d = _c.next()) { | ||
for (var _c = (e_2 = void 0, __values(jsDoc.tags)), _d = _c.next(); !_d.done; _d = _c.next()) { | ||
var tag = _d.value; | ||
@@ -18,0 +18,0 @@ result.push(getJsDocFromTag(tag)); |
@@ -1,2 +0,2 @@ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign, __awaiter, __generator, __values } from "tslib"; | ||
import ts from 'typescript'; | ||
@@ -10,5 +10,5 @@ import * as fs from 'fs'; | ||
export function getProjectRootNamesAndCompilerOptions(project) { | ||
return tslib_1.__awaiter(this, void 0, void 0, function () { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _a, configFilePath, dirname, config, _b, compilerOptions, errors, rootNames; | ||
return tslib_1.__generator(this, function (_c) { | ||
return __generator(this, function (_c) { | ||
switch (_c.label) { | ||
@@ -83,3 +83,3 @@ case 0: | ||
var extendsConfig = getTsConfig(configFilePath_1, extendsBasename); | ||
config.compilerOptions = tslib_1.__assign({}, extendsConfig.compilerOptions, config.compilerOptions); | ||
config.compilerOptions = __assign(__assign({}, extendsConfig.compilerOptions), config.compilerOptions); | ||
} | ||
@@ -89,6 +89,6 @@ return config; | ||
function getRootNames(config, dirname) { | ||
return tslib_1.__awaiter(this, void 0, void 0, function () { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var include, exclude, rules, include_1, include_1_1, file, currentPath, stats, e_1_1, rootNames; | ||
var e_1, _a; | ||
return tslib_1.__generator(this, function (_b) { | ||
return __generator(this, function (_b) { | ||
switch (_b.label) { | ||
@@ -106,3 +106,3 @@ case 0: | ||
_b.trys.push([1, 6, 7, 8]); | ||
include_1 = tslib_1.__values(include), include_1_1 = include_1.next(); | ||
include_1 = __values(include), include_1_1 = include_1.next(); | ||
_b.label = 2; | ||
@@ -109,0 +109,0 @@ case 2: |
{ | ||
"name": "ts-lib-utils", | ||
"version": "2.2.0", | ||
"version": "2.6.1", | ||
"description": "Utils to develop library using typescript", | ||
@@ -13,3 +13,3 @@ "main": "dist/index.js", | ||
"glob": "7", | ||
"tslib": "1" | ||
"tslib": "1 || 2" | ||
}, | ||
@@ -23,3 +23,3 @@ "files": [ | ||
}, | ||
"gitHead": "bb02e64c1f349cbf94e1c8b1a5f20e89dd720c2b" | ||
"gitHead": "7434331936c8521d97dfe923154c3cea9255688f" | ||
} |
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
20205
535
+ Addedtslib@2.7.0(transitive)
- Removedtslib@1.14.1(transitive)
Updatedtslib@1 || 2