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

recrawl

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recrawl - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

lib/normalize.d.ts

17

lib/recrawl.js

@@ -45,8 +45,19 @@ Object.defineProperty(exports, "__esModule", { value: true });

const file = dir + name;
if (skip(file, name))
if (skip(file, name)) {
continue;
let mode = (await fs.stat(root + file)).mode & S_IFMT;
}
let mode;
try {
mode = (await fs.stat(root + file)).mode & S_IFMT;
}
catch (err) {
if (err.code == 'ENOENT') {
continue; // Ignore broken symlinks.
}
throw err;
}
if (mode == S_IFDIR) {
if (depth == maxDepth)
if (depth == maxDepth) {
continue;
}
if (enter(file, depth)) {

@@ -53,0 +64,0 @@ depth++;

{
"name": "recrawl",
"version": "1.2.2",
"version": "1.2.3",
"main": "lib/recrawl.js",

@@ -8,3 +8,5 @@ "license": "MIT",

"scripts": {
"build": "tsc -p ."
"build": "tsc -p .",
"lint": "tslint -p .",
"test": "jest"
},

@@ -17,3 +19,6 @@ "dependencies": {

"devDependencies": {
"@sucrase/jest-plugin": "^2.0.0",
"@types/jest": "^24.0.15",
"@types/node": "^10.12.9",
"jest": "^24.8.0",
"prettier": "^1.15.2",

@@ -37,3 +42,8 @@ "tslint": "^5.11.0",

"tiny"
]
],
"jest": {
"transform": {
".(js|jsx|ts|tsx)": "@sucrase/jest-plugin"
}
}
}
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