@elastic.io/component-build-helper
Advanced tools
Comparing version 0.0.1-alpha.2 to 0.0.1
@@ -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); |
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
59377
+ Addedassertion-error@1.1.0(transitive)
+ Addedchai@4.5.0(transitive)
+ Addedchai-as-promised@7.1.1(transitive)
+ Addeddeep-eql@4.1.4(transitive)
+ Addedloupe@2.3.7(transitive)
+ Addedlru-cache@6.0.0(transitive)
+ Addedpathval@1.1.1(transitive)
+ Addedsemver@7.3.5(transitive)
+ Addedtype-detect@4.1.0(transitive)
+ Addedyallist@4.0.0(transitive)
- Removedassertion-error@2.0.1(transitive)
- Removedchai@5.1.2(transitive)
- Removedchai-as-promised@7.1.2(transitive)
- Removedcheck-error@2.1.1(transitive)
- Removeddeep-eql@5.0.2(transitive)
- Removedloupe@3.1.2(transitive)
- Removedpathval@2.0.0(transitive)
- Removedsemver@7.6.3(transitive)
Updatedchai-as-promised@7.1.1
Updatedsemver@7.3.5