Socket
Socket
Sign inDemoInstall

ts-lib-utils

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-lib-utils - npm Package Compare versions

Comparing version 2.2.0 to 2.6.1

1

dist/js-doc.js
"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"));

6

es/js-doc.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc