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

@mcma/core

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/core - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

7

index.d.ts

@@ -89,3 +89,6 @@ export abstract class Resource {

export class Locator extends Resource {
constructor(properties: any);
constructor();
constructor(type: string);
constructor(properties: object);
constructor(type: string, properties: object);

@@ -123,3 +126,3 @@ [key: string]: any;

export abstract class JobBase extends Resource implements JobBaseProperties {
constructor(properties: JobBaseProperties);
protected constructor(type: string, properties: JobBaseProperties);
notificationEndpoint?: NotificationEndpointProperties;

@@ -126,0 +129,0 @@ status?: string;

@@ -65,3 +65,3 @@ //"use strict";

for (const prop in properties) {
if (prop !== "@type") {
if (properties.hasOwnProperty(prop) && prop !== "@type") {
this[prop] = properties[prop];

@@ -74,2 +74,4 @@ }

this.onUpsert = (id) => onResourceUpsert(this, id);
this.checkProperty = (propertyName, expectedType, required) => checkProperty(this, propertyName, expectedType, required);
}

@@ -138,4 +140,8 @@ }

class Locator extends Resource {
constructor(properties) {
super("Locator", properties);
constructor(type, properties) {
if (typeof type === "object" && !properties) {
properties = type;
type = "Locator";
}
super(type, properties);
}

@@ -142,0 +148,0 @@ }

{
"name": "@mcma/core",
"version": "0.5.4",
"version": "0.5.5",
"description": "Node module with type definitions and helper utils for the EBU MCMA framework",

@@ -17,6 +17,6 @@ "engines": {

"keywords": [
"mcma",
"awsv4"
"ebu",
"mcma"
],
"author": "Joost Rovers <joost.rovers@glookast.com>",
"author": "Joost Rovers <joost@rovers.pt>",
"license": "Apache-2.0",

@@ -23,0 +23,0 @@ "bugs": {

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