Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-patch

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-patch - npm Package Compare versions

Comparing version 1.3.3 to 1.3.4

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.3.4](https://github.com/nonara/ts-patch/compare/v1.3.3...v1.3.4) (2021-06-30)
### Bug Fixes
* Install adds ts-node to deps instead of devDeps (fixes [#38](https://github.com/nonara/ts-patch/issues/38)) ([a2d586b](https://github.com/nonara/ts-patch/commit/a2d586b286a4af0650faf69d3163115442aec8ab))
### [1.3.3](https://github.com/nonara/ts-patch/compare/v1.3.2...v1.3.3) (2021-04-23)

@@ -7,0 +14,0 @@

8

lib/actions.js

@@ -128,3 +128,3 @@ "use strict";

/**
* Remove tsNode from dependencies in typescript's package.json
* Remove tsNode from devDependencies in typescript's package.json
*/

@@ -137,3 +137,3 @@ function removeDependencies(tsPackage) {

var d = tsDependencies_1[_i];
delete pkgData.dependencies[d];
delete pkgData.devDependencies[d];
}

@@ -147,3 +147,3 @@ fs.writeFileSync(pkgFile, JSON.stringify(pkgData, null, 2));

/**
* Add tsNode to typescript's dependencies
* Add tsNode to typescript's devDependencies
*/

@@ -191,3 +191,3 @@ function installDependencies(tsPackage) {

*/
shell.exec("npm i --no-audit " + (process.platform === 'win32' ? '%PACKAGES%' : '$PACKAGES'), {
shell.exec("npm i -D --no-audit " + (process.platform === 'win32' ? '%PACKAGES%' : '$PACKAGES'), {
cwd: path.resolve(tsPackage.packageDir, '..'),

@@ -194,0 +194,0 @@ env: __assign(__assign({}, process.env), { PACKAGES: missingDeps.map(function (_a) {

{
"name": "ts-patch",
"version": "1.3.3",
"version": "1.3.4",
"description": "Patch typescript to support custom transformers in tsconfig.json",

@@ -5,0 +5,0 @@ "main": "./index.js",

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