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

alcaeus

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alcaeus - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

dist/types/alcaeus.d.ts

27

package.json
{
"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

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