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.2.8 to 1.2.9

2

package.json

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

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

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

@@ -343,2 +343,10 @@ /// <reference path="../defs/node/node.d.ts"/>

// Write out a binary file:
var binaryTemplate = _.template('define(["<%= filenames %>"],function () {});');
var binaryFilesNames = files.before.concat(files.generated.concat(files.unordered.concat(files.after)));
var binaryContent = binaryTemplate({ filenames: binaryFilesNames.join('","') });
var binFileExtension = '.bin.js';
var loaderFileWithoutExtension = path.dirname(loaderFile) + pathSeperator + path.basename(loaderFile, '.js');
fs.writeFileSync(loaderFileWithoutExtension + binFileExtension, binaryContent);
//

@@ -377,10 +385,2 @@ // Notice that we build inside out in the below sections:

fs.writeFileSync(loaderFile, output);
// Also write out a binary file:
var binaryTemplate = _.template('define(["<%= filenames %>"],function () {});');
var binaryFilesNames = files.before.concat(files.generated.concat(files.unordered.concat(files.after)));
var binaryContent = binaryTemplate({ filenames: binaryFilesNames.join('","') });
var binFileExtension = '.bin.js';
var loaderFileWithoutExtension = path.dirname(loaderFile) + pathSeperator + path.basename(loaderFile, '.js');
fs.writeFileSync(loaderFileWithoutExtension + binFileExtension, binaryContent);
}

@@ -387,0 +387,0 @@ } else {

@@ -377,2 +377,11 @@ /// <reference path="../defs/node/node.d.ts"/>

// Write out a binary file:
var binaryTemplate = _.template('define(["<%= filenames %>"],function () {});');
var binaryFilesNames = files.before.concat(files.generated.concat(files.unordered.concat(files.after)));
var binaryContent = binaryTemplate({ filenames: binaryFilesNames.join('","') });
var binFileExtension = '.bin.js';
var loaderFileWithoutExtension = path.dirname(loaderFile) + pathSeperator + path.basename(loaderFile, '.js');
fs.writeFileSync(loaderFileWithoutExtension + binFileExtension, binaryContent);
//

@@ -412,10 +421,2 @@ // Notice that we build inside out in the below sections:

fs.writeFileSync(loaderFile, output);
// Also write out a binary file:
var binaryTemplate = _.template('define(["<%= filenames %>"],function () {});');
var binaryFilesNames = files.before.concat(files.generated.concat(files.unordered.concat(files.after)));
var binaryContent = binaryTemplate({ filenames: binaryFilesNames.join('","') });
var binFileExtension = '.bin.js';
var loaderFileWithoutExtension = path.dirname(loaderFile) +pathSeperator+ path.basename(loaderFile, '.js');
fs.writeFileSync(loaderFileWithoutExtension+binFileExtension, binaryContent);
}

@@ -422,0 +423,0 @@ }

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