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

@mcma/api

Package Overview
Dependencies
Maintainers
3
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcma/api - npm Package Compare versions

Comparing version 0.14.8 to 0.15.0

2

dist/lib/config-variables-ext.js

@@ -6,4 +6,4 @@ "use strict";

function getPublicUrl(configVariables = core_1.ConfigVariables.getInstance()) {
return configVariables.get("PublicUrl");
return configVariables.get("MCMA_PUBLIC_URL");
}
exports.getPublicUrl = getPublicUrl;

@@ -10,9 +10,9 @@ import { McmaResource, McmaResourceType } from "@mcma/core";

export declare class DefaultRouteCollection<T extends McmaResource> extends McmaApiRouteCollection {
query: DefaultQueryRoute<T>;
create: DefaultCreateRoute<T>;
get: DefaultGetRoute<T>;
update: DefaultUpdateRoute<T>;
delete: DefaultDeleteRoute<T>;
query?: DefaultQueryRoute<T>;
create?: DefaultCreateRoute<T>;
get?: DefaultGetRoute<T>;
update?: DefaultUpdateRoute<T>;
delete?: DefaultDeleteRoute<T>;
constructor(dbTableProvider: DocumentDatabaseTableProvider, resourceType: McmaResourceType<T>, root?: string);
remove(key: "query" | "create" | "get" | "update" | "delete"): void;
}

@@ -41,21 +41,5 @@ "use strict";

}
switch (key) {
case "query":
this.query = null;
break;
case "create":
this.create = null;
break;
case "get":
this.get = null;
break;
case "update":
this.update = null;
break;
case "delete":
this.delete = null;
break;
}
delete this[key];
}
}
exports.DefaultRouteCollection = DefaultRouteCollection;
{
"name": "@mcma/api",
"version": "0.14.8",
"version": "0.15.0",
"description": "Node module for building APIs based on the EBU MCMA framework",
"engines": {
"node": "^14.17.0"
"node": "^16.0.0"
},

@@ -40,13 +40,13 @@ "type": "commonjs",

"peerDependencies": {
"@mcma/client": "0.14.8",
"@mcma/core": "0.14.8",
"@mcma/data": "0.14.8",
"@mcma/worker-invoker": "0.14.8"
"@mcma/client": "0.15.0",
"@mcma/core": "0.15.0",
"@mcma/data": "0.15.0",
"@mcma/worker-invoker": "0.15.0"
},
"devDependencies": {
"@mcma/client": "0.14.8",
"@mcma/core": "0.14.8",
"@mcma/data": "0.14.8",
"@mcma/worker-invoker": "0.14.8",
"@types/node": "^14.17.22",
"@mcma/client": "0.15.0",
"@mcma/core": "0.15.0",
"@mcma/data": "0.15.0",
"@mcma/worker-invoker": "0.15.0",
"@types/node": "^16.11.60",
"@types/pluralize": "0.0.29",

@@ -53,0 +53,0 @@ "@types/uuid": "^7.0.3",

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