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.3 to 0.0.4

17

dist/lib/index.js

@@ -5,4 +5,8 @@ "use strict";

}
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var types_1 = require("./types");
var url_parse_1 = __importDefault(require("url-parse"));
__export(require("./types"));

@@ -104,2 +108,15 @@ function isObject(data) {

exports.createPage = createPage;
function createContext(req, res) {
var url = url_parse_1.default(req.url, true);
var ctx = {
pathname: url.pathname,
query: url.query,
params: {},
asPath: req.url,
req: req,
res: res
};
return ctx;
}
exports.createContext = createContext;
//# sourceMappingURL=index.js.map

8

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

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

},
"gitHead": "73ca8c1550eed4eb59c0ed6b6e32624d3831000f"
"dependencies": {
"@types/url-parse": "^1.4.3",
"url-parse": "^1.4.7"
},
"gitHead": "e47969dc3d679d3c010ff0c96f992046bbb59580"
}
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