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

@contrail/policies

Package Overview
Dependencies
Maintainers
8
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/policies - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

lib/policies/policies.js

@@ -33,3 +33,3 @@ "use strict";

for (const principalReference of principalReferences) {
if (statement.principal === principalReference) {
if (statement.principal === principalReference || statement.principal === '*') {
if (statement.action.includes(operation)) {

@@ -36,0 +36,0 @@ if (statement.effect === Effect.allow) {

{
"name": "@contrail/policies",
"version": "2.0.2",
"version": "2.0.3",
"description": "Library for managing and enforing policies",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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