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

@electric-sql/pglite

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electric-sql/pglite - npm Package Compare versions

Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2

dist/chunk-RM7SEAOI.js

22

dist/index.js
import {
FilesystemBase,
IN_NODE,
PGDATA,

@@ -13,3 +14,3 @@ __privateAdd,

share_default
} from "./chunk-37YWJ5QA.js";
} from "./chunk-RM7SEAOI.js";

@@ -105,5 +106,5 @@ // ../../node_modules/.pnpm/async-mutex@0.4.1/node_modules/async-mutex/index.mjs

_dispatch() {
var _a;
var _a2;
for (let weight = this._value; weight > 0; weight--) {
const queueEntry = (_a = this._weightedQueues[weight - 1]) === null || _a === void 0 ? void 0 : _a.shift();
const queueEntry = (_a2 = this._weightedQueues[weight - 1]) === null || _a2 === void 0 ? void 0 : _a2.shift();
if (!queueEntry)

@@ -316,2 +317,15 @@ continue;

// src/index.ts
var _detail, _a;
if (IN_NODE && typeof CustomEvent === "undefined") {
globalThis.CustomEvent = (_a = class extends Event {
constructor(type, options) {
super(type, options);
__privateAdd(this, _detail, void 0);
__privateSet(this, _detail, options?.detail ?? null);
}
get detail() {
return __privateGet(this, _detail);
}
}, _detail = new WeakMap(), _a);
}
var _initStarted, _ready, _eventTarget, _closed, _awaitingResult, _resultError, _queryMutex, _fsSyncMutex, _init, init_fn, _syncToFs, syncToFs_fn;

@@ -430,3 +444,3 @@ var PGlite = class {

if (this.dataDir && this.fsType === "nodefs") {
const { NodeFS } = await import("./nodefs-P52BRSCH.js");
const { NodeFS } = await import("./nodefs-XF7PXNWE.js");
this.fs = new NodeFS(this.dataDir);

@@ -433,0 +447,0 @@ } else if (this.dataDir && this.fsType === "idbfs") {

2

package.json
{
"name": "@electric-sql/pglite",
"version": "0.0.1-alpha.1",
"version": "0.0.1-alpha.2",
"private": false,

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

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