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

grunt-appolo-assets-url-replace

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-appolo-assets-url-replace - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

.idea/.name

2

package.json
{
"name": "grunt-appolo-assets-url-replace",
"description": "Grunt task to replace assets urls with absolute path",
"version": "0.0.8",
"version": "0.0.9",
"author": {

@@ -6,0 +6,0 @@ "name": "Roman Svichar",

@@ -71,3 +71,3 @@

imagePath.indexOf(";base64") == -1 &&
options.ext.indexOf(path.extname(imagePath)) > -1 ) {
options.ext.indexOf(path.extname(imagePath.substr(0, imagePath.indexOf('?') > -1 ? imagePath.indexOf('?') : imagePath.length ))) > -1 ) {
html = html.replace(match[0], 'src="'+ options.staticUrl + path.normalize('/'+ imagePath)+'"');

@@ -74,0 +74,0 @@ modified = true;

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