🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

angular2-odata

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-odata - npm Package Compare versions

Comparing version

to
0.0.14

6

build/odata.js

@@ -48,7 +48,3 @@ "use strict";

getEntityUri(entityKey) {
//ToDo: Fix string based keys
if (!parseInt(entityKey)) {
return this.config.baseUrl + "/" + this._typeName + "('" + entityKey + "')";
}
return this.config.baseUrl + "/" + this._typeName + "(" + entityKey + ")";
return this.config.getEntityUri(entityKey, this._typeName);
}

@@ -55,0 +51,0 @@ handleResponse(entity) {

@@ -57,8 +57,3 @@ import { URLSearchParams, Http, Response, Headers, RequestOptions } from '@angular/http';

protected getEntityUri(entityKey:string){
//ToDo: Fix string based keys
if ( !parseInt(entityKey) ){
return this.config.baseUrl + "/"+this._typeName+"('"+entityKey+"')";
}
return this.config.baseUrl + "/"+this._typeName+"("+entityKey+")";
return this.config.getEntityUri(entityKey, this._typeName);
}

@@ -65,0 +60,0 @@

2

package.json
{
"name": "angular2-odata",
"version": "0.0.12",
"version": "0.0.14",
"description": "OData service for Angular2",

@@ -5,0 +5,0 @@ "main": "./build/index.js",

Sorry, the diff of this file is not supported yet