New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ayonli/jsext

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ayonli/jsext - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

4

cjs/fs.js

@@ -475,3 +475,3 @@ 'use strict';

}
else if (env.isBrowserWindow || env.isWorker) {
else {
const dir = await getDirHandle(path$1, { root: options.root });

@@ -673,3 +673,3 @@ yield* readDirHandle(dir, options);

else {
const handle = await getFileHandle(filename, { create: true });
const handle = await getFileHandle(filename, { root: options.root, create: true });
return await writeFileHandle(handle, data, options);

@@ -676,0 +676,0 @@ }

import { orderBy, startsWith } from './array.js';
import { abortable } from './async.js';
import { text } from './bytes.js';
import { isDeno, isNodeLike, isBrowserWindow, isWorker } from './env.js';
import { isDeno, isNodeLike } from './env.js';
import { as } from './object.js';

@@ -473,3 +473,3 @@ import Exception from './error/Exception.js';

}
else if (isBrowserWindow || isWorker) {
else {
const dir = await getDirHandle(path, { root: options.root });

@@ -671,3 +671,3 @@ yield* readDirHandle(dir, options);

else {
const handle = await getFileHandle(filename, { create: true });
const handle = await getFileHandle(filename, { root: options.root, create: true });
return await writeFileHandle(handle, data, options);

@@ -674,0 +674,0 @@ }

@@ -50,3 +50,3 @@ /**

import { text } from "./bytes.ts";
import { isBrowserWindow, isDeno, isNodeLike, isWorker } from "./env.ts";
import { isDeno, isNodeLike } from "./env.ts";
import { Exception } from "./error.ts";

@@ -524,3 +524,3 @@ import { getMIME } from "./filetype.ts";

})(path, "");
} else if (isBrowserWindow || isWorker) {
} else {
const dir = await getDirHandle(path, { root: options.root });

@@ -765,3 +765,3 @@ yield* readDirHandle(dir, options);

} else {
const handle = await getFileHandle(filename, { create: true });
const handle = await getFileHandle(filename, { root: options.root, create: true });
return await writeFileHandle(handle, data, options);

@@ -768,0 +768,0 @@ }

{
"name": "@ayonli/jsext",
"version": "0.9.3",
"version": "0.9.4",
"description": "Additional functions for JavaScript to build strong applications.",

@@ -5,0 +5,0 @@ "exports": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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