@splunk/dashboard-validation
Advanced tools
| import type { DashboardJSON } from '@splunk/dashboard-types'; | ||
| import type { ValidationErrors } from '../types'; | ||
| /** | ||
| * check duplication of expression ids | ||
| * @method checkDuplicateExpressions | ||
| * @returns {Array} errors | ||
| */ | ||
| export declare const checkDuplicateExpressions: (definition: DashboardJSON) => ValidationErrors; | ||
| //# sourceMappingURL=checkDuplicateExpressions.d.ts.map |
| {"version":3,"file":"checkDuplicateExpressions.d.ts","sourceRoot":"","sources":["../../../src/utils/checkDuplicateExpressions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,GAClC,YAAY,aAAa,KAC1B,gBAyBF,CAAC"} |
@@ -17,2 +17,4 @@ export declare const DUPLICATE_INPUT_TOKEN: any; | ||
| export declare const CONDITION_USED_FOR_SHOW_AND_HIDE_MESSAGE: any; | ||
| export declare const DUPLICATE_EXPRESSION_ID_PATH: any; | ||
| export declare const DUPLICATE_EXPRESSION_ID_MESSAGE: any; | ||
| //# sourceMappingURL=messages.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/utils/messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,KAEjC,CAAC;AAEF,eAAO,MAAM,cAAc,KAAkD,CAAC;AAE9E,eAAO,MAAM,eAAe,KAE3B,CAAC;AAEF,eAAO,MAAM,wBAAwB,KAEpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,KAEpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,KAEpC,CAAC;AAEF,eAAO,MAAM,yBAAyB,KAErC,CAAC;AAEF,eAAO,MAAM,yBAAyB,KAErC,CAAC;AAEF,eAAO,MAAM,+BAA+B,KAE3C,CAAC;AAEF,eAAO,MAAM,+BAA+B,KAE3C,CAAC;AAEF,eAAO,MAAM,gCAAgC,KAE5C,CAAC;AAEF,eAAO,MAAM,qBAAqB,KAEjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAE/B,CAAC;AAEF,eAAO,MAAM,6BAA6B,KAEzC,CAAC;AAEF,eAAO,MAAM,gCAAgC,KAE5C,CAAC;AAEF,eAAO,MAAM,wCAAwC,KAEpD,CAAC"} | ||
| {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/utils/messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,KAEjC,CAAC;AAEF,eAAO,MAAM,cAAc,KAAkD,CAAC;AAE9E,eAAO,MAAM,eAAe,KAE3B,CAAC;AAEF,eAAO,MAAM,wBAAwB,KAEpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,KAEpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,KAEpC,CAAC;AAEF,eAAO,MAAM,yBAAyB,KAErC,CAAC;AAEF,eAAO,MAAM,yBAAyB,KAErC,CAAC;AAEF,eAAO,MAAM,+BAA+B,KAE3C,CAAC;AAEF,eAAO,MAAM,+BAA+B,KAE3C,CAAC;AAEF,eAAO,MAAM,gCAAgC,KAE5C,CAAC;AAEF,eAAO,MAAM,qBAAqB,KAEjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAE/B,CAAC;AAEF,eAAO,MAAM,6BAA6B,KAEzC,CAAC;AAEF,eAAO,MAAM,gCAAgC,KAE5C,CAAC;AAEF,eAAO,MAAM,wCAAwC,KAEpD,CAAC;AAEF,eAAO,MAAM,4BAA4B,KAExC,CAAC;AAEF,eAAO,MAAM,+BAA+B,KAE3C,CAAC"} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"DashboardValidator.d.ts","sourceRoot":"","sources":["../../../src/validators/DashboardValidator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAcjD;;;GAGG;AACH,qBAAa,kBAAkB;IAG3B,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,GAAG,IAAI,CAAQ;IAE7D;;;;;OAKG;IACH,SAAS,CAAC,SAAS,EAAE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,GAAG,IAAI;IAcjE;;;;OAIG;IACH,QAAQ,CACJ,UAAU,EAAE,aAAa,EACzB,uBAAuB,CAAC,EAAE,MAAM,EAAE,GACnC,WAAW,EAAE,GAAG,gBAAgB,GAAG,IAAI;CAuB7C"} | ||
| {"version":3,"file":"DashboardValidator.d.ts","sourceRoot":"","sources":["../../../src/validators/DashboardValidator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAejD;;;GAGG;AACH,qBAAa,kBAAkB;IAG3B,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,GAAG,IAAI,CAAQ;IAE7D;;;;;OAKG;IACH,SAAS,CAAC,SAAS,EAAE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,GAAG,IAAI;IAcjE;;;;OAIG;IACH,QAAQ,CACJ,UAAU,EAAE,aAAa,EACzB,uBAAuB,CAAC,EAAE,MAAM,EAAE,GACnC,WAAW,EAAE,GAAG,gBAAgB,GAAG,IAAI;CAwB7C"} |
+7
-7
| { | ||
| "name": "@splunk/dashboard-validation", | ||
| "version": "29.3.4", | ||
| "version": "29.4.0", | ||
| "license": "SEE LICENSE IN LICENSE.md", | ||
@@ -27,10 +27,10 @@ "author": "Splunk", | ||
| "devDependencies": { | ||
| "@splunk/dashboard-build-tools": "29.3.4", | ||
| "@splunk/dashboard-test-utils": "29.3.4", | ||
| "@splunk/dashboard-types": "29.3.4", | ||
| "@splunk/dashboard-build-tools": "29.4.0", | ||
| "@splunk/dashboard-test-utils": "29.4.0", | ||
| "@splunk/dashboard-types": "29.4.0", | ||
| "@testing-library/dom": "^10.4.1", | ||
| "@testing-library/react": "^16.3.0", | ||
| "@testing-library/react": "^16.3.1", | ||
| "@types/jest": "^30.0.0", | ||
| "@types/react": "^18.3.26", | ||
| "@udf/typescript-configs": "29.3.4", | ||
| "@types/react": "^18.3.27", | ||
| "@udf/typescript-configs": "29.4.0", | ||
| "jest": "^30.1.3", | ||
@@ -37,0 +37,0 @@ "ts-jest": "^29.4.4" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1477579
0.81%54
3.85%4893
1.54%184
-1.08%