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

angular-object-diff

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-object-diff - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

screenshot.png

2

bower.json
{
"name": "angular-object-diff",
"version": "1.0.0",
"version": "1.0.1",
"main": [

@@ -5,0 +5,0 @@ "./dist/angular-object-diff.js",

@@ -95,3 +95,3 @@ (function () {

gulp.task('git-push', function (cb) {
var v = version();
var v = 'v' + version();
git.push('origin', 'master', function (err) {

@@ -98,0 +98,0 @@ if (err) return cb(err);

{
"name": "angular-object-diff",
"version": "1.0.0",
"version": "1.0.1",
"description": "An Angular JS plugin to compare and show object differences.",

@@ -5,0 +5,0 @@ "main": "angular-object-diff.js",

# angular-diff
An Angular JS plugin to compare and show object differences in JSON format. [Demo](http://hipster-labs.github.io/angular-object-diff/)
![Screenshot](/screenshot.png)
# Installation

@@ -26,15 +26,25 @@

`setOpenChar`: set the opening character for the view, default is `{`
`setCloseChar`: set the closing character for the view, default is `}`
`diff`: compare and build all the difference of two objects including prototype properties
`diffOwnProperties`: compare and build the difference of two objects taking only its own properties into account
`toJsonView`: format a diff object to a full JSON formatted object view
`toJsonDiffView`: format a diff object to a JSON formatted view with only changes
`objToJsonView`: format any javascript object to a JSON formatted view
# Available filters
`toJsonView`: format a diff object to a full JSON formatted object view
`toJsonDiffView`: format a diff object to a JSON formatted view with only changes
`objToJsonView`: format any javascript object to a JSON formatted view
# Usage

@@ -41,0 +51,0 @@

Sorry, the diff of this file is not supported yet

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