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

joi-strict

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joi-strict - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

2

lib/index.js
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(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
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) { _defineProperty(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; }

@@ -5,0 +5,0 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

{
"name": "joi-strict",
"version": "1.1.8",
"version": "1.1.9",
"description": "Thin wrapper around joi that defaults to stricter validation.",

@@ -40,12 +40,12 @@ "main": "lib/index.js",

"devDependencies": {
"@babel/cli": "7.7.0",
"@babel/core": "7.7.2",
"@babel/plugin-proposal-object-rest-spread": "7.6.2",
"@babel/register": "7.7.0",
"@blackflux/eslint-plugin-rules": "1.3.15",
"@blackflux/robo-config-plugin": "2.6.17",
"@babel/cli": "7.7.4",
"@babel/core": "7.7.4",
"@babel/plugin-proposal-object-rest-spread": "7.7.4",
"@babel/register": "7.7.4",
"@blackflux/eslint-plugin-rules": "1.3.16",
"@blackflux/robo-config-plugin": "3.0.1",
"babel-eslint": "10.0.3",
"chai": "4.2.0",
"coveralls": "3.0.7",
"eslint": "6.6.0",
"coveralls": "3.0.9",
"eslint": "6.7.1",
"eslint-config-airbnb-base": "14.0.0",

@@ -55,4 +55,4 @@ "eslint-plugin-import": "2.18.2",

"eslint-plugin-markdown": "1.0.1",
"eslint-plugin-mocha": "6.2.1",
"js-gardener": "2.0.114",
"eslint-plugin-mocha": "6.2.2",
"js-gardener": "2.0.115",
"nyc": "14.1.1",

@@ -104,4 +104,4 @@ "semantic-release": "15.13.31"

"dependencies": {
"@hapi/joi": "16.1.7"
"@hapi/joi": "16.1.8"
}
}
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