Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-angular-templates

Package Overview
Dependencies
Maintainers
4
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-angular-templates - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

test/expected/linebreak.js

10

Gruntfile.js

@@ -257,2 +257,12 @@ /*

}
},
linebreak: {
src: 'test/fixtures/linebreak.html',
dest: 'tmp/linebreak.js',
},
regexp: {
src: 'test/fixtures/regexp.html',
dest: 'tmp/regexp.js'
}

@@ -259,0 +269,0 @@ }

2

package.json
{
"name": "grunt-angular-templates",
"description": "Grunt build task to concatenate & register your AngularJS templates in the $templateCache",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "https://github.com/ericclemmons/grunt-angular-templates",

@@ -6,0 +6,0 @@ "author": {

@@ -369,2 +369,3 @@ # grunt-angular-templates

- v1.0.2 - Fixes issue with escaping carriage returns ([#147](https://github.com/ericclemmons/grunt-angular-templates/pull/147)), Fixes issue with escaping backslashes ([#146](https://github.com/ericclemmons/grunt-angular-templates/pull/146))
- v1.0.1 - Log error instead of warning when minify fails ([#139](https://github.com/ericclemmons/grunt-angular-templates/pull/139))

@@ -371,0 +372,0 @@ - v1.0.0 - Updated unit tests for performance and bumps dependency versions ([#143](https://github.com/ericclemmons/grunt-angular-templates/pull/143))

@@ -190,3 +190,5 @@ /*

line = line.replace(/\\/g, '\\\\');
line = line.replace(/\n/g, '\\n');
line = line.replace(/\r/g, '\\r');
var quoteRegExp = new RegExp(quote, 'g');

@@ -193,0 +195,0 @@ line = line.replace(quoteRegExp, '\\' + quote);

@@ -222,4 +222,24 @@ 'use strict';

test.done();
},
linebreak: function(test) {
test.expect(1);
var actual = grunt.file.read('tmp/linebreak.js');
var expected = grunt.file.read('test/expected/linebreak.js');
test.equal(expected, actual);
test.done();
},
regexp: function(test) {
test.expect(1);
var actual = grunt.file.read('tmp/regexp.js');
var expected = grunt.file.read('test/expected/regexp.js');
test.equal(expected, actual);
test.done();
}
};
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