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

walk-sync

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

walk-sync - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

4

CHANGELOG.md
# master
# 0.2.6
* On Windows, normalize backslashes in root path to forward slashes
# 0.2.5

@@ -4,0 +8,0 @@

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

var MatcherCollection = require('matcher-collection');
var path = require('path');

@@ -26,2 +27,10 @@ function handleOptions(_options) {

function ensurePosix(filepath) {
if (path.sep !== '/') {
return filepath.split(path.sep).join('/');
}
return filepath;
}
module.exports = walkSync;

@@ -39,3 +48,4 @@ function walkSync(baseDir, _options) {

return _walkSync(baseDir, options);
return _walkSync(ensurePosix(baseDir), options);
};

@@ -42,0 +52,0 @@

2

package.json
{
"name": "walk-sync",
"description": "Get an array of recursive directory contents",
"version": "0.2.5",
"version": "0.2.6",
"author": "Jo Liss <joliss42@gmail.com>",

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

# node-walk-sync
[![Build Status](https://travis-ci.org/joliss/node-walk-sync.png?branch=master)](https://travis-ci.org/joliss/node-walk-sync)
[![Build status](https://ci.appveyor.com/api/projects/status/sqe785gqb2qfmxbx/branch/master?svg=true)](https://ci.appveyor.com/project/joliss/node-walk-sync/branch/master)

@@ -35,3 +36,4 @@ Return an array containing all recursive files and directories under a given

*Note: directories come before their contents, and have a trailing slash.*
Directories come before their contents, and have a trailing forward-slash (on
all platforms).

@@ -38,0 +40,0 @@ Symlinks are followed.

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