Socket
Socket
Sign inDemoInstall

@apify/consts

Package Overview
Dependencies
Maintainers
9
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apify/consts - npm Package Compare versions

Comparing version 2.12.0 to 2.12.1

87

consts.d.ts
export declare const FREE_SUBSCRIPTION_PLAN_CODE = "DEV";
export declare const ACT_JOB_TYPES: {
export declare const ACTOR_JOB_TYPES: {
readonly BUILD: "BUILD";
readonly RUN: "RUN";
};
export declare const ACT_SOURCE_TYPES: {
export declare const ACTOR_SOURCE_TYPES: {
readonly SOURCE_CODE: "SOURCE_CODE";

@@ -23,3 +23,3 @@ readonly SOURCE_FILES: "SOURCE_FILES";

*/
export declare const ACT_JOB_STATUSES: {
export declare const ACTOR_JOB_STATUSES: {
readonly READY: "READY";

@@ -45,3 +45,3 @@ readonly RUNNING: "RUNNING";

*/
export declare const ACT_JOB_TERMINAL_STATUSES: ("SUCCEEDED" | "FAILED" | "TIMED-OUT" | "ABORTED")[];
export declare const ACTOR_JOB_TERMINAL_STATUSES: ("SUCCEEDED" | "FAILED" | "TIMED-OUT" | "ABORTED")[];
export declare const WORKER_SERVICE_TYPES: {

@@ -96,3 +96,5 @@ readonly CRAWLING: "crawling";

readonly ACTOR_RUN_ID: "com.apify.actRunId";
/** @deprecated Use ACTOR_BUILD_ID instead! */
readonly ACT_BUILD_ID: "com.apify.actBuildId";
/** @deprecated Use ACTOR_RUN_ID instead! */
readonly ACT_RUN_ID: "com.apify.actRunId";

@@ -103,3 +105,3 @@ };

*/
export declare const ACT_TYPES: {
export declare const ACTOR_TYPES: {
readonly ACT: "acts";

@@ -148,6 +150,3 @@ readonly CRAWLER: "crawlers";

};
/**
* Kept for backwards compatibility, will be removed soon.
* TODO: Remove this once it's no longer used anywhere.
*/
/** @deprecated Use ACTOR_RESTART_ON_ERROR instead */
export declare const ACT_RESTART_ON_ERROR: {

@@ -157,2 +156,33 @@ MAX_RESTARTS: number;

};
/** @deprecated Use ACTOR_JOB_TYPES instead */
export declare const ACT_JOB_TYPES: {
readonly BUILD: "BUILD";
readonly RUN: "RUN";
};
/** @deprecated Use ACTOR_SOURCE_TYPES instead */
export declare const ACT_SOURCE_TYPES: {
readonly SOURCE_CODE: "SOURCE_CODE";
readonly SOURCE_FILES: "SOURCE_FILES";
readonly GIT_REPO: "GIT_REPO";
readonly TARBALL: "TARBALL";
readonly GITHUB_GIST: "GITHUB_GIST";
};
/** @deprecated Use ACTOR_JOB_STATUSES instead */
export declare const ACT_JOB_STATUSES: {
readonly READY: "READY";
readonly RUNNING: "RUNNING";
readonly SUCCEEDED: "SUCCEEDED";
readonly FAILED: "FAILED";
readonly TIMING_OUT: "TIMING-OUT";
readonly TIMED_OUT: "TIMED-OUT";
readonly ABORTING: "ABORTING";
readonly ABORTED: "ABORTED";
};
/** @deprecated Use ACTOR_JOB_TERMINAL_STATUSES instead */
export declare const ACT_JOB_TERMINAL_STATUSES: ("SUCCEEDED" | "FAILED" | "TIMED-OUT" | "ABORTED")[];
/** @deprecated Use ACTOR_TYPES instead */
export declare const ACT_TYPES: {
readonly ACT: "acts";
readonly CRAWLER: "crawlers";
};
/**

@@ -308,36 +338,4 @@ * 1 compute unit = 1GB * 1Hour.

};
/**
* TODO: This will be used during the category migration and can be removed after that.
*/
export declare const LEGACY_ACTOR_CATEGORIES: {
readonly TRAVEL: "Travel";
readonly ECOMMERCE: "E-commerce";
readonly ENTERTAINMENT: "Entertainment";
readonly SOCIAL: "Social";
readonly MARKETING: "Marketing";
readonly NEWS: "News";
readonly FINANCE: "Finance";
readonly LIFESTYLE: "Lifestyle";
readonly SEARCH_ENGINES: "Search engines";
readonly DATA: "Data processing";
readonly EGOVERNMENT: "E-government";
readonly TOOLS: "Tools";
readonly EXAMPLES: "Examples";
readonly OTHER: "Other";
};
/** @deprecated Use ACTOR_CATEGORIES instead! */
export declare const ALL_ACTOR_CATEGORIES: {
readonly TRAVEL: "Travel";
readonly ECOMMERCE: "E-commerce";
readonly ENTERTAINMENT: "Entertainment";
readonly SOCIAL: "Social";
readonly MARKETING: "Marketing";
readonly NEWS: "News";
readonly FINANCE: "Finance";
readonly LIFESTYLE: "Lifestyle";
readonly SEARCH_ENGINES: "Search engines";
readonly DATA: "Data processing";
readonly EGOVERNMENT: "E-government";
readonly TOOLS: "Tools";
readonly EXAMPLES: "Examples";
readonly OTHER: "Other";
readonly AI: "AI";

@@ -349,6 +347,10 @@ readonly AUTOMATION: "Automation";

readonly DEVELOPER_TOOLS: "Developer tools";
readonly ECOMMERCE: "E-commerce";
readonly GAMES: "Games";
readonly JOBS: "Jobs";
readonly MARKETING: "Marketing";
readonly NEWS: "News";
readonly SEO_TOOLS: "SEO tools";
readonly SOCIAL_MEDIA: "Social media";
readonly TRAVEL: "Travel";
readonly VIDEOS: "Videos";

@@ -358,2 +360,3 @@ readonly REAL_ESTATE: "Real estate";

readonly EDUCATION: "Education";
readonly OTHER: "Other";
};

@@ -360,0 +363,0 @@ /**

@@ -27,5 +27,10 @@ "use strict";

ACTOR_EVENT_NAMES: () => ACTOR_EVENT_NAMES,
ACTOR_JOB_STATUSES: () => ACTOR_JOB_STATUSES,
ACTOR_JOB_TERMINAL_STATUSES: () => ACTOR_JOB_TERMINAL_STATUSES,
ACTOR_JOB_TYPES: () => ACTOR_JOB_TYPES,
ACTOR_LIMITS: () => ACTOR_LIMITS,
ACTOR_NAME: () => ACTOR_NAME,
ACTOR_RESTART_ON_ERROR: () => ACTOR_RESTART_ON_ERROR,
ACTOR_SOURCE_TYPES: () => ACTOR_SOURCE_TYPES,
ACTOR_TYPES: () => ACTOR_TYPES,
ACT_JOB_STATUSES: () => ACT_JOB_STATUSES,

@@ -64,3 +69,2 @@ ACT_JOB_TERMINAL_STATUSES: () => ACT_JOB_TERMINAL_STATUSES,

KEY_VALUE_STORE_KEY_REGEX: () => KEY_VALUE_STORE_KEY_REGEX,
LEGACY_ACTOR_CATEGORIES: () => LEGACY_ACTOR_CATEGORIES,
LOCAL_ENV_VARS: () => LOCAL_ENV_VARS,

@@ -125,7 +129,7 @@ LOCAL_STORAGE_SUBDIRS: () => LOCAL_STORAGE_SUBDIRS,

var FREE_SUBSCRIPTION_PLAN_CODE = "DEV";
var ACT_JOB_TYPES = {
var ACTOR_JOB_TYPES = {
BUILD: "BUILD",
RUN: "RUN"
};
var ACT_SOURCE_TYPES = {
var ACTOR_SOURCE_TYPES = {
SOURCE_CODE: "SOURCE_CODE",

@@ -144,3 +148,3 @@ SOURCE_FILES: "SOURCE_FILES",

};
var ACT_JOB_STATUSES = {
var ACTOR_JOB_STATUSES = {
READY: "READY",

@@ -171,7 +175,7 @@ // started but not allocated to any worker yet

};
var ACT_JOB_TERMINAL_STATUSES = [
ACT_JOB_STATUSES.SUCCEEDED,
ACT_JOB_STATUSES.FAILED,
ACT_JOB_STATUSES.TIMED_OUT,
ACT_JOB_STATUSES.ABORTED
var ACTOR_JOB_TERMINAL_STATUSES = [
ACTOR_JOB_STATUSES.SUCCEEDED,
ACTOR_JOB_STATUSES.FAILED,
ACTOR_JOB_STATUSES.TIMED_OUT,
ACTOR_JOB_STATUSES.ABORTED
];

@@ -327,7 +331,9 @@ var WORKER_SERVICE_TYPES = {

ACTOR_RUN_ID: "com.apify.actRunId",
// Kept for backwards compatibility, will be removed soon
// Kept for backwards compatibility, will be removed soon (TODO: remove old usages!)
/** @deprecated Use ACTOR_BUILD_ID instead! */
ACT_BUILD_ID: "com.apify.actBuildId",
/** @deprecated Use ACTOR_RUN_ID instead! */
ACT_RUN_ID: "com.apify.actRunId"
};
var ACT_TYPES = {
var ACTOR_TYPES = {
ACT: "acts",

@@ -360,2 +366,7 @@ CRAWLER: "crawlers"

var ACT_RESTART_ON_ERROR = ACTOR_RESTART_ON_ERROR;
var ACT_JOB_TYPES = ACTOR_JOB_TYPES;
var ACT_SOURCE_TYPES = ACTOR_SOURCE_TYPES;
var ACT_JOB_STATUSES = ACTOR_JOB_STATUSES;
var ACT_JOB_TERMINAL_STATUSES = ACTOR_JOB_TERMINAL_STATUSES;
var ACT_TYPES = ACTOR_TYPES;
var COMPUTE_UNIT_MB = 1024;

@@ -495,21 +506,5 @@ var COMPUTE_UNIT_MILLIS = 60 * 60 * 1e3;

};
var LEGACY_ACTOR_CATEGORIES = {
TRAVEL: "Travel",
ECOMMERCE: "E-commerce",
ENTERTAINMENT: "Entertainment",
SOCIAL: "Social",
MARKETING: "Marketing",
NEWS: "News",
FINANCE: "Finance",
LIFESTYLE: "Lifestyle",
SEARCH_ENGINES: "Search engines",
DATA: "Data processing",
EGOVERNMENT: "E-government",
TOOLS: "Tools",
EXAMPLES: "Examples",
OTHER: "Other"
};
var ALL_ACTOR_CATEGORIES = {
...ACTOR_CATEGORIES,
...LEGACY_ACTOR_CATEGORIES
...ACTOR_CATEGORIES
// ...LEGACY_ACTOR_CATEGORIES,
};

@@ -636,5 +631,10 @@ var VERSION_INT_MAJOR_BASE = 1e7;

ACTOR_EVENT_NAMES,
ACTOR_JOB_STATUSES,
ACTOR_JOB_TERMINAL_STATUSES,
ACTOR_JOB_TYPES,
ACTOR_LIMITS,
ACTOR_NAME,
ACTOR_RESTART_ON_ERROR,
ACTOR_SOURCE_TYPES,
ACTOR_TYPES,
ACT_JOB_STATUSES,

@@ -673,3 +673,2 @@ ACT_JOB_TERMINAL_STATUSES,

KEY_VALUE_STORE_KEY_REGEX,
LEGACY_ACTOR_CATEGORIES,
LOCAL_ENV_VARS,

@@ -676,0 +675,0 @@ LOCAL_STORAGE_SUBDIRS,

{
"name": "@apify/consts",
"version": "2.12.0",
"version": "2.12.1",
"description": "Tools and constants shared across Apify projects.",

@@ -45,3 +45,3 @@ "main": "./index.js",

},
"gitHead": "628f113c33df5d2e036540d8f1c8fd8d6f7f8f60"
"gitHead": "24ef1fc525c70c8e5029a13577cfb24128fbed3e"
}

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

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