New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kofile/config-factory

Package Overview
Dependencies
Maintainers
35
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kofile/config-factory - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

index.js
const EventEmitter = require('events')
const { inspect } = require('util')
const joi = require('joi')
const clone = require('clone')

@@ -52,3 +53,3 @@ const INVALID = 'invalid'

if (!this._performedGlobalValidation && schema) {
if (!this._performedGlobalValidation && schema && schema.isJoi) {
try {

@@ -61,3 +62,3 @@ joi.assert(datum, schema)

return datum
return clone(datum)
}

@@ -64,0 +65,0 @@

2

package.json

@@ -1,1 +0,1 @@

{"name":"@kofile/config-factory","version":"1.0.0","description":"Config client with optional validation","author":"Evan Sherwood <evan@sherwood.io>","license":"MIT","main":"index.js","files":["index.js"],"devDependencies":{"ava":"^0.22.0","commitizen":"^2.9.6","coveralls":"^2.13.1","cz-cli":"^1.0.0","cz-conventional-changelog":"^2.0.0","husky":"^0.13.4","lint-staged":"^3.6.0","nyc":"^11.1.0","prettier-standard":"^6.0.0","semantic-release":"^8.2.0","sinon":"^4.0.1","snazzy":"^7.0.0","standard":"^10.0.3"},"lint-staged":{"*.js":["prettier-standard","git add"]},"scripts":{"precommit":"lint-staged","commit":"git-cz","lint":"standard | snazzy","test":"nyc ava","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"nyc":{"include":["index.js"]},"repository":{"type":"git","url":"https://github.com/kofile/config-factory.git"},"dependencies":{"joi":"^13.0.0"}}
{"name":"@kofile/config-factory","version":"1.0.1","description":"Config client with optional validation","author":"Evan Sherwood <evan@sherwood.io>","license":"MIT","main":"index.js","files":["index.js"],"devDependencies":{"ava":"^0.22.0","commitizen":"^2.9.6","coveralls":"^2.13.1","cz-cli":"^1.0.0","cz-conventional-changelog":"^2.0.0","husky":"^0.13.4","lint-staged":"^3.6.0","nyc":"^11.1.0","prettier-standard":"^6.0.0","semantic-release":"^8.2.0","sinon":"^4.0.1","snazzy":"^7.0.0","standard":"^10.0.3"},"lint-staged":{"*.js":["prettier-standard","git add"]},"scripts":{"precommit":"lint-staged","commit":"git-cz","lint":"standard | snazzy","test":"nyc ava","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"nyc":{"include":["index.js"]},"repository":{"type":"git","url":"https://github.com/kofile/config-factory.git"},"dependencies":{"clone":"^2.1.1","joi":"^13.0.0"}}
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