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

@dt-esa/platform-constants

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dt-esa/platform-constants - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

10

dist/index.js

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

*/
exports.dynatraceUrlRegex = /^(https?:\/\/)?([a-z]{3}[0-9]{5}\.(sprint|live|dev)\.(dynatrace|dynatracelabs)\.com|.+?\/e\/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|(127\.0\.0\.1|localhost|\[::1\]|.+?):9999\/e\/([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-z]{3}\d{5}))\/?$/;
exports.dynatraceUrlRegex = /^(?<protocol>https?:\/\/)?(?<tenantId>[a-z]{3}[0-9]{5}\.(?<saasStage>sprint|live|dev)\.(?<saasDomain>dynatrace|dynatracelabs)\.com|.+?\/e\/(?<tenantId>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})|(127\.0\.0\.1|localhost|\[::1\]|.+?):9999\/e\/(?<tenantId>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-z]{3}\d{5}))\/?$/;
/**

@@ -22,3 +22,3 @@ * Assert if a string is a Dynatrace SaaS url.

*/
exports.dynatraceSaaSUrlRegex = /^(https?:\/\/)([a-z]{3}[0-9]{5})\.(sprint|live|dev)\.(dynatrace|dynatracelabs)\.com\/?$/;
exports.dynatraceSaaSUrlRegex = /^(?<protocol>https?:\/\/)(?<tenantId>[[a-z]{3}[0-9]{5})\.(?<saasStage>sprint|live|dev)\.(?<saasDomain>dynatrace|dynatracelabs)\.com\/?$/;
/**

@@ -35,3 +35,3 @@ * Assert if a string is a Dynatrace SaaS host.

*/
exports.dynatraceSaaSHostRegex = /^([a-z]{3}[0-9]{5})\.(sprint|live|dev)\.(dynatrace|dynatracelabs)\.com\/?$/;
exports.dynatraceSaaSHostRegex = /^(?<tenantId>[a-z]{3}[0-9]{5})\.(?<saasStage>sprint|live|dev)\.(?<saasDomain>dynatrace|dynatracelabs)\.com\/?$/;
/**

@@ -47,3 +47,3 @@ * Assert if a string is either a V1 or V2 API token format.

*/
exports.dynatraceTokenRegex = /^[A-Za-z0-9-_]{21}$|^(dt\d\w\d{2})\.([A-Z\d]{24})\.([A-Z\d]{64})$/;
exports.dynatraceTokenRegex = /^(?<v1Token>[A-Za-z0-9-_]{21})$|^(?<v2Prefix>dt\d\w\d{2})\.(?<v2Public>[A-Z\d]{24})\.(?<v2Private>[A-Z\d]{64})$/;
/**

@@ -68,2 +68,2 @@ * Assert if a string matches the Dynatrace V1 Token format.

*/
exports.dynatraceV2TokenFormatRegex = /^(dt\d\w\d{2})\.([A-Z\d]{24})\.([A-Z\d]{64})$/;
exports.dynatraceV2TokenFormatRegex = /^(?<v2Prefix>dt\d\w\d{2})\.(?<v2Public>[A-Z\d]{24})\.(?<v2Private>[A-Z\d]{64})$/;
{
"name": "@dt-esa/platform-constants",
"version": "1.1.1",
"version": "1.2.0",
"description": "A set of regular expressions and enums for interfacing with Dynatrace.",

@@ -5,0 +5,0 @@ "main": "./dist/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