Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@elastic.io/component-build-helper

Package Overview
Dependencies
Maintainers
9
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic.io/component-build-helper - npm Package Compare versions

Comparing version 0.0.1-alpha.2 to 0.0.1

2

dist/src/metaloader.js

@@ -34,3 +34,2 @@ "use strict";

function validateFunctionsNames(component) {
validateComponentVersion(component.version);
const { triggers, actions } = component;

@@ -102,2 +101,3 @@ // regex for valid javascript variable (except $, and starts only with letter)

}
validateComponentVersion(component.version);
validateFunctionsNames(component);

@@ -104,0 +104,0 @@ validateFunctionNamesIntersection(component);

{
"name": "@elastic.io/component-build-helper",
"version": "0.0.1-alpha.2",
"version": "0.0.1",
"description": "Helpers for the component build process",

@@ -22,6 +22,6 @@ "main": "dist/src/index.js",

"@types/chai": "4.3.0",
"@types/chai-as-promised": "^7.1.4",
"@types/chai-as-promised": "7.1.4",
"@types/mocha": "9.0.0",
"@types/node": "12.0.4",
"@types/semver": "^7.3.9",
"@types/semver": "7.3.9",
"@types/sinon": "10.0.6",

@@ -48,5 +48,5 @@ "@types/sinon-chai": "3.2.8",

"dependencies": {
"chai-as-promised": "^7.1.1",
"semver": "^7.3.5"
"chai-as-promised": "7.1.1",
"semver": "7.3.5"
}
}

@@ -36,4 +36,2 @@ import { Action, Component, Metadata } from './interfaces';

function validateFunctionsNames(component: Component) {
validateComponentVersion(component.version);
const { triggers, actions } = component;

@@ -118,2 +116,3 @@ // regex for valid javascript variable (except $, and starts only with letter)

validateComponentVersion(component.version);
validateFunctionsNames(component);

@@ -120,0 +119,0 @@ validateFunctionNamesIntersection(component);

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