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

aurelia-json

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-json - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

1

dist/patch.d.ts
export declare class JsonPatch {
private operations;
constructor(operations?: any[]);
readonly length: number;
add(path: string, value: any, index?: number): JsonPatch;

@@ -5,0 +6,0 @@ remove(path: string, index?: number): JsonPatch;

@@ -7,2 +7,9 @@ "use strict";

}
Object.defineProperty(JsonPatch.prototype, "length", {
get: function () {
return this.operations.length;
},
enumerable: true,
configurable: true
});
JsonPatch.prototype.add = function (path, value, index) {

@@ -9,0 +16,0 @@ if (index === void 0) { index = -1; }

16

package.json
{
"name": "aurelia-json",
"version": "0.2.1",
"version": "0.2.2",
"description": "A JSON plugin for Aurelia based projects.",

@@ -26,6 +26,6 @@ "keywords": [

"dependencies": {
"aurelia-dependency-injection": "^1.0.0-beta.2.1.1",
"aurelia-framework": "^1.0.0-beta.2.0.1",
"aurelia-http-client": "^1.0.0-beta.2.0.1",
"aurelia-http-utils": "^0.1.4"
"aurelia-dependency-injection": "^1.0.0-rc.1.0.0",
"aurelia-framework": "^1.0.0-rc.1.0.0",
"aurelia-http-client": "^1.0.0-rc.1.0.0",
"aurelia-http-utils": "^0.2.0"
},

@@ -35,8 +35,8 @@ "devDependencies": {

"babel-register": "^6.9.0",
"del": "^2.2.0",
"del": "^2.2.1",
"gulp": "^3.9.1",
"gulp-jasmine": "^2.3.0",
"gulp-jasmine": "^2.4.0",
"gulp-tsb": "^1.10.4",
"jasmine": "^2.4.1",
"jasmine-reporters": "^2.1.1",
"jasmine-reporters": "^2.2.0",
"run-sequence": "^1.2.1",

@@ -43,0 +43,0 @@ "typescript": "^1.8.10",

@@ -9,2 +9,6 @@ export class JsonPatch {

get length() {
return this.operations.length;
}
public add(path: string, value: any, index: number = -1): JsonPatch {

@@ -11,0 +15,0 @@ this.operations.push({

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