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

pragma-schema

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pragma-schema - npm Package Compare versions

Comparing version 1.0.57 to 1.0.58

2

package.json
{
"name": "pragma-schema",
"version": "1.0.57",
"version": "1.0.58",
"description": "utility for building pragma schema structures",

@@ -5,0 +5,0 @@ "main": "commonjs/src/schema.js",

@@ -42,5 +42,6 @@ class IdObject {

export class Lookup extends IdObject {
constructor(id, name, perspective, template, remote) {
constructor(id, name, title, perspective, template, remote) {
super(id);
this.name = name;
this.title = title;
this.mapping = {};

@@ -110,5 +111,5 @@ this.perspective = perspective;

add(name, perspective, template, remote) {
add(name, title, perspective, template, remote) {
const id = this.length + 1;
const itemToAdd = new Lookup(id, name, perspective, template, remote);
const itemToAdd = new Lookup(id, name, title, perspective, template, remote);
this.push(itemToAdd);

@@ -115,0 +116,0 @@ return itemToAdd;

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