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

memserver

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memserver - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

dist/server.js

@@ -24,7 +24,9 @@ "use strict";

window.MemserverModel = Model;
window.MemServer = this;
if (initializerReturn instanceof Promise) {
initializerReturn.then(() => {
if (options.globalizeModels) {
window.MemServer.Models = {};
Object.keys(Model._modelDefinitions).forEach((modelName) => {
window[modelName] = Model._modelDefinitions[modelName];
window.MemServer.Models[modelName] = Model._modelDefinitions[modelName];
});

@@ -36,4 +38,5 @@ }

if (options.globalizeModels) {
window.MemServer.Models = {};
Object.keys(Model._modelDefinitions).forEach((modelName) => {
window[modelName] = Model._modelDefinitions[modelName];
window.MemServer.Models[modelName] = Model._modelDefinitions[modelName];
});

@@ -40,0 +43,0 @@ }

{
"name": "memserver",
"version": "2.0.0",
"version": "2.0.1",
"description": "in-memory database/ORM and http mock server you can run in-browser and node environments. Built for large frontend teams, fast tests and rapid prototyping",

@@ -5,0 +5,0 @@ "author": "Izel Nakri",

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

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