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

@rjweb/utils

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rjweb/utils - npm Package Compare versions

Comparing version 1.12.4 to 1.12.5

3

lib/cjs/filesystem.js

@@ -163,2 +163,5 @@ "use strict";

break;
Object.assign(dirent, {
path: path.join(folder, dirent.name)
});
yield dirent;

@@ -165,0 +168,0 @@ if (options?.recursive && dirent.isDirectory()) {

4

lib/cjs/pckg.json
{
"name": "@rjweb/utils",
"version": "1.12.3",
"version": "1.12.5",
"description": "Easy and Lightweight Utilities",

@@ -13,3 +13,3 @@ "module": "lib/esm/index.js",

"build": "rm -rf lib && tsc && esbuild `find src -type f -name \"*.ts\"` --platform='node' --ignore-annotations --format='cjs' --outdir='lib/cjs' && esbuild `find src -type f -name \"*.ts\"` --platform='node' --ignore-annotations --format='esm' --outdir='lib/esm' && cp package.json lib/cjs/pckg.json && cp package.json lib/esm/pckg.json",
"docs": "rm -rf docs && typedoc --out docs src/index.ts && sed -i -e 's|<meta charSet=\"utf-8\"/>|<meta charSet=\"utf-8\"/><link rel=\"icon\" type=\"image/png\" href=\"https://img.rjansen.de/rjweb/icon.png\">|' docs/**/*.html && chmod -R a+rw docs",
"docs": "rm -rf docs && typedoc --out docs src/index.ts && sed -i -e 's|<meta charSet=\"utf-8\"/>|<meta charSet=\"utf-8\"/><link rel=\"icon\" type=\"image/png\" href=\"https://cdn.rjns.dev/rjweb/icon.png\">|' docs/**/*.html && chmod -R a+rw docs",
"test": "yarn build && node test"

@@ -16,0 +16,0 @@ },

@@ -126,2 +126,5 @@ import * as fs from "fs";

break;
Object.assign(dirent, {
path: path.join(folder, dirent.name)
});
yield dirent;

@@ -128,0 +131,0 @@ if (options?.recursive && dirent.isDirectory()) {

{
"name": "@rjweb/utils",
"version": "1.12.3",
"version": "1.12.5",
"description": "Easy and Lightweight Utilities",

@@ -13,3 +13,3 @@ "module": "lib/esm/index.js",

"build": "rm -rf lib && tsc && esbuild `find src -type f -name \"*.ts\"` --platform='node' --ignore-annotations --format='cjs' --outdir='lib/cjs' && esbuild `find src -type f -name \"*.ts\"` --platform='node' --ignore-annotations --format='esm' --outdir='lib/esm' && cp package.json lib/cjs/pckg.json && cp package.json lib/esm/pckg.json",
"docs": "rm -rf docs && typedoc --out docs src/index.ts && sed -i -e 's|<meta charSet=\"utf-8\"/>|<meta charSet=\"utf-8\"/><link rel=\"icon\" type=\"image/png\" href=\"https://img.rjansen.de/rjweb/icon.png\">|' docs/**/*.html && chmod -R a+rw docs",
"docs": "rm -rf docs && typedoc --out docs src/index.ts && sed -i -e 's|<meta charSet=\"utf-8\"/>|<meta charSet=\"utf-8\"/><link rel=\"icon\" type=\"image/png\" href=\"https://cdn.rjns.dev/rjweb/icon.png\">|' docs/**/*.html && chmod -R a+rw docs",
"test": "yarn build && node test"

@@ -16,0 +16,0 @@ },

@@ -111,12 +111,7 @@ /// <reference types="node" />

*
* async function recursiveWalk(folder: string) {
* for await (const dirent of filesystem.walk(folder)) {
* if (dirent.isDirectory()) {
* await recursiveWalk(path.join(folder, dirent.name))
* } else {
* console.log(dirent.name)
* }
* for await (const dirent of filesystem.walk('./node_modules', { async: true, recursive: true })) {
* const spaces = path.relative('./node_modules', dirent.path).split(path.sep).length - 1
*
* console.log(' '.repeat(spaces), dirent.name)
* }
*
* recursiveWalk('./src').catch(console.error)
* ```

@@ -123,0 +118,0 @@ * @since 1.12.3

{
"name": "@rjweb/utils",
"version": "1.12.4",
"version": "1.12.5",
"description": "Easy and Lightweight Utilities",

@@ -5,0 +5,0 @@ "module": "lib/esm/index.js",

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