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

@travetto/base

Package Overview
Dependencies
Maintainers
1
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/base - npm Package Compare versions

Comparing version 0.0.65 to 0.0.66

2

package.json

@@ -19,3 +19,3 @@ {

"scripts": {},
"version": "0.0.65"
"version": "0.0.66"
}

@@ -32,3 +32,3 @@ import * as path from 'path';

export function scanDir(handler: Handler, base?: string, curBase?: string) {
export function scanDir(handler: Handler, base?: string, relBase?: string) {
return new Promise<Entry[]>(async (resolve, reject) => {

@@ -39,5 +39,5 @@ try {

base = base || process.cwd();
curBase = curBase || base;
relBase = relBase || base;
for (const file of (await fsReaddir(base))) {
for (const file of (await fsReaddir(relBase))) {
if (file.startsWith('.')) {

@@ -47,3 +47,3 @@ continue;

const full = `${curBase}${path.sep}${file}`;
const full = `${relBase}${path.sep}${file}`;
const stats = await fsStat(full);

@@ -50,0 +50,0 @@ const entry: Entry = { stats, file: full };

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