Socket
Socket
Sign inDemoInstall

tsc-alias

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsc-alias - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

0

index.d.ts
export * from './src/index';

15

index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./src/index"));
__exportStar(require("./src/index"), exports);
//# sourceMappingURL=index.js.map
{
"name": "tsc-alias",
"version": "1.1.1",
"description": "Replace absolute paths to relative paths after typescript compilation",
"main": "src/index.js",
"module": "src/index.js",
"bin": {
"tsc-alias": "src/bin/index.js"
},
"scripts": {
"build": "tsc -p ./tsconfig.json",
"build:watch": "tsc -w -p ./tsconfig.json",
"format": "prettier --write \"./*.{js,jsx,ts,tsx}\" \"./src/**/*.{js,jsx,ts,tsx}\""
},
"repository": {
"type": "git",
"url": "https://github.com/justkey007/tsc-alias.git"
},
"keywords": [
"typescript",
"paths",
"alias",
"absolute path",
"relative path",
"compilation",
"tsc"
],
"author": "Juskey B.",
"license": "MIT",
"bugs": {
"url": "https://github.com/justkey007/tsc-alias/issues"
},
"homepage": "https://github.com/justkey007/tsc-alias.git",
"devDependencies": {
"@types/node": "^11.12.0"
},
"dependencies": {
"@jfonx/console-utils": "^1.0.3",
"@jfonx/file-utils": "^1.0.0",
"chokidar": "^3.0.0",
"commander": "^2.19.0",
"globby": "^9.2.0",
"normalize-path": "^3.0.0"
}
"name": "tsc-alias",
"version": "1.1.2",
"description": "Replace absolute paths to relative paths after typescript compilation",
"main": "src/index.js",
"module": "src/index.js",
"bin": {
"tsc-alias": "src/bin/index.js"
},
"scripts": {
"build": "tsc -p ./tsconfig.json",
"build:watch": "tsc -w -p ./tsconfig.json",
"format": "prettier --write \"./*.{js,jsx,ts,tsx}\" \"./src/**/*.{js,jsx,ts,tsx}\""
},
"repository": {
"type": "git",
"url": "https://github.com/justkey007/tsc-alias.git"
},
"keywords": [
"typescript",
"paths",
"alias",
"absolute path",
"relative path",
"compilation",
"tsc"
],
"author": "Juskey B.",
"license": "MIT",
"bugs": {
"url": "https://github.com/justkey007/tsc-alias/issues"
},
"homepage": "https://github.com/justkey007/tsc-alias.git",
"devDependencies": {
"@types/node": "^11.12.0"
},
"dependencies": {
"@jfonx/console-utils": "^1.0.3",
"@jfonx/file-utils": "^1.0.0",
"chokidar": "^3.0.0",
"commander": "^2.19.0",
"globby": "^9.2.0",
"normalize-path": "^3.0.0"
}
}
#! /usr/bin/env node
export {};

@@ -0,0 +0,0 @@ #! /usr/bin/env node

@@ -0,0 +0,0 @@ export declare function replaceTscAliasPaths(options?: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.replaceTscAliasPaths = void 0;
const console_utils_1 = require("@jfonx/console-utils");

@@ -4,0 +5,0 @@ const chokidar_1 = require("chokidar");

@@ -0,0 +0,0 @@ export interface IRawTSConfig {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getProjectDirPathInOutDir = exports.loadConfig = exports.mapPaths = void 0;
const file_utils_1 = require("@jfonx/file-utils");

@@ -31,3 +32,3 @@ const globby_1 = require("globby");

const parentConfig = exports.loadConfig(path_1.resolve(path_1.dirname(file), ext));
return Object.assign({}, parentConfig, config);
return Object.assign(Object.assign({}, parentConfig), config);
}

@@ -34,0 +35,0 @@ return config;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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