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

@ekino/rendr-core

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ekino/rendr-core - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

12

dist/lib/index.js

@@ -108,3 +108,5 @@ "use strict";

function createContext(req, res) {
var url = url_parse_1.default(req.url, true);
var isServerSide = res ? true : false;
var asPath = req.url;
var url = url_parse_1.default(asPath, true);
var ctx = {

@@ -114,5 +116,7 @@ pathname: url.pathname,

params: {},
asPath: req.url,
req: req,
res: res
asPath: asPath,
isServerSide: isServerSide,
isClientSide: !isServerSide,
req: isServerSide ? req : null,
res: isServerSide ? res : null
};

@@ -119,0 +123,0 @@ return ctx;

{
"name": "@ekino/rendr-core",
"license": "MIT",
"version": "0.0.4",
"version": "0.0.5",
"main": "dist/lib/index.js",

@@ -25,3 +25,3 @@ "typing": "dist/lib/index.d.ts",

},
"gitHead": "e47969dc3d679d3c010ff0c96f992046bbb59580"
"gitHead": "e0cc2f1ec7ac893f0c887530133a801be4cc225f"
}
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