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

gulp-deloy-cdn

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-deloy-cdn - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

index.js

@@ -98,3 +98,2 @@ 'use strict';

.replace(cssReg, function(match, url) {
console.log(match, url,'info')
isHTTP(url) || (isCss(match) && (match = match.replace(/href\s*=\s*["|']([^"']+)["|']/, 'href="' + getNewUrl(url, 'css', !inlineReplace && inlineReg.test(match)) + '"')));

@@ -106,3 +105,2 @@ return match;

url = url.replace('../','')
console.log(match, url,'info',file)
isHTTP(url) || isBase64(url) || (match = match.replace(/url\s*\(\s*['|"]?([^'")]+)['|"]?\s*\)/, 'url(' + getNewUrl(url, 'cssImg', false) + ')'));

@@ -109,0 +107,0 @@ return match;

2

package.json
{
"name": "gulp-deloy-cdn",
"version": "0.0.1",
"version": "0.0.2",
"description": "replace resource relative path to cdn uri",

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

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