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.8.0 to 0.8.1

16

CHANGELOG.md

@@ -5,2 +5,18 @@ # Changelog

### [0.8.1](https://github.com/wikibus/alcaeus/compare/v0.8.0...v0.8.1) (2019-08-12)
### Bug Fixes
* extend the return type of operation.target ([724fcf2](https://github.com/wikibus/alcaeus/commit/724fcf2))
* proper typing for implementation of mediaTypeProcessors ([e465bc1](https://github.com/wikibus/alcaeus/commit/e465bc1))
* wrong predicate used for SupportedProperty#writable ([d293503](https://github.com/wikibus/alcaeus/commit/d293503))
### Build System
* **deps:** [security] bump tar from 2.2.1 to 2.2.2 ([6f0e265](https://github.com/wikibus/alcaeus/commit/6f0e265))
## [0.8.0](https://github.com/wikibus/alcaeus/compare/v0.7.1...v0.8.0) (2019-08-11)

@@ -7,0 +23,0 @@

2

lib/es/Resources/Mixins/SupportedProperty.js

@@ -12,3 +12,3 @@ import { Core } from '../../Constants';

get writable() {
const writable = this.get(Core.Vocab('writable'));
const writable = this.get(Core.Vocab('writeable'));
if (typeof writable === 'boolean') {

@@ -15,0 +15,0 @@ return writable;

@@ -14,3 +14,3 @@ "use strict";

get writable() {
const writable = this.get(Constants_1.Core.Vocab('writable'));
const writable = this.get(Constants_1.Core.Vocab('writeable'));
if (typeof writable === 'boolean') {

@@ -17,0 +17,0 @@ return writable;

{
"name": "alcaeus",
"version": "0.8.0",
"version": "0.8.1",
"description": "Hydra Core hypermedia-aware client library",

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

@@ -16,3 +16,3 @@ import { IHydraResponse } from './HydraResponse';

mediaTypeProcessors: {
[name: string]: any;
[name: string]: IMediaTypeProcessor;
};

@@ -19,0 +19,0 @@ constructor(rootSelectors: IRootSelector[], mediaTypeProcessors: {

@@ -1,4 +0,4 @@

export declare type HydraTerm = 'apiDocumentation' | 'ApiDocumentation' | 'title' | 'description' | 'method' | 'Class' | 'member' | 'PartialCollectionView' | 'Collection' | 'view' | 'first' | 'next' | 'last' | 'previous' | 'entrypoint' | 'SupportedProperty' | 'supportedProperty' | 'SupportedOperation' | 'supportedClass' | 'supportedOperation' | 'expects' | 'returns' | 'readable' | 'writable' | 'required' | 'property' | 'statusCodes' | 'operation' | 'Operation' | 'mapping' | 'StatusCodeDescription' | 'IriTemplate' | 'IriTemplateMapping' | 'code' | 'variable' | 'variableRepresentation' | 'template' | 'BasicRepresentation' | 'ExplicitRepresentation' | 'totalItems' | 'Link' | 'collection' | 'manages' | 'subject' | 'object' | 'search';
export declare type HydraTerm = 'apiDocumentation' | 'ApiDocumentation' | 'title' | 'description' | 'method' | 'Class' | 'member' | 'PartialCollectionView' | 'Collection' | 'view' | 'first' | 'next' | 'last' | 'previous' | 'entrypoint' | 'SupportedProperty' | 'supportedProperty' | 'SupportedOperation' | 'supportedClass' | 'supportedOperation' | 'expects' | 'returns' | 'readable' | 'writeable' | 'required' | 'property' | 'statusCodes' | 'operation' | 'Operation' | 'mapping' | 'StatusCodeDescription' | 'IriTemplate' | 'IriTemplateMapping' | 'code' | 'variable' | 'variableRepresentation' | 'template' | 'BasicRepresentation' | 'ExplicitRepresentation' | 'totalItems' | 'Link' | 'collection' | 'manages' | 'subject' | 'object' | 'search';
export declare const Core: {
Vocab(term?: "object" | "search" | "required" | "code" | "template" | "title" | "view" | "next" | "writable" | "readable" | "apiDocumentation" | "ApiDocumentation" | "description" | "method" | "Class" | "member" | "PartialCollectionView" | "Collection" | "first" | "last" | "previous" | "entrypoint" | "SupportedProperty" | "supportedProperty" | "SupportedOperation" | "supportedClass" | "supportedOperation" | "expects" | "returns" | "property" | "statusCodes" | "operation" | "Operation" | "mapping" | "StatusCodeDescription" | "IriTemplate" | "IriTemplateMapping" | "variable" | "variableRepresentation" | "BasicRepresentation" | "ExplicitRepresentation" | "totalItems" | "Link" | "collection" | "manages" | "subject" | undefined): string;
Vocab(term?: "object" | "search" | "required" | "code" | "template" | "title" | "view" | "next" | "readable" | "apiDocumentation" | "ApiDocumentation" | "description" | "method" | "Class" | "member" | "PartialCollectionView" | "Collection" | "first" | "last" | "previous" | "entrypoint" | "SupportedProperty" | "supportedProperty" | "SupportedOperation" | "supportedClass" | "supportedOperation" | "expects" | "returns" | "writeable" | "property" | "statusCodes" | "operation" | "Operation" | "mapping" | "StatusCodeDescription" | "IriTemplate" | "IriTemplateMapping" | "variable" | "variableRepresentation" | "BasicRepresentation" | "ExplicitRepresentation" | "totalItems" | "Link" | "collection" | "manages" | "subject" | undefined): string;
};

@@ -5,0 +5,0 @@ export declare const JsonLd: {

import { Alcaeus as Client } from './alcaeus';
import { ResourceFactory as ResourceFactoryCtor } from './ResourceFactory';
import HydraResource from './Resources/HydraResource';
export declare let Vocab: (term?: "object" | "search" | "required" | "code" | "template" | "title" | "view" | "next" | "writable" | "readable" | "apiDocumentation" | "ApiDocumentation" | "description" | "method" | "Class" | "member" | "PartialCollectionView" | "Collection" | "first" | "last" | "previous" | "entrypoint" | "SupportedProperty" | "supportedProperty" | "SupportedOperation" | "supportedClass" | "supportedOperation" | "expects" | "returns" | "property" | "statusCodes" | "operation" | "Operation" | "mapping" | "StatusCodeDescription" | "IriTemplate" | "IriTemplateMapping" | "variable" | "variableRepresentation" | "BasicRepresentation" | "ExplicitRepresentation" | "totalItems" | "Link" | "collection" | "manages" | "subject" | undefined) => string;
export declare let Vocab: (term?: "object" | "search" | "required" | "code" | "template" | "title" | "view" | "next" | "readable" | "apiDocumentation" | "ApiDocumentation" | "description" | "method" | "Class" | "member" | "PartialCollectionView" | "Collection" | "first" | "last" | "previous" | "entrypoint" | "SupportedProperty" | "supportedProperty" | "SupportedOperation" | "supportedClass" | "supportedOperation" | "expects" | "returns" | "writeable" | "property" | "statusCodes" | "operation" | "Operation" | "mapping" | "StatusCodeDescription" | "IriTemplate" | "IriTemplateMapping" | "variable" | "variableRepresentation" | "BasicRepresentation" | "ExplicitRepresentation" | "totalItems" | "Link" | "collection" | "manages" | "subject" | undefined) => string;
export declare let ResourceFactory: typeof ResourceFactoryCtor;

@@ -6,0 +6,0 @@ export declare let Resource: typeof HydraResource;

@@ -133,5 +133,5 @@ import { Maybe } from 'tsmonad';

/**
* Gets the resoruce on which the operation will be invoked
* Gets the resource on which the operation will be invoked
*/
target: IResource;
target: HydraResource;
}

@@ -138,0 +138,0 @@ export interface ICollection {

import { IHydraClient } from '../alcaeus';
import { HydraResource, IOperation, SupportedOperation } from './index';
import { IResource } from './Resource';
export declare class Operation implements IOperation {

@@ -13,4 +12,4 @@ constructor(supportedOperation: SupportedOperation, alcaeus: IHydraClient, resource: HydraResource);

readonly supportedOperation: SupportedOperation;
readonly target: IResource;
readonly target: HydraResource;
invoke(body: BodyInit, mediaType?: string): any;
}

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

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