angular-in-memory-web-api
Advanced tools
Comparing version 0.1.15 to 0.1.16
@@ -526,2 +526,9 @@ (function (global, factory) { | ||
} | ||
InMemoryBackendConfig.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
InMemoryBackendConfig.ctorParameters = [ | ||
null, | ||
]; | ||
return InMemoryBackendConfig; | ||
@@ -959,2 +966,5 @@ }()); | ||
}; | ||
InMemoryBackendService.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
@@ -961,0 +971,0 @@ InMemoryBackendService.ctorParameters = [ |
# "angular-in-memory-web-api" versions | ||
<a name="0.1.16"></a> | ||
## 0.1.16 (2016-11-20) | ||
* Swap `"lib": [ "es2015", "dom" ]` in `tsconfig.json` for @types/core-js` in `package.json` issue #288 | ||
<a name="0.1.15"></a> | ||
## 0.1.15 (2016-11-14) | ||
Update to Angular 2.2.0. | ||
* Update to Angular 2.2.0. | ||
@@ -7,0 +11,0 @@ <a name="0.1.14"></a> |
@@ -1,2 +0,1 @@ | ||
/// <reference types="core-js" /> | ||
import { Injector } from '@angular/core'; | ||
@@ -3,0 +2,0 @@ import { Connection, ConnectionBackend, Headers, Request, Response, ResponseOptions, URLSearchParams } from '@angular/http'; |
@@ -1,2 +0,2 @@ | ||
import { Inject, Injector, Optional } from '@angular/core'; | ||
import { Inject, Injectable, Injector, Optional } from '@angular/core'; | ||
import { BaseResponseOptions, BrowserXhr, Headers, ReadyState, RequestMethod, Response, ResponseOptions, URLSearchParams, XHRBackend, XSRFStrategy } from '@angular/http'; | ||
@@ -71,2 +71,9 @@ import { Observable } from 'rxjs/Observable'; | ||
} | ||
InMemoryBackendConfig.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
InMemoryBackendConfig.ctorParameters = [ | ||
null, | ||
]; | ||
return InMemoryBackendConfig; | ||
@@ -504,2 +511,5 @@ }()); | ||
}; | ||
InMemoryBackendService.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
@@ -506,0 +516,0 @@ InMemoryBackendService.ctorParameters = [ |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"createErrorResponse":{"__symbolic":"function","parameters":["status","message"],"value":{"__symbolic":"error","message":"Expression form not supported","line":20,"character":21}},"isSuccess":{"__symbolic":"function","parameters":["status"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":">=","left":{"__symbolic":"reference","name":"status"},"right":200},"right":{"__symbolic":"binop","operator":"<","left":{"__symbolic":"reference","name":"status"},"right":300}}},"responseInterceptor":{"__symbolic":"function","parameters":["res","ri"],"value":{"__symbolic":"reference","name":"res"}}}} | ||
{"__symbolic":"module","version":1,"metadata":{"createErrorResponse":{"__symbolic":"function","parameters":["status","message"],"value":{"__symbolic":"error","message":"Expression form not supported","line":20,"character":21}},"InMemoryBackendConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":122,"character":22,"context":{"typeName":"InMemoryBackendConfigArgs"}}]}]}},"isSuccess":{"__symbolic":"function","parameters":["status"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":">=","left":{"__symbolic":"reference","name":"status"},"right":200},"right":{"__symbolic":"binop","operator":"<","left":{"__symbolic":"reference","name":"status"},"right":300}}},"responseInterceptor":{"__symbolic":"function","parameters":["res","ri"],"value":{"__symbolic":"reference","name":"res"}},"InMemoryBackendService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"InMemoryBackendConfig"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","name":"InMemoryDbService"},{"__symbolic":"error","message":"Could not resolve type","line":237,"character":55,"context":{"typeName":"InMemoryBackendConfigArgs"}}]}],"createConnection":[{"__symbolic":"method"}],"handleRequest":[{"__symbolic":"method"}],"addDelay":[{"__symbolic":"method"}],"applyQuery":[{"__symbolic":"method"}],"clone":[{"__symbolic":"method"}],"collectionHandler":[{"__symbolic":"method"}],"commands":[{"__symbolic":"method"}],"createDelayedObservableResponse":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"findById":[{"__symbolic":"method"}],"genId":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"getLocation":[{"__symbolic":"method"}],"indexOf":[{"__symbolic":"method"}],"parseId":[{"__symbolic":"method"}],"parseUrl":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"put":[{"__symbolic":"method"}],"removeById":[{"__symbolic":"method"}],"resetDb":[{"__symbolic":"method"}],"setPassThruBackend":[{"__symbolic":"method"}]}}}} |
{ | ||
"name": "angular-in-memory-web-api", | ||
"version": "0.1.15", | ||
"version": "0.1.16", | ||
"description": "An in-memory web api for Angular demos and tests", | ||
@@ -24,8 +24,3 @@ "main": "bundles/in-memory-web-api.umd.js", | ||
"author": "", | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/angular/angular.io/blob/master/LICENSE" | ||
} | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
@@ -50,6 +45,4 @@ "url": "https://github.com/angular/in-memory-web-api/issues" | ||
"@angular/platform-server": "~2.2.0", | ||
"@types/core-js": "^0.9.34", | ||
"@types/jasmine": "^2.5.36", | ||
"@types/node": "^6.0.46", | ||
"angular-in-memory-web-api": "~0.1.13", | ||
"canonical-path": "0.0.2", | ||
@@ -80,3 +73,3 @@ "concurrently": "^3.0.0", | ||
"tslint": "^3.15.1", | ||
"typescript": "^2.0.3", | ||
"typescript": "^2.0.10", | ||
"vinyl-source-stream": "^1.1.0", | ||
@@ -83,0 +76,0 @@ "yargs": "^5.0.0", |
@@ -193,5 +193,7 @@ # Angular in-memory-web-api | ||
``` | ||
npm install @types/core-js @types/jasmine @types/node --save-dev | ||
npm install @types/jasmine @types/node --save-dev | ||
``` | ||
- `gulp clean` - clear out all generated `text` | ||
- `npm run tsc` to confirm the project compiles w/o error (sanity check) | ||
@@ -198,0 +200,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
38
2762
215
0
172763
21