@apify/consts
Advanced tools
Comparing version 2.12.1 to 2.12.2
@@ -43,2 +43,3 @@ "use strict"; | ||
ANONYMOUS_USERNAME: () => ANONYMOUS_USERNAME, | ||
APIFY_ID_REGEX: () => APIFY_ID_REGEX, | ||
APIFY_PROXY_VALUE_REGEX: () => APIFY_PROXY_VALUE_REGEX, | ||
@@ -125,2 +126,3 @@ BUILD_TAG_LATEST: () => BUILD_TAG_LATEST, | ||
var CONTACT_LINK_REGEX = /^(mailto|tel|sms):.*$/i; | ||
var APIFY_ID_REGEX = /[a-zA-Z0-9]{17}/; | ||
@@ -641,2 +643,3 @@ // src/consts.ts | ||
ANONYMOUS_USERNAME, | ||
APIFY_ID_REGEX, | ||
APIFY_PROXY_VALUE_REGEX, | ||
@@ -643,0 +646,0 @@ BUILD_TAG_LATEST, |
{ | ||
"name": "@apify/consts", | ||
"version": "2.12.1", | ||
"version": "2.12.2", | ||
"description": "Tools and constants shared across Apify projects.", | ||
@@ -45,3 +45,3 @@ "main": "./index.js", | ||
}, | ||
"gitHead": "24ef1fc525c70c8e5029a13577cfb24128fbed3e" | ||
"gitHead": "f52445a107fcaf89541d0430c2e3d9ee54cf0e63" | ||
} |
@@ -54,1 +54,7 @@ /** | ||
export declare const CONTACT_LINK_REGEX: RegExp; | ||
/** | ||
* Regular expression to match valid ID - 17 alphanumeric chars including chars restricted by SimpleSchema.RegEx.Id (1,l,0,O), | ||
* because we have user objects with that in database. | ||
* @type {RegExp} | ||
*/ | ||
export declare const APIFY_ID_REGEX: RegExp; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
146425
1779