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 1.0.0-alpha.1 to 1.0.0-alpha.2

7

CHANGELOG.md

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

## [1.0.0-alpha.2](https://github.com/wikibus/alcaeus/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2020-01-17)
### Bug Fixes
* **resource:** getArray should only return resources ([aa1f860](https://github.com/wikibus/alcaeus/commit/aa1f86034193ef2ca29bbc7e4a6214f4798d14f3))
## [1.0.0-alpha.1](https://github.com/wikibus/alcaeus/compare/v1.0.0-alpha.0...v1.0.0-alpha.1) (2020-01-17)

@@ -7,0 +14,0 @@

2

lib/es/index.js

@@ -5,3 +5,2 @@ import { ResourceFactory } from '@tpluscode/rdfine';

import { createHydraResourceMixin } from './Resources/HydraResource';
import { hydra } from './Vocabs';
import RdfProcessor from './MediaTypeProcessors/RdfProcessor';

@@ -17,3 +16,2 @@ import * as mixins from './ResourceFactoryDefaults';

};
export const Vocab = hydra;
export const Hydra = (rootSelectors = defaultRootSelectors, mediaTypeProcessors = defaultProcessors) => {

@@ -20,0 +18,0 @@ let factory;

@@ -35,2 +35,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

const values = this._node.out(propertyNode)
.filter(({ term }) => term.termType === 'NamedNode' || term.termType === 'BlankNode')
.map(obj => {

@@ -37,0 +38,0 @@ return this._create(obj);

@@ -17,3 +17,2 @@ "use strict";

const HydraResource_1 = require("./Resources/HydraResource");
const Vocabs_1 = require("./Vocabs");
const RdfProcessor_1 = __importDefault(require("./MediaTypeProcessors/RdfProcessor"));

@@ -31,3 +30,2 @@ const mixins = __importStar(require("./ResourceFactoryDefaults"));

};
exports.Vocab = Vocabs_1.hydra;
exports.Hydra = (rootSelectors = defaultRootSelectors, mediaTypeProcessors = defaultProcessors) => {

@@ -34,0 +32,0 @@ let factory;

@@ -40,2 +40,3 @@ "use strict";

const values = this._node.out(propertyNode)
.filter(({ term }) => term.termType === 'NamedNode' || term.termType === 'BlankNode')
.map(obj => {

@@ -42,0 +43,0 @@ return this._create(obj);

{
"name": "alcaeus",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Hydra Core hypermedia-aware client library",

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

@@ -1,2 +0,1 @@

/// <reference types="rdfjs__namespace" />
import { Alcaeus } from './alcaeus';

@@ -7,3 +6,2 @@ import RdfProcessor from './MediaTypeProcessors/RdfProcessor';

export { ResourceIdentifier } from '@tpluscode/rdfine';
export declare const Vocab: import("@rdfjs/namespace").NamespaceBuilder;
export declare const Hydra: (rootSelectors?: import("./RootSelectors").IRootSelector[], mediaTypeProcessors?: {

@@ -10,0 +8,0 @@ RDF: RdfProcessor;

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