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.3 to 0.2.4

8

dist/message-interceptor.js

@@ -22,6 +22,2 @@ "use strict";

switch (contentType) {
case aurelia_http_utils_1.MediaType.APPLICATION_JSON:
var jsonEncoder = new json_encoder_1.JsonEncoder();
message.replacer = jsonEncoder.replacer.bind(jsonEncoder);
break;
case aurelia_http_utils_1.MediaType.APPLICATION_JSON_PATCH:

@@ -34,2 +30,6 @@ var patch = message.content;

break;
case aurelia_http_utils_1.MediaType.APPLICATION_JSON:
default:
var jsonEncoder = new json_encoder_1.JsonEncoder();
message.replacer = jsonEncoder.replacer.bind(jsonEncoder);
}

@@ -36,0 +36,0 @@ return message;

{
"name": "aurelia-json",
"version": "0.2.3",
"version": "0.2.4",
"description": "A JSON plugin for Aurelia based projects.",

@@ -27,3 +27,3 @@ "keywords": [

"aurelia-dependency-injection": "^1.0.0",
"aurelia-framework": "^1.0.1",
"aurelia-framework": "^1.0.2",
"aurelia-http-client": "^1.0.0",

@@ -33,10 +33,10 @@ "aurelia-http-utils": "^0.2.1"

"devDependencies": {
"babel-preset-es2015": "^6.13.2",
"babel-register": "^6.11.6",
"del": "^2.2.1",
"babel-preset-es2015": "^6.14.0",
"babel-register": "^6.14.0",
"del": "^2.2.2",
"gulp": "^3.9.1",
"gulp-jasmine": "^2.4.0",
"gulp-jasmine": "^2.4.1",
"gulp-sass": "^2.3.2",
"gulp-typescript": "^2.13.6",
"jasmine": "^2.4.1",
"jasmine": "^2.5.0",
"jasmine-reporters": "^2.2.0",

@@ -43,0 +43,0 @@ "merge2": "^1.0.2",

@@ -20,6 +20,2 @@ import {autoinject} from "aurelia-dependency-injection";

switch (contentType) {
case MediaType.APPLICATION_JSON:
let jsonEncoder = new JsonEncoder();
message.replacer = jsonEncoder.replacer.bind(jsonEncoder);
break;
case MediaType.APPLICATION_JSON_PATCH:

@@ -32,2 +28,6 @@ let patch: JsonPatch = message.content;

break;
case MediaType.APPLICATION_JSON:
default:
let jsonEncoder = new JsonEncoder();
message.replacer = jsonEncoder.replacer.bind(jsonEncoder);
}

@@ -34,0 +34,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