New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-jasper

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-jasper - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

2

package.json
{
"name": "grunt-jasper",
"version": "0.2.7",
"version": "0.2.8",
"description": "Grunt task to build and package jasper application",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/jasperjs/grunt-jasper",

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

var breaklineRegexp = /(?:\r\n|\r|\n)/g;
var first = content.replace(quotRegexp, '\\\'').replace(breaklineRegexp, ' ');
var first = content.replace(/\\/g,'\\\\').replace(quotRegexp, '\\\'').replace(breaklineRegexp, ' ');
return first;

@@ -50,0 +50,0 @@ };

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

test.ok(configObject.core.scripts[1] === '//path/to/external/script.js', 'Core area must contains external script');
test.ok(configObject.core.scripts[2] === 'scripts/core.min.js?v=61a367ad062b5612806276a669cb2286','Core area must contains area script');
test.ok(configObject.core.scripts[2] === 'scripts/core.min.js?v=a0589781f68a8fd874eccf1d1ae18157','Core area must contains area script');

@@ -114,3 +114,3 @@ test.strictEqual(configObject.boot.scripts, undefined, 'Scripts of bootstrapped area must be undefined')

ensurePartsExistence(test, configObject.feature.dependencies, ['core']);
ensurePartsExistence(test, configObject.core.scripts, ['scripts/core.min.js?v=61a367ad062b5612806276a669cb2286']);
ensurePartsExistence(test, configObject.core.scripts, ['scripts/core.min.js?v=a0589781f68a8fd874eccf1d1ae18157']);
ensurePartsExistence(test, configObject.feature.scripts, ['scripts/feature.min.js?v=539fe595c896279cdb6caeeb7bff75a7']);

@@ -127,4 +127,12 @@

test.done();
},
testEscapingSlash: function(test){
var coreFileContent = grunt.file.read(path.join(appPath, 'dist/scripts/core.min.js'));
test.ok(coreFileContent.indexOf('\\\\testattrvalue\\\\') > 0, 'core.min.js must escape slash');
test.done();
}
};

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