Socket
Socket
Sign inDemoInstall

@ts-bridge/cli

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-bridge/cli - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

9

CHANGELOG.md

@@ -10,2 +10,8 @@ # Changelog

## [0.1.3]
### Fixed
- Fix "ENOENT: no such file or directory, mkdir '...'" error when using nested folders ([#14](https://github.com/ts-bridge/ts-bridge/pull/14))
## [0.1.2]

@@ -42,5 +48,6 @@

[Unreleased]: https://github.com/ts-bridge/ts-bridge/compare/@ts-bridge/cli@0.1.2...HEAD
[Unreleased]: https://github.com/ts-bridge/ts-bridge/compare/@ts-bridge/cli@0.1.3...HEAD
[0.1.3]: https://github.com/ts-bridge/ts-bridge/compare/@ts-bridge/cli@0.1.2...@ts-bridge/cli@0.1.3
[0.1.2]: https://github.com/ts-bridge/ts-bridge/compare/@ts-bridge/cli@0.1.1...@ts-bridge/cli@0.1.2
[0.1.1]: https://github.com/ts-bridge/ts-bridge/compare/@ts-bridge/cli@0.1.0...@ts-bridge/cli@0.1.1
[0.1.0]: https://github.com/ts-bridge/ts-bridge/releases/tag/@ts-bridge/cli@0.1.0

6

dist/file-system.js
import { rmSync } from 'fs';
import { dirname, sep, resolve, normalize } from 'path';
import { sep, resolve, normalize } from 'path';
import typescript from 'typescript';

@@ -59,7 +59,3 @@ import { getBuildTypeOptions } from './build-type.js';

const fileNameWithExtension = getNewFileName(fileName, extension, declarationExtension);
const directoryName = dirname(fileNameWithExtension);
const updatedContent = transformFile(fileName, content, extension, declarationExtension);
if (!system.directoryExists(directoryName)) {
system.createDirectory(directoryName);
}
system.writeFile(fileNameWithExtension, updatedContent, writeByteOrderMark);

@@ -66,0 +62,0 @@ };

{
"name": "@ts-bridge/cli",
"version": "0.1.2",
"version": "0.1.3",
"description": "Bridge the gap between ES modules and CommonJS modules with an easy-to-use alternative to `tsc`.",

@@ -5,0 +5,0 @@ "keywords": [

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