@appland/appmap-validate
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -0,1 +1,18 @@ | ||
# [@appland/appmap-validate-v2.0.0](https://github.com/applandinc/appmap-js/compare/@appland/appmap-validate-v1.0.0...@appland/appmap-validate-v2.0.0) (2021-08-12) | ||
### Bug Fixes | ||
* add defined_class in the keying between function call events and the classMap ([5ba2cde](https://github.com/applandinc/appmap-js/commit/5ba2cde48c9c4de78c36706989b285dec8d8a1b7)) | ||
### Features | ||
* remove non-crucial dependencies to make run on the browser. ([0196ad9](https://github.com/applandinc/appmap-js/commit/0196ad962fb014eca8ca88a3b502642cc5afb837)) | ||
### BREAKING CHANGES | ||
* the main function does no longer accept a path, instead the json data must be provided as first argument. | ||
# @appland/appmap-validate-v1.0.0 (2021-06-16) | ||
@@ -2,0 +19,0 @@ |
@@ -1,2 +0,2 @@ | ||
const { format } = require("util"); | ||
const format = require("format-util"); | ||
@@ -3,0 +3,0 @@ exports.AppmapError = class AppmapError extends Error { |
{ | ||
"name": "@appland/appmap-validate", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"scripts": { | ||
"test": "npx c8 --reporter=text-summary --check-coverage --branches=100 --functions=100 --lines=100 --statements=100 --include lib/main.js node test/smoke.js", | ||
"test": "npx c8 --reporter=text-summary --check-coverage --branches=100 --functions=100 --lines=100 --statements=100 --include lib/index.js node test/smoke.js", | ||
"build": "node src/build.js", | ||
"test-html": "npx c8 --reporter=html node test/smoke.js && open coverage/index.html", | ||
"prettier": "npx prettier --write 'lib/*.js' 'test/*.js' 'src/*.js'", | ||
"lint": "npx eslint 'lib/*.js' 'test/*.js' 'src/*.js'" | ||
"format": "npx prettier --write 'lib/*.js' 'test/*.js' 'src/*.js' 'schema/*.js'", | ||
"lint": "npx eslint 'lib/*.js' 'test/*.js' 'src/*.js' 'schema/*.js'" | ||
}, | ||
@@ -16,7 +16,7 @@ "publishConfig": { | ||
"lib/*.js", | ||
"schema/*.yml" | ||
"schema/*.js" | ||
], | ||
"bin": "lib/bin.js", | ||
"bin": "bin/index.js", | ||
"license": "MIT", | ||
"main": "lib/main.js", | ||
"main": "lib/index.js", | ||
"repository": { | ||
@@ -30,10 +30,11 @@ "type": "git", | ||
"eslint": "^7.28.0", | ||
"prettier": "^2.3.1" | ||
"prettier": "^2.3.1", | ||
"yaml": "^1.10.2" | ||
}, | ||
"dependencies": { | ||
"ajv": "^8.6.0", | ||
"ajv-error-tree": "0.0.2", | ||
"treeify": "^1.1.0", | ||
"yaml": "^1.10.2" | ||
"ajv-error-tree": "^0.0.5", | ||
"format-util": "^1.0.5", | ||
"treeify": "^1.1.0" | ||
} | ||
} |
@@ -25,10 +25,10 @@ # appmap-validate | ||
// Any other thrown error should be considered as a bug | ||
validate({ | ||
path, // either provide a path to an appmap file | ||
data, // or directly provide the JSON-parsed data | ||
version, // appmap specification version | ||
// JSON schema Error reporting options: | ||
"schema-depth": 0 // depth of the schema to display | ||
"instance-depth": 0 // depth of the instance to display | ||
}); | ||
validate( | ||
data, | ||
{ | ||
version, // appmap specification version | ||
"schema-depth": 0 // depth of the schema to display | ||
"instance-depth": 0 // depth of the instance to display | ||
} | ||
); | ||
``` | ||
@@ -35,0 +35,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
122589
5216
0
4
14
1
+ Addedformat-util@^1.0.5
+ Addedajv-error-tree@0.0.5(transitive)
+ Addedformat-util@1.0.5(transitive)
- Removedyaml@^1.10.2
- Removedajv-error-tree@0.0.2(transitive)
- Removedyaml@1.10.2(transitive)
Updatedajv-error-tree@^0.0.5