update package.json dependencies (#33)

* updated package.json dependencies
* update package-lock.json
* fix linting errors
* unpinned n8n-core/n8n-workflow dependencies (use latest)
* removed color prop (only core nodes with fa icon)
This commit is contained in:
Marcus 2022-11-23 09:37:42 +01:00 committed by GitHub
commit cf37545eb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 393 additions and 580 deletions

View file

@ -28,14 +28,14 @@ export class HttpBinApi implements ICredentialType {
// stating how this credential is injected as part of the request // stating how this credential is injected as part of the request
// An example is the Http Request node that can make generic calls // An example is the Http Request node that can make generic calls
// reusing this credential // reusing this credential
authenticate = { authenticate: IAuthenticateGeneric = {
type: 'generic', type: 'generic',
properties: { properties: {
headers: { headers: {
Authorization: '={{"Bearer " + $credentials.token}}', Authorization: '={{"Bearer " + $credentials.token}}',
}, },
}, },
} as IAuthenticateGeneric; };
// The block below tells how this credential can be tested // The block below tells how this credential can be tested
test: ICredentialTestRequest = { test: ICredentialTestRequest = {

View file

@ -12,7 +12,6 @@ export class HttpBin implements INodeType {
description: 'Interact with HttpBin API', description: 'Interact with HttpBin API',
defaults: { defaults: {
name: 'HttpBin', name: 'HttpBin',
color: '#3b4151',
}, },
inputs: ['main'], inputs: ['main'],
outputs: ['main'], outputs: ['main'],

View file

@ -45,10 +45,10 @@ export const httpVerbOperations: INodeProperties[] = [
// We do that by adding `operation: ["get"]` to `displayOptions.show` // We do that by adding `operation: ["get"]` to `displayOptions.show`
const getOperation: INodeProperties[] = [ const getOperation: INodeProperties[] = [
{ {
displayName: 'Type of Data',
name: 'typeofData', name: 'typeofData',
default: 'queryParameter', default: 'queryParameter',
description: 'Select type of data to send [Query Parameters]', description: 'Select type of data to send [Query Parameters]',
displayName: 'Type of Data',
displayOptions: { displayOptions: {
show: { show: {
resource: ['httpVerb'], resource: ['httpVerb'],
@ -65,10 +65,10 @@ const getOperation: INodeProperties[] = [
required: true, required: true,
}, },
{ {
displayName: 'Query Parameters',
name: 'arguments', name: 'arguments',
default: {}, default: {},
description: "The request's query parameters", description: "The request's query parameters",
displayName: 'Query Parameters',
displayOptions: { displayOptions: {
show: { show: {
resource: ['httpVerb'], resource: ['httpVerb'],
@ -116,10 +116,10 @@ const getOperation: INodeProperties[] = [
// We do that by adding `operation: ["delete"]` to `displayOptions.show` // We do that by adding `operation: ["delete"]` to `displayOptions.show`
const deleteOperation: INodeProperties[] = [ const deleteOperation: INodeProperties[] = [
{ {
displayName: 'Type of Data',
name: 'typeofData', name: 'typeofData',
default: 'queryParameter', default: 'queryParameter',
description: 'Select type of data to send [Query Parameter Arguments, JSON-Body]', description: 'Select type of data to send [Query Parameter Arguments, JSON-Body]',
displayName: 'Type of Data',
displayOptions: { displayOptions: {
show: { show: {
resource: ['httpVerb'], resource: ['httpVerb'],
@ -140,10 +140,10 @@ const deleteOperation: INodeProperties[] = [
type: 'options', type: 'options',
}, },
{ {
displayName: 'Query Parameters',
name: 'arguments', name: 'arguments',
default: {}, default: {},
description: "The request's query parameters", description: "The request's query parameters",
displayName: 'Query Parameters',
displayOptions: { displayOptions: {
show: { show: {
resource: ['httpVerb'], resource: ['httpVerb'],
@ -187,10 +187,10 @@ const deleteOperation: INodeProperties[] = [
}, },
}, },
{ {
displayName: 'JSON Object',
name: 'arguments', name: 'arguments',
default: {}, default: {},
description: "The request's JSON properties", description: "The request's JSON properties",
displayName: 'JSON Object',
displayOptions: { displayOptions: {
show: { show: {
resource: ['httpVerb'], resource: ['httpVerb'],

948
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -41,13 +41,13 @@
"devDependencies": { "devDependencies": {
"@types/express": "^4.17.6", "@types/express": "^4.17.6",
"@types/request-promise-native": "~1.0.15", "@types/request-promise-native": "~1.0.15",
"@typescript-eslint/parser": "^5.29.0", "@typescript-eslint/parser": "^5.36",
"eslint-plugin-n8n-nodes-base": "^1.5.4", "eslint-plugin-n8n-nodes-base": "^1.11.0",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"n8n-core": "^0.125.0", "n8n-core": "*",
"n8n-workflow": "^0.107.0", "n8n-workflow": "*",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"tslint": "^6.1.2", "tslint": "^6.1.2",
"typescript": "~4.6.0" "typescript": "~4.8.4"
} }
} }