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

@webiny/handler-http

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webiny/handler-http - npm Package Compare versions

Comparing version 5.20.0 to 5.21.0-beta.0

14

index.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {

@@ -8,5 +10,13 @@ value: true

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _boolean = require("boolean");
const DEFAULT_HEADERS = {
var _utils = require("@webiny/utils");
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
const DEFAULT_HEADERS = _objectSpread({
"Cache-Control": "no-store",

@@ -17,3 +27,3 @@ "Content-Type": "application/json",

"Access-Control-Allow-Methods": "OPTIONS,POST"
};
}, (0, _utils.getWebinyVersionHeaders)());

@@ -20,0 +30,0 @@ const lowercaseKeys = obj => {

11

package.json
{
"name": "@webiny/handler-http",
"version": "5.20.0",
"version": "5.21.0-beta.0",
"main": "index.js",

@@ -18,3 +18,3 @@ "repository": {

"@babel/runtime": "7.16.3",
"@webiny/handler": "5.20.0",
"@webiny/handler": "5.21.0-beta.0",
"boolean": "3.1.4"

@@ -25,4 +25,5 @@ },

"@babel/core": "^7.5.5",
"@webiny/cli": "^5.20.0",
"@webiny/project-utils": "^5.20.0",
"@webiny/cli": "^5.21.0-beta.0",
"@webiny/project-utils": "^5.21.0-beta.0",
"@webiny/utils": "^5.21.0-beta.0",
"merge": "^1.2.1",

@@ -40,3 +41,3 @@ "rimraf": "^3.0.2",

},
"gitHead": "816632961750d4ae7f3af0d32d4e8a46c3f287a6"
"gitHead": "cad155812edbdd577a1cc858b41038fdd7a6d2d9"
}
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