Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "alcaeus", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Hydra Core hypermedia-aware client library", | ||
"main": "dist/alcaeus.js", | ||
"types": "types/src/index.d.ts", | ||
"main": "lib/index.js", | ||
"types": "types/index.d.ts", | ||
"directories": { | ||
@@ -12,7 +12,9 @@ "test": "tests" | ||
"dist", | ||
"types" | ||
"types", | ||
"lib", | ||
"src" | ||
], | ||
"scripts": { | ||
"test": "yarn lint; yarn run karma start --single-run", | ||
"build": "webpack; gitbook install; gitbook build . docs/latest", | ||
"build": "tsc; webpack; gitbook install; gitbook build . docs/latest", | ||
"lint": "tslint -p tsconfig.json", | ||
@@ -41,6 +43,2 @@ "prepublishOnly": "rm -rf dist; npm run build" | ||
"es6-url-template": "^1.0.0", | ||
"gitbook-plugin-etoc": "^1.2.2", | ||
"gitbook-plugin-forkmegithub": "^2.2.0", | ||
"gitbook-plugin-hints": "^1.0.2", | ||
"gitbook-plugin-runkit": "0.0.1", | ||
"isomorphic-fetch": "^2.2.1", | ||
@@ -59,4 +57,15 @@ "jsonld": "^0.4.12", | ||
"@types/sinon": "^2.3.3", | ||
"babel-core": "^6.26.3", | ||
"babel-loader": "^7.1.5", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-es3": "^1.0.1", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"core-decorators": "^0.19.0", | ||
"core-js": "^2.5.0", | ||
"gitbook-plugin-etoc": "^1.2.2", | ||
"gitbook-plugin-forkmegithub": "^2.2.0", | ||
"gitbook-plugin-hints": "^1.0.2", | ||
"gitbook-plugin-runkit": "0.0.1", | ||
"json-server": "^0.12.1", | ||
@@ -63,0 +72,0 @@ "karma": "^1.3.0", |
@@ -0,1 +1,2 @@ | ||
import { IResourceGraph } from './ResourceGraph'; | ||
import { HydraResource } from './Resources'; | ||
@@ -5,5 +6,2 @@ import { IResource } from './Resources/Resource'; | ||
import { IRootSelector } from './RootSelectors'; | ||
export interface IResourceGraph { | ||
[uri: string]: HydraResource; | ||
} | ||
export interface IHydraResponse extends Iterable<HydraResource>, IResponseWrapper { | ||
@@ -10,0 +8,0 @@ /** |
import { IHydraClient } from '../alcaeus'; | ||
import { IResourceGraph } from '../HydraResponse'; | ||
import { IResourceFactory } from '../ResourceFactory'; | ||
import { IResourceGraph } from '../ResourceGraph'; | ||
import { ApiDocumentation } from '../Resources'; | ||
@@ -5,0 +5,0 @@ import { IResponseWrapper } from '../ResponseWrapper'; |
@@ -1,6 +0,6 @@ | ||
import { IResourceGraph } from '../HydraResponse'; | ||
import { IResourceGraph } from '../ResourceGraph'; | ||
import { IResponseWrapper } from '../ResponseWrapper'; | ||
declare const _default: { | ||
selectRoot(resources: IResourceGraph, response: IResponseWrapper): import("../Resources").HydraResource; | ||
selectRoot(resources: IResourceGraph, response: IResponseWrapper): any; | ||
}; | ||
export default _default; |
@@ -1,5 +0,6 @@ | ||
import { IHydraResponse, IResourceGraph } from '../HydraResponse'; | ||
import { IHydraResponse } from '../HydraResponse'; | ||
import { IResourceGraph } from '../ResourceGraph'; | ||
declare const _default: { | ||
selectRoot(resources: IResourceGraph, response: IHydraResponse): import("../Resources").HydraResource; | ||
selectRoot(resources: IResourceGraph, response: IHydraResponse): any; | ||
}; | ||
export default _default; |
@@ -1,2 +0,3 @@ | ||
import { IHydraResponse, IResourceGraph } from '../HydraResponse'; | ||
import { IHydraResponse } from '../HydraResponse'; | ||
import { IResourceGraph } from '../ResourceGraph'; | ||
import { HydraResource } from '../Resources'; | ||
@@ -3,0 +4,0 @@ import { IResponseWrapper } from '../ResponseWrapper'; |
@@ -1,6 +0,6 @@ | ||
import { IResourceGraph } from '../HydraResponse'; | ||
import { IResourceGraph } from '../ResourceGraph'; | ||
import { IResponseWrapper } from '../ResponseWrapper'; | ||
declare const _default: { | ||
selectRoot(resources: IResourceGraph, response: IResponseWrapper): import("../Resources").HydraResource; | ||
selectRoot(resources: IResourceGraph, response: IResponseWrapper): any; | ||
}; | ||
export default _default; |
@@ -1,5 +0,6 @@ | ||
import { IHydraResponse, IResourceGraph } from '../HydraResponse'; | ||
import { IHydraResponse } from '../HydraResponse'; | ||
import { IResourceGraph } from '../ResourceGraph'; | ||
declare const _default: { | ||
selectRoot(resources: IResourceGraph, response: IHydraResponse): import("../Resources").HydraResource; | ||
selectRoot(resources: IResourceGraph, response: IHydraResponse): any; | ||
}; | ||
export default _default; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1130857
8
345
17114
32
9
- Removedgitbook-plugin-etoc@^1.2.2
- Removedgitbook-plugin-forkmegithub@^2.2.0
- Removedgitbook-plugin-hints@^1.0.2
- Removedgitbook-plugin-runkit@0.0.1
- Removedansi-red@0.1.1(transitive)
- Removedansi-wrap@0.1.0(transitive)
- Removedargparse@1.0.10(transitive)
- Removedautolinker@0.28.1(transitive)
- Removedcoffee-script@1.12.7(transitive)
- Removedconcat-with-sourcemaps@1.1.0(transitive)
- Removedesprima@4.0.1(transitive)
- Removedexpand-range@1.8.2(transitive)
- Removedextend-shallow@2.0.1(transitive)
- Removedfill-range@2.2.4(transitive)
- Removedfor-in@1.0.2(transitive)
- Removedgitbook-plugin-etoc@1.2.2(transitive)
- Removedgitbook-plugin-forkmegithub@2.2.0(transitive)
- Removedgitbook-plugin-hints@1.0.2(transitive)
- Removedgitbook-plugin-runkit@0.0.1(transitive)
- Removedgithub-slugid@1.0.1(transitive)
- Removedgray-matter@2.1.1(transitive)
- Removedgulp-header@1.8.12(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedis-extendable@0.1.11.0.1(transitive)
- Removedis-number@2.1.04.0.0(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedisobject@2.1.03.0.1(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedkind-of@3.2.26.0.3(transitive)
- Removedlazy-cache@2.0.2(transitive)
- Removedlist-item@1.1.1(transitive)
- Removedlodash._reinterpolate@3.0.0(transitive)
- Removedlodash.template@4.5.0(transitive)
- Removedlodash.templatesettings@4.2.0(transitive)
- Removedmarkdown-link@0.1.1(transitive)
- Removedmarkdown-toc@0.12.16(transitive)
- Removedmath-random@1.0.4(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmixin-deep@1.3.2(transitive)
- Removedobject.pick@1.3.0(transitive)
- Removedrandomatic@3.1.1(transitive)
- Removedremarkable@1.7.4(transitive)
- Removedrepeat-element@1.1.4(transitive)
- Removedrepeat-string@1.6.1(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedset-getter@0.1.1(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedstrip-color@0.1.0(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedto-object-path@0.3.0(transitive)
- Removedtoml@2.3.6(transitive)