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

n8n-workflow

Package Overview
Dependencies
Maintainers
3
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-workflow - npm Package Compare versions

Comparing version 0.146.0 to 0.147.0

6

dist/AugmentObject.js

@@ -79,2 +79,8 @@ "use strict";

const value = Reflect.get(target, key, receiver);
if (typeof value !== 'object' || value === null)
return value;
if (value instanceof RegExp)
return value.toString();
if ('toJSON' in value && typeof value.toJSON === 'function')
return value.toJSON();
const newValue = augment(value);

@@ -81,0 +87,0 @@ if (newValue !== value) {

26

dist/Extensions/StringExtensions.js

@@ -46,5 +46,7 @@ "use strict";

const CURRENCY_REGEXP = /(\u004c\u0065\u006b|\u060b|\u0024|\u0192|\u20bc|\u0042\u0072|\u0042\u005a\u0024|\u0024\u0062|\u004b\u004d|\u0050|\u043b\u0432|\u0052\u0024|\u17db|\u00a5|\u20a1|\u006b\u006e|\u20b1|\u004b\u010d|\u006b\u0072|\u0052\u0044\u0024|\u00a3|\u20ac|\u00a2|\u0051|\u004c|\u0046\u0074|\u20b9|\u0052\u0070|\ufdfc|\u20aa|\u004a\u0024|\u20a9|\u20ad|\u0434\u0435\u043d|\u0052\u004d|\u20a8|\u20ae|\u004d\u0054|\u0043\u0024|\u20a6|\u0042\u002f\u002e|\u0047\u0073|\u0053\u002f\u002e|\u007a\u0142|\u006c\u0065\u0069|\u20bd|\u0414\u0438\u043d\u002e|\u0053|\u0052|\u0043\u0048\u0046|\u004e\u0054\u0024|\u0e3f|\u0054\u0054\u0024|\u20ba|\u20b4|\u0024\u0055|\u0042\u0073|\u20ab|\u005a\u0024)/gu;
const DOMAIN_REGEXP = /^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9](?:\.[a-zA-Z]{2,})+$/;
const DOMAIN_EXTRACT_REGEXP = /^(?:(?:https?|ftp):\/\/)?(?:mailto:)?(?:\/\/)?((?:www\.)?(?:(?:[-\w]+\.)+(?:[a-zA-Z]{2,}|xn--[a-zA-Z0-9]+)|localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))(?::\d+)?(?:\/[^\s?]*)?(?:\?[^\s#]*)?(?:#[^\s]*)?$/i;
const DOMAIN_REGEXP = /^(?:www\.)?((?:(?:[-\w]+\.)+(?:[a-zA-Z]{2,}|xn--[a-zA-Z0-9]+)|localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))(?::\d+)?(?:\/[^\s?]*)?(?:\?[^\s#]*)?(?:#[^\s]*)?$/i;
const EMAIL_REGEXP = /(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@(?<domain>(\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/;
const URL_REGEXP = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{2,}\b([-a-zA-Z0-9()\[\]@:%_\+.~#?&//=]*)/;
const URL_REGEXP_EXACT = /^(?:(?:https?|ftp):\/\/)(?:www\.)?((?:(?:[-\w]+\.)+(?:[a-zA-Z]{2,}|xn--[a-zA-Z0-9]+)|localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))(?::\d+)?(?:\/[^\s?#]*)?(?:\?[^\s#]*)?(?=([^\s]+#.*)?)#?[^\s]*$/i;
const URL_REGEXP = /(?:(?:https?|ftp):\/\/)(?:www\.)?((?:(?:[-\w]+\.)+(?:[a-zA-Z]{2,}|xn--[a-zA-Z0-9]+)|localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))(?::\d+)?(?:\/[^\s?#]*)?(?:\?[^\s#]*)?(?=([^\s]+#.*)?)#?[^\s]*/i;
const CHAR_TEST_REGEXP = /\p{L}/u;

@@ -160,16 +162,3 @@ const PUNC_TEST_REGEXP = /[!?.]/;

function isUrl(value) {
let url;
try {
url = new URL(value);
}
catch {
return false;
}
for (const scheme of ['http:', 'https:']) {
if (url.protocol === scheme &&
value.slice(scheme.length, scheme.length + '//'.length) === '//') {
return true;
}
}
return false;
return URL_REGEXP_EXACT.test(value);
}

@@ -234,4 +223,5 @@ function isDomain(value) {

}
else if (isUrl(value)) {
return new URL(value).hostname;
const domainMatch = value.match(DOMAIN_EXTRACT_REGEXP);
if (domainMatch) {
return domainMatch[1];
}

@@ -238,0 +228,0 @@ return undefined;

@@ -22,2 +22,3 @@ /// <reference types="node" />

import type { ExecutionStatus } from './ExecutionStatus';
import type { AuthenticationMethod } from './Authentication';
export interface IAdditionalCredentialOptions {

@@ -115,2 +116,3 @@ oauth2?: IOAuth2Options;

password: string;
sendImmediately?: boolean;
};

@@ -125,2 +127,3 @@ body: IDataObject;

password: string;
sendImmediately?: boolean;
};

@@ -307,2 +310,3 @@ body?: IDataObject;

password: string;
sendImmediately?: boolean;
};

@@ -597,3 +601,5 @@ disableFollowRedirect?: boolean;

export type CodeAutocompleteTypes = 'function' | 'functionItem';
export type EditorTypes = 'code' | 'codeNodeEditor' | 'htmlEditor' | 'json';
export type EditorType = 'code' | 'codeNodeEditor' | 'htmlEditor' | 'sqlEditor' | 'json';
export type CodeNodeEditorLanguage = 'javaScript' | 'json';
export type SQLDialect = 'mssql' | 'mysql' | 'postgres';
export interface ILoadOptions {

@@ -609,3 +615,5 @@ routing?: {

codeAutocomplete?: CodeAutocompleteTypes;
editor?: EditorTypes;
editor?: EditorType;
editorLanguage?: CodeNodeEditorLanguage;
sqlDialect?: SQLDialect;
loadOptionsDependsOn?: string[];

@@ -890,7 +898,2 @@ loadOptionsMethod?: string;

}
export interface INodeActionTypeDescription extends INodeTypeDescription {
displayOptions?: IDisplayOptions;
values?: IDataObject;
actionKey: string;
}
export interface INodeTypeDescription extends INodeTypeBaseDescription {

@@ -932,3 +935,2 @@ version: number | number[];

};
actions?: INodeActionTypeDescription[];
__loadOptionsMethods?: string[];

@@ -1285,3 +1287,3 @@ }

}
export declare enum OAuth2GrantType {
export declare const enum OAuth2GrantType {
authorizationCode = "authorizationCode",

@@ -1359,2 +1361,105 @@ clientCredentials = "clientCredentials"

}
export interface IVersionNotificationSettings {
enabled: boolean;
endpoint: string;
infoUrl: string;
}
export interface IUserManagementSettings {
enabled: boolean;
showSetupOnFirstLoad?: boolean;
smtpSetup: boolean;
authenticationMethod: AuthenticationMethod;
}
export interface IPublicApiSettings {
enabled: boolean;
latestVersion: number;
path: string;
swaggerUi: {
enabled: boolean;
};
}
export type ILogLevel = 'info' | 'debug' | 'warn' | 'error' | 'verbose' | 'silent';
export interface IN8nUISettings {
endpointWebhook: string;
endpointWebhookTest: string;
saveDataErrorExecution: WorkflowSettings.SaveDataExecution;
saveDataSuccessExecution: WorkflowSettings.SaveDataExecution;
saveManualExecutions: boolean;
executionTimeout: number;
maxExecutionTimeout: number;
workflowCallerPolicyDefaultOption: WorkflowSettings.CallerPolicy;
oauthCallbackUrls: {
oauth1: string;
oauth2: string;
};
timezone: string;
urlBaseWebhook: string;
urlBaseEditor: string;
versionCli: string;
n8nMetadata?: {
[key: string]: string | number | undefined;
};
versionNotifications: IVersionNotificationSettings;
instanceId: string;
telemetry: ITelemetrySettings;
posthog: {
enabled: boolean;
apiHost: string;
apiKey: string;
autocapture: boolean;
disableSessionRecording: boolean;
debug: boolean;
};
personalizationSurveyEnabled: boolean;
userActivationSurveyEnabled: boolean;
defaultLocale: string;
userManagement: IUserManagementSettings;
sso: {
saml: {
loginLabel: string;
loginEnabled: boolean;
};
ldap: {
loginLabel: string;
loginEnabled: boolean;
};
};
publicApi: IPublicApiSettings;
workflowTagsDisabled: boolean;
logLevel: ILogLevel;
hiringBannerEnabled: boolean;
templates: {
enabled: boolean;
host: string;
};
onboardingCallPromptEnabled: boolean;
missingPackages?: boolean;
executionMode: 'regular' | 'queue';
pushBackend: 'sse' | 'websocket';
communityNodesEnabled: boolean;
deployment: {
type: string | 'default' | 'n8n-internal' | 'cloud' | 'desktop_mac' | 'desktop_win';
};
isNpmAvailable: boolean;
allowedModules: {
builtIn?: string[];
external?: string[];
};
enterprise: {
sharing: boolean;
ldap: boolean;
saml: boolean;
logStreaming: boolean;
advancedExecutionFilters: boolean;
variables: boolean;
versionControl: boolean;
};
hideUsagePage: boolean;
license: {
environment: 'development' | 'production' | 'staging';
};
variables: {
limit: number;
};
}
export {};
import type { DateTime } from 'luxon';
import type { INodeCredentials } from './Interfaces';
export declare enum EventMessageTypeNames {
export declare const enum EventMessageTypeNames {
generic = "$$EventMessage",

@@ -10,3 +10,3 @@ audit = "$$EventMessageAudit",

}
export declare enum MessageEventBusDestinationTypeNames {
export declare const enum MessageEventBusDestinationTypeNames {
abstract = "$$AbstractMessageEventBusDestination",

@@ -13,0 +13,0 @@ webhook = "$$MessageEventBusDestinationWebhook",

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

exports.defaultMessageEventBusDestinationOptions = {
__type: MessageEventBusDestinationTypeNames.abstract,
__type: "$$AbstractMessageEventBusDestination",
id: '',

@@ -31,3 +31,3 @@ label: 'New Event Destination',

...exports.defaultMessageEventBusDestinationOptions,
__type: MessageEventBusDestinationTypeNames.syslog,
__type: "$$MessageEventBusDestinationSyslog",
label: 'Syslog Server',

@@ -44,3 +44,3 @@ expectedStatusCode: 200,

...exports.defaultMessageEventBusDestinationOptions,
__type: MessageEventBusDestinationTypeNames.webhook,
__type: "$$MessageEventBusDestinationWebhook",
credentials: {},

@@ -68,3 +68,3 @@ label: 'Webhook Endpoint',

...exports.defaultMessageEventBusDestinationOptions,
__type: MessageEventBusDestinationTypeNames.sentry,
__type: "$$MessageEventBusDestinationSentry",
label: 'Sentry DSN',

@@ -71,0 +71,0 @@ dsn: 'https://',

@@ -640,9 +640,3 @@ "use strict";

}
let promiseResults;
try {
promiseResults = await Promise.all(returnPromises);
}
catch (error) {
return Promise.reject(error);
}
const promiseResults = await Promise.all(returnPromises);
if (promiseResults) {

@@ -649,0 +643,0 @@ return { data: [promiseResults] };

{
"name": "n8n-workflow",
"version": "0.146.0",
"version": "0.147.0",
"description": "Workflow base code of n8n",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md",

@@ -15,2 +15,4 @@ ![n8n.io - Workflow Automation](https://user-images.githubusercontent.com/65276001/173571060-9f2f6d7b-bac0-43b6-bdb2-001da9694058.png)

Proprietary licenses are available for enterprise customers. [Get in touch](mailto:license@n8n.io)
Additional information about the license can be found in the [docs](https://docs.n8n.io/reference/license/).

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

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