Socket
Socket
Sign inDemoInstall

grunt-ts

Package Overview
Dependencies
Maintainers
3
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-ts - npm Package Compare versions

Comparing version 1.11.0 to 1.11.1

tasks/modules/index.js.map

3

CHANGELOG.md

@@ -29,2 +29,5 @@ # Released

## v1.11.1
* Do not update templateCache if previous file is same as the new calculated one
# Planned

@@ -31,0 +34,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Compile and manage your TypeScript project",
"version": "1.11.0",
"version": "1.11.1",
"homepage": "https://github.com/grunt-ts/grunt-ts",

@@ -8,0 +8,0 @@ "repository": {

@@ -50,2 +50,12 @@ /// <reference path="../../defs/tsd.d.ts"/>

});
// Early exit if new templateCache doesn't change
if (fs.existsSync(dest)) {
var originalContents = fs.readFileSync(dest).toString();
if (originalContents === fileContent) {
return;
}
}
// write updated contents
fs.writeFileSync(dest, fileContent);

@@ -52,0 +62,0 @@ }

@@ -52,3 +52,13 @@ /// <reference path="../../defs/tsd.d.ts"/>

});
// Early exit if new templateCache doesn't change
if (fs.existsSync(dest)) {
var originalContents = fs.readFileSync(dest).toString();
if (originalContents === fileContent) {
return;
}
}
// write updated contents
fs.writeFileSync(dest, fileContent);
}

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