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-alpha.2 to 2.2.0

19

dist/tsconfig.js

@@ -55,3 +55,20 @@ "use strict";

if (config.extends) {
const project = path.resolve(dirname, config.extends);
let project;
if (path.isAbsolute(config.extends)) {
project = config.extends;
}
else if (config.extends === '.'
|| config.extends === '..'
|| config.extends.startsWith(`.${path.sep}`)
|| config.extends.startsWith(`..${path.sep}`)
|| config.extends.startsWith('./')
|| config.extends.startsWith('../')) {
project = path.resolve(dirname, config.extends);
}
else if (config.extends.endsWith('.json')) {
project = path.resolve(dirname, 'node_modules', config.extends);
}
else {
project = path.resolve(dirname, 'node_modules', config.extends + '.json');
}
const { configFilePath, dirname: extendsBasename } = getTsConfigFilePath(project);

@@ -58,0 +75,0 @@ const extendsConfig = getTsConfig(configFilePath, extendsBasename);

@@ -62,3 +62,20 @@ import * as tslib_1 from "tslib";

if (config.extends) {
var project = path.resolve(dirname, config.extends);
var project = void 0;
if (path.isAbsolute(config.extends)) {
project = config.extends;
}
else if (config.extends === '.'
|| config.extends === '..'
|| config.extends.startsWith("." + path.sep)
|| config.extends.startsWith(".." + path.sep)
|| config.extends.startsWith('./')
|| config.extends.startsWith('../')) {
project = path.resolve(dirname, config.extends);
}
else if (config.extends.endsWith('.json')) {
project = path.resolve(dirname, 'node_modules', config.extends);
}
else {
project = path.resolve(dirname, 'node_modules', config.extends + '.json');
}
var _a = getTsConfigFilePath(project), configFilePath_1 = _a.configFilePath, extendsBasename = _a.dirname;

@@ -65,0 +82,0 @@ var extendsConfig = getTsConfig(configFilePath_1, extendsBasename);

4

package.json
{
"name": "ts-lib-utils",
"version": "2.2.0-alpha.2",
"version": "2.2.0",
"description": "Utils to develop library using typescript",

@@ -22,3 +22,3 @@ "main": "dist/index.js",

},
"gitHead": "3815035d741467e38139ed5e3fcb8f72b84886cf"
"gitHead": "bb02e64c1f349cbf94e1c8b1a5f20e89dd720c2b"
}
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