Socket
Socket
Sign inDemoInstall

grunt-ts

Package Overview
Dependencies
Maintainers
1
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.5.0 to 1.5.1

tasks/scratch.js

2

package.json

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

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

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

@@ -124,2 +124,3 @@ grunt-ts

This is useful in some cases and the most common way is using AMD
* You want the ability to individually compile only changed files (for a faster dev-compile-run cycle)
* However, File order doesn't matter to you, even when you have inter file depenendency (e.g. AngularJS runtime Dependency injection)

@@ -213,3 +214,3 @@

declaration: false, // true | false (default)
comments: false // true | false (default)
removeComments: true // true (default) | false
},

@@ -216,0 +217,0 @@ },

@@ -553,3 +553,5 @@ /// <reference path="../defs/node/node.d.ts"/>

if (options.removeComments !== null && options.comments !== null) {
if (options.removeComments === null) {
options.removeComments = !options.comments;
} else if (options.comments !== null) {
console.warn('WARNING: Option "comments" and "removeComments" should not be used together'.magenta);

@@ -562,6 +564,4 @@ if (options.removeComments === options.comments) {

}
options.removeComments = !!options.removeComments;
// Remove comments based on the removeComments flag first then based on the comments flag, otherwise true
options.removeComments = options.removeComments === true || options.comments === false || true;
// Was the whole process successful

@@ -568,0 +568,0 @@ var success = true;

@@ -635,3 +635,5 @@ /// <reference path="../defs/node/node.d.ts"/>

// Remove comments based on the removeComments flag first then based on the comments flag, otherwise true
if (options.removeComments !== null && options.comments !== null) {
if (options.removeComments === null) {
options.removeComments = !options.comments;
} else if (options.comments !== null) {
console.warn('WARNING: Option "comments" and "removeComments" should not be used together'.magenta);

@@ -646,4 +648,3 @@ if (options.removeComments === options.comments) {

}
// Remove comments based on the removeComments flag first then based on the comments flag, otherwise true
options.removeComments = options.removeComments === true || options.comments === false || true;
options.removeComments = !!options.removeComments;

@@ -650,0 +651,0 @@ // Was the whole process successful

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