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

remult

Package Overview
Dependencies
Maintainers
0
Versions
616
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remult - npm Package Compare versions

Comparing version 0.27.19-next.0 to 0.27.19

1

esm/server/initAsyncHooks.js

@@ -90,2 +90,3 @@ import { AsyncLocalStorage } from 'async_hooks';

export class StubRemultAsyncLocalStorageCore {
isStub = true;
wasImplemented = 'yes';

@@ -92,0 +93,0 @@ async run(store, callback) {

3

esm/src/context.js

@@ -42,3 +42,4 @@ import { buildFullUrl, RestDataProvider, } from './data-providers/rest-data-provider.js';

return;
store.inInitRequest = val;
if (val || this.remultObjectStorage?.isStub)
store.inInitRequest = val;
}

@@ -45,0 +46,0 @@ getStore() {

{
"name": "remult",
"version": "0.27.19-next.0",
"version": "0.27.19",
"description": "A CRUD framework for full-stack TypeScript",

@@ -5,0 +5,0 @@ "homepage": "https://remult.dev",

@@ -17,2 +17,3 @@ import { type RemultAsyncLocalStorageCore } from '../src/context.js';

export declare class StubRemultAsyncLocalStorageCore<T> implements RemultAsyncLocalStorageCore<T> {
isStub: boolean;
wasImplemented: "yes";

@@ -19,0 +20,0 @@ run<R>(store: T, callback: () => Promise<R>): Promise<R>;

@@ -143,2 +143,3 @@ "use strict";

function StubRemultAsyncLocalStorageCore() {
this.isStub = true;
this.wasImplemented = 'yes';

@@ -145,0 +146,0 @@ this.lastPromise = Promise.resolve(undefined);

@@ -27,2 +27,3 @@ import type { ClassType } from '../classType.js';

wasImplemented: 'yes';
isStub?: boolean;
};

@@ -29,0 +30,0 @@ export declare function isBackend(): boolean;

@@ -52,7 +52,8 @@ "use strict";

RemultAsyncLocalStorage.prototype.setInInitRequest = function (val) {
var _a;
var _a, _b;
var store = (_a = this.remultObjectStorage) === null || _a === void 0 ? void 0 : _a.getStore();
if (!store)
return;
store.inInitRequest = val;
if (val || ((_b = this.remultObjectStorage) === null || _b === void 0 ? void 0 : _b.isStub))
store.inInitRequest = val;
};

@@ -59,0 +60,0 @@ RemultAsyncLocalStorage.prototype.getStore = function () {

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