@marblejs/core
Advanced tools
Comparing version 2.3.0-dev.11 to 2.3.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const url = require("url"); | ||
const rxjs_1 = require("rxjs"); | ||
@@ -14,3 +15,4 @@ const http_interface_1 = require("../http.interface"); | ||
const status = effect.status || http_interface_1.HttpStatus.OK; | ||
const headersFactoryWithData = responseHeaders_factory_1.headersFactory({ body: effect.body, path: req.url, status }); | ||
const path = url.parse(req.url).pathname || ''; | ||
const headersFactoryWithData = responseHeaders_factory_1.headersFactory({ body: effect.body, path, status }); | ||
const headers = headersFactoryWithData(effect.headers); | ||
@@ -17,0 +19,0 @@ const bodyFactoryWithHeaders = responseBody_factory_1.bodyFactory(headers); |
{ | ||
"name": "@marblejs/core", | ||
"version": "2.3.0-dev.11+580bb58", | ||
"version": "2.3.0", | ||
"description": "Reactive Node APIs made easy", | ||
@@ -55,3 +55,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "580bb58b8889569398ef0f1973a70e9267847c45" | ||
"gitHead": "8f654b57c6df7f8ac30918bbf61c207c0457355f" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
96209
1904
0
3