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

@appland/appmap-validate

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appland/appmap-validate - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

bin/index.js

17

CHANGELOG.md

@@ -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 @@

2

lib/assert.js

@@ -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 @@

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