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

node-sec-patterns

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sec-patterns - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

8

index.js

@@ -47,3 +47,3 @@ 'use strict'

*/
const configRoot = module.parent && module.parent &&
let configRoot = module.parent && module.parent &&
module.parent.filename

@@ -68,3 +68,3 @@ ? dirname(module.parent.filename)

*/
function authorize (options) {
function authorize (options, root) {
if (whitelist) {

@@ -74,2 +74,6 @@ throw new Error('Cannot re-initialize mintable')

if (root) {
configRoot = root
}
const {

@@ -76,0 +80,0 @@ mintable: {

{
"name": "node-sec-patterns",
"description": "Allow projects control over which dependencies can create objects that encapsulate security guarantees.",
"version": "2.0.6",
"version": "2.0.7",
"keywords": [

@@ -58,2 +58,8 @@ "design-patterns",

"rules": {
"complexity": [
"error",
{
"max": 11
}
],
"strict": "off",

@@ -60,0 +66,0 @@ "no-void": "off"

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