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

ciam-commons

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ciam-commons - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

22

dist/main.d.ts

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

/// <reference types="screeps" />
export declare namespace Check {

@@ -36,2 +37,23 @@ const objectIdRegex: RegExp;

}
interface CheckRequest {
type: 'user' | 'role' | 'discordUser';
id: string;
required: Array<string>;
/**
* Any additional permissions to give the subject while checking.
* For example: If we specify ['*'] as additional permissions then all checks will always pass,
* even if the subject does not have the required permissions. Because when they are checked,
* the '*' flag is temporarily added to the subjects permissions.
*/
additional: Array<string>;
includeMissing: boolean;
}
interface CheckResult {
passed: boolean;
/**
* If the user did not have any missing permissions, and the 'includeMissing' field was set to true in
* the request then this field will have all the permissions the subject was missing, otherwise undefined/null
*/
missing: Array<Flag> | undefined;
}
}

2

package.json
{
"name": "ciam-commons",
"version": "1.1.0",
"version": "1.1.1",
"description": "Common types and functions for CIAM",

@@ -5,0 +5,0 @@ "scripts": {

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