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

grunt-montage

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-montage - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

test/fixtures/emoji_+1.png

2

package.json
{
"name": "grunt-montage",
"description": "Generate CSS sprite sheets and the corresponding stylesheet",
"version": "0.0.2",
"version": "0.0.3",
"author": {

@@ -6,0 +6,0 @@ "name": "James Allardice",

@@ -7,3 +7,4 @@ module.exports = function (grunt) {

path = require("path"),
mkdirp = require("mkdirp");
mkdirp = require("mkdirp"),
rSpecial = /([!"#$%&'()*+,-.\/:;<=>?@[\]\\^`{}|~])/g;

@@ -46,3 +47,3 @@ grunt.registerMultiTask("montage", "Generate CSS sprite sheets and the corresponding stylesheet", function () {

offsetTop = -size * Math.floor(i / cols),
className = path.basename(image).replace(/\.\w+$/, "");
className = path.basename(image).replace(/\.\w+$/, "").replace(rSpecial, "\\$1");

@@ -49,0 +50,0 @@ // Only add the units if the value is not 0

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