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

fis-spriter-csssprites

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-spriter-csssprites - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

4

libs/css/rules.js

@@ -16,3 +16,3 @@ /*

, __repeat_re = /\brepeat-(x|y)/i
, __sprites_re = /\?__sprite/i
, __sprites_re = /[?&]__sprite/i
, __sprites_hook_ld = '<<<'

@@ -66,3 +66,3 @@ , __sprites_hook_rd = '>>>';

info = _.query(info.rest);
self.image = info.rest;
self.image = info.origin.replace(__sprites_re, '');
if (info.query && __sprites_re.test(info.query)) {

@@ -69,0 +69,0 @@ self._is_sprites = true;

@@ -89,3 +89,3 @@ /*

this.css += arr_selector.join(',')
+ '{background-image: url(' + image_file.getUrl(this.opt.hash, this.opt.domain) + ')}';
+ '{background-image: url(' + image_file.getUrl(this.opt.hash, this.opt.domain) + image_file.hash + ')}';
},

@@ -92,0 +92,0 @@ z_pack: require('./pack.js'),

{
"name": "fis-spriter-csssprites",
"version": "0.1.6",
"version": "0.1.7",
"description": "基于fis的csssprite,支持repeat-x,repeat-x,background-position",

@@ -5,0 +5,0 @@ "main": "index.js",

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