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

connect-mikro-orm

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-mikro-orm - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/utils/parse-json.d.ts

5

dist/app/MikroOrmStore/MikroOrmStore.js

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

const express_session_1 = require("express-session");
const parse_json_1 = require("../../utils/parse-json");
/**

@@ -39,3 +40,3 @@ * One day in seconds.

this.debug('GOT %s', session.json);
const result = JSON.parse(session.json);
const result = (0, parse_json_1.parseJson)(session.json);
fn(undefined, result);

@@ -144,3 +145,3 @@ })

result = sessions.map((session) => {
const sess = JSON.parse(session.json);
const sess = (0, parse_json_1.parseJson)(session.json);
sess.id = session.id;

@@ -147,0 +148,0 @@ return sess;

2

dist/domain/Session/ISession.d.ts
export interface ISession {
id: string;
json: string;
json: string | Record<string, unknown>;
expiredAt: number;
}
{
"name": "connect-mikro-orm",
"description": "A MikroORM-based session store",
"version": "1.0.0",
"version": "1.0.1",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "typings": "dist",

@@ -5,4 +5,10 @@ <div align="center">

[![CodeFactor](https://www.codefactor.io/repository/github/DiogoAbu/connect-mikro-orm/badge)](https://www.codefactor.io/repository/github/DiogoAbu/connect-mikro-orm)
[![GitHub Repo stars](https://img.shields.io/github/stars/DiogoAbu/connect-mikro-orm)](https://github.com/DiogoAbu/connect-mikro-orm/stargazers)
<p align="center">
<a href="https://www.npmjs.com/package/connect-mikro-orm">
<img alt="npm" src="https://img.shields.io/npm/v/connect-mikro-orm?style=flat-square">
</a>
<a href="https://github.com/DiogoAbu/connect-mikro-orm">
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/DiogoAbu/connect-mikro-orm?style=flat-square">
</a>
</p>

@@ -9,0 +15,0 @@ </div>

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