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

@angular/http

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/http - npm Package Compare versions

Comparing version 0.0.0-3 to 0.0.0-4

1

esm/src/facade/lang.d.ts

@@ -63,2 +63,3 @@ export interface BrowserNodeGlobal {

export declare function isStringMap(obj: any): boolean;
export declare function isStrictStringMap(obj: any): boolean;
export declare function isPromise(obj: any): boolean;

@@ -65,0 +66,0 @@ export declare function isArray(obj: any): boolean;

@@ -84,2 +84,6 @@ var globalScope;

}
const STRING_MAP_PROTO = Object.getPrototypeOf({});
export function isStrictStringMap(obj) {
return isStringMap(obj) && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;
}
export function isPromise(obj) {

@@ -86,0 +90,0 @@ return obj instanceof _global.Promise;

4

package.json
{
"name": "@angular/http",
"version": "0.0.0-3",
"version": "0.0.0-4",
"description": "",

@@ -12,4 +12,4 @@ "main": "index.js",

"rxjs": "5.0.0-beta.6",
"@angular/core": "0.0.0-3"
"@angular/core": "0.0.0-4"
}
}

@@ -63,2 +63,3 @@ export interface BrowserNodeGlobal {

export declare function isStringMap(obj: any): boolean;
export declare function isStrictStringMap(obj: any): boolean;
export declare function isPromise(obj: any): boolean;

@@ -65,0 +66,0 @@ export declare function isArray(obj: any): boolean;

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

exports.isStringMap = isStringMap;
var STRING_MAP_PROTO = Object.getPrototypeOf({});
function isStrictStringMap(obj) {
return isStringMap(obj) && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;
}
exports.isStrictStringMap = isStrictStringMap;
function isPromise(obj) {

@@ -105,0 +110,0 @@ return obj instanceof _global.Promise;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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