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

@batijs/build

Package Overview
Dependencies
Maintainers
2
Versions
311
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@batijs/build - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

9

./dist/exec.js

@@ -26,3 +26,3 @@ // src/exec.ts

}
async function* walk(dir, meta) {
async function* walk(dir) {
if (!existsSync(dir))

@@ -33,3 +33,3 @@ return;

if (d.isDirectory()) {
yield* walk(entry, meta);
yield* walk(entry);
} else if (d.isFile())

@@ -63,3 +63,3 @@ yield entry;

for (const source of sources) {
for await (const p of walk(source, meta)) {
for await (const p of walk(source)) {
const target = toDist(p, source, options.dist);

@@ -101,3 +101,4 @@ const parsed = path.parse(p);

export {
main as default
main as default,
walk
};
import { VikeMeta } from '@batijs/core';
declare function walk(dir: string): AsyncGenerator<string>;
declare function main(options: {

@@ -8,2 +9,2 @@ source: string | string[];

export { main as default };
export { main as default, walk };

@@ -26,3 +26,3 @@ // src/exec.ts

}
async function* walk(dir, meta) {
async function* walk(dir) {
if (!existsSync(dir))

@@ -33,3 +33,3 @@ return;

if (d.isDirectory()) {
yield* walk(entry, meta);
yield* walk(entry);
} else if (d.isFile())

@@ -63,3 +63,3 @@ yield entry;

for (const source of sources) {
for await (const p of walk(source, meta)) {
for await (const p of walk(source)) {
const target = toDist(p, source, options.dist);

@@ -101,3 +101,4 @@ const parsed = path.parse(p);

export {
main as default
main as default,
walk
};
{
"name": "@batijs/build",
"version": "0.0.20",
"version": "0.0.21",
"description": "",

@@ -11,6 +11,6 @@ "type": "module",

"@types/node": "^16.18.34",
"@batijs/tsup": "0.0.20"
"@batijs/tsup": "0.0.21"
},
"dependencies": {
"@batijs/core": "0.0.20"
"@batijs/core": "0.0.21"
},

@@ -17,0 +17,0 @@ "main": "./dist/exec.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