@webiny/handler-http
Advanced tools
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 => { |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11918
153
8
2
+ Added@webiny/handler@5.21.0-beta.0(transitive)
+ Added@webiny/plugins@5.21.0-beta.0(transitive)
- Removed@webiny/handler@5.20.0(transitive)
- Removed@webiny/plugins@5.20.0(transitive)