Socket
Socket
Sign inDemoInstall

tsify

Package Overview
Dependencies
Maintainers
3
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsify - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

9

lib/Host.js

@@ -27,3 +27,3 @@ 'use strict';

function Host(currentDirectory, opts) {
this.isCaseSensitive = !!opts.forceConsistentCasingInFileNames || isCaseSensitiveFileSystem;
this.currentDirectory = this.getCanonicalFileName(path.resolve(currentDirectory));

@@ -141,2 +141,3 @@ this.outputDirectory = this.getCanonicalFileName(path.resolve(opts.outDir));

// Note that this is a static method; it's called from the tests:
Host._getCanonicalFileName = function (filename) {

@@ -146,8 +147,6 @@ return ts.normalizeSlashes(isCaseSensitiveFileSystem ? filename : filename.toLowerCase());

Host.prototype.getCanonicalFileName = function (filename) {
return ts.normalizeSlashes(this.isCaseSensitive ? filename : filename.toLowerCase());
};
Host.prototype.getCanonicalFileName = Host._getCanonicalFileName;
Host.prototype.useCaseSensitiveFileNames = function () {
return this.isCaseSensitive;
return isCaseSensitiveFileSystem;
};

@@ -154,0 +153,0 @@

{
"name": "tsify",
"version": "3.0.2",
"version": "3.0.3",
"description": "Browserify plugin for compiling Typescript",

@@ -43,3 +43,3 @@ "main": "index.js",

"event-stream": "^3.3.1",
"fs-extra": "^4.0.1",
"fs-extra": "^0.30.0",
"node-foo": "^0.2.3",

@@ -46,0 +46,0 @@ "source-map": "^0.5.3",

@@ -131,2 +131,3 @@ # tsify

* 3.0.3 - Reverted 3.0.2.
* 3.0.2 - Added support for the `forceConsistentCasingInFilenames` compiler option.

@@ -133,0 +134,0 @@ * 3.0.1 - Fixed an error with file system case sensitivity detection.

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