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

gulp-ssg

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-ssg - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

3

index.js

@@ -251,3 +251,4 @@ 'use strict';

function url(file, baseUrl) {
return baseUrl + '/' + path.dirname(file.relative).replace(/^\.\//, '') + '/';
var dirname = path.dirname(file.relative).replace(/\\/g, '/');
return baseUrl + '/' + dirname.replace(/^\.\//, '') + '/';
}

@@ -254,0 +255,0 @@

{
"name": "gulp-ssg",
"version": "0.4.4",
"version": "0.4.5",
"main": "index.js",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/paulwib/gulp-ssg",

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

newFilePath.should.equal(expectedFilePath);
file.relative.should.equal('hello/index.html');
file.relative.should.equal(path.normalize('hello/index.html'));
Buffer.isBuffer(file.contents).should.equal(true);

@@ -56,0 +56,0 @@ done();

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