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

@contrail/util

Package Overview
Dependencies
Maintainers
9
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/util - npm Package Compare versions

Comparing version 1.0.37 to 1.0.38

3

lib/app-util/app-util.d.ts
export interface ActionDefinitionIdentifierParts {
appIdentifier: string;
versionId: string;
actionIdentifier: string;
actionNameIdentifier: string;
}

@@ -14,2 +14,3 @@ export declare const IDENTIFIER_VALIDATION_NO_IDENTIFIER = "Action definition has no identifier. An identifier is required.";

static parseActionIdentifier(actionIdentifier: string): ActionDefinitionIdentifierParts;
static createActionIdentifier(actionDefinitionParts: ActionDefinitionIdentifierParts): string;
}

@@ -34,7 +34,10 @@ "use strict";

versionId: identifierParts[2],
actionIdentifier: identifierParts[3]
actionNameIdentifier: identifierParts[3]
};
}
}
static createActionIdentifier(actionDefinitionParts) {
return `${actionDefinitionParts.appIdentifier}@${actionDefinitionParts.versionId}:${actionDefinitionParts.actionNameIdentifier}`;
}
}
exports.AppUtil = AppUtil;
{
"name": "@contrail/util",
"version": "1.0.37",
"version": "1.0.38",
"description": "General javascript utilities",

@@ -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