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

@zenfs/core

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zenfs/core - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

8

dist/utils.d.ts
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/**

@@ -9,3 +8,2 @@ * Grab bag of utility functions used across the code.

import type { BaseBackendConstructor } from './backends/backend.js';
import type { TextEncoder as TextEncoderType, TextDecoder as TextDecoderType } from 'node:util';
/**

@@ -31,3 +29,3 @@ * Synchronous recursive makedir.

*/
export declare const setImmediate: typeof globalThis.setImmediate | ((cb: any) => NodeJS.Timeout);
export declare const setImmediate: (callback: () => unknown) => void;
/**

@@ -37,6 +35,2 @@ * @internal

export declare const ROOT_NODE_ID: string;
declare global {
const TextEncoder: typeof TextEncoderType;
const TextDecoder: typeof TextDecoderType;
}
export declare const encode: (input?: string) => Uint8Array;

@@ -43,0 +37,0 @@ export declare const decode: (input?: ArrayBuffer | NodeJS.ArrayBufferView, options?: {

4

dist/utils.js

@@ -215,4 +215,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

export const ROOT_NODE_ID = '/';
export const encode = new TextEncoder().encode;
export const decode = new TextDecoder().decode;
export const encode = new globalThis.TextEncoder().encode;
export const decode = new globalThis.TextDecoder().decode;
/**

@@ -219,0 +219,0 @@ * Generates a random ID.

{
"name": "@zenfs/core",
"version": "0.0.10",
"version": "0.0.11",
"description": "A filesystem in your browser",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

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