New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fims-core

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fims-core - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

42

lib/fims-core.js

@@ -51,17 +51,20 @@ //"use strict";

// General definition
"id": "@id",
"type": "@type",
"name": "rdfs:label",
"label": "rdfs:label",
"url": "xs:anyURI",
"dateCreated": {
"@id": "ebucore:dateCreated",
"@type": "xsd:dateTime"
},
"dateModified": {
"@id": "ebucore:dateModified",
"@type": "xsd:dateTime"
},
// EBUcore definitions
"BMContent": "ebucore:BMContent",
"BMEssence": "ebucore:BMEssence",
"dateCreated": "ebucore:dateCreated",
"dateModified": "ebucore:dateModified",
// FIMS definitions
"Service": "fims:Service",

@@ -179,5 +182,2 @@ "hasResource": {

"BMEssence": "ebucore:BMEssence",
"locator": "ebucore:locator",
"asyncEndpoint": "fims:hasAsyncEndpoint",

@@ -325,6 +325,6 @@ "AsyncEndpoint": "fims:AsyncEndpoint",

function Service(name, hasResource, acceptsJobType, acceptsJobProfile, inputLocation, outputLocation) {
function Service(label, hasResource, acceptsJobType, acceptsJobProfile, inputLocation, outputLocation) {
this["@context"] = internalContext;
this.type = "Service";
this.name = name;
this.label = label;
this.hasResource = hasResource;

@@ -337,13 +337,13 @@ this.acceptsJobType = acceptsJobType;

function ServiceResource(resourceType, locator) {
function ServiceResource(resourceType, url) {
this["@context"] = internalContext;
this.type = "ServiceResource";
this.resourceType = resourceType;
this.locator = locator;
this.url = url;
}
function JobProfile(name, hasInputParameter, hasOutputParameter, hasOptionalInputParameter) {
function JobProfile(label, hasInputParameter, hasOutputParameter, hasOptionalInputParameter) {
this["@context"] = internalContext;
this.type = "JobProfile";
this.name = name;
this.label = label;
this.hasInputParameter = hasInputParameter;

@@ -766,3 +766,3 @@ this.hasOutputParameter = hasOutputParameter;

function getJobProfilesByName(jobType, jobProfileName, callback) {
function getJobProfilesByLabel(jobType, jobProfileLabel, callback) {
var jobProfiles = [];

@@ -795,3 +795,3 @@

(jobProfile, callback) => {
if (jobProfile.name !== jobProfileName) {
if (jobProfile.label !== jobProfileLabel) {
return callback();

@@ -861,3 +861,3 @@ }

canServiceAcceptJob: canServiceAcceptJob,
getJobProfilesByName: getJobProfilesByName
getJobProfilesByLabel: getJobProfilesByLabel
}
{
"name": "fims-core",
"version": "0.0.4",
"version": "0.0.5",
"description": "Node module with type definitions and helper utils for fims",

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

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