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

@zemke/http-mock

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zemke/http-mock - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

3

index.js

@@ -19,2 +19,5 @@ const http = require('http');

res.setHeader('Access-Control-Allow-Origin', '*');
res.setHeader("Access-Control-Allow-Credentials", "true");
res.setHeader("Access-Control-Allow-Methods", "GET,HEAD,OPTIONS,POST,PUT");
res.setHeader("Access-Control-Allow-Headers", "*");

@@ -21,0 +24,0 @@ const matchingMocks = mocks.filter(m => urlMatchesPattern(req.url, m[0]));

2

package.json
{
"name": "@zemke/http-mock",
"version": "2.0.3",
"version": "2.0.4",
"description": "Serve JSON mocks conveniently.",

@@ -5,0 +5,0 @@ "main": "index.js",

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