variable-diff
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "variable-diff", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Visual diff between javascript variables", | ||
"main": "index.js", | ||
"main": "index", | ||
"types": "index.d.ts", | ||
"dependencies": { | ||
"chalk": "^1.1.1" | ||
"chalk": "^4.1.0" | ||
}, | ||
"devDependencies": { | ||
"tap": "^14.6.5" | ||
"tap": "^14.10.8" | ||
}, | ||
@@ -12,0 +13,0 @@ "scripts": { |
@@ -16,2 +16,6 @@ # variable-diff | ||
var result = diff({ a: 1, b: 2, d: 'hello' }, { a: 8, b: 2, c: 4}); | ||
console.log(result.text); | ||
// You can pass all or some of these options | ||
var defaultOptions = { | ||
@@ -26,4 +30,3 @@ indent: ' ', | ||
var result = diff({ a: 1, b: 2, d: 'hello' }, { a: 8, b: 2, c: 4}, defaultOptions); | ||
console.log(result.text); | ||
diff({ a: 1, b: 2, d: 'hello' }, { a: 8, b: 2, c: 4}, defaultOptions) | ||
``` | ||
@@ -30,0 +33,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
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
23270
8
335
37
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedsupports-color@7.2.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
Updatedchalk@^4.1.0