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

@dbml/core

Package Overview
Dependencies
Maintainers
6
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dbml/core - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

8

lib/model_structure/schema.js

@@ -188,3 +188,9 @@ "use strict";

})) {
ref.error('Reference with same endpoints duplicated');
var endpoint1 = ref.endpoints[0];
var fieldList1 = endpoint1.fieldNames.map(JSON.stringify).join(', ');
var endpoint2 = ref.endpoints[1];
var fieldList2 = endpoint2.fieldNames.map(JSON.stringify).join(', ');
var ref1 = "\"".concat(endpoint1.schemaName ? "".concat(endpoint1.schemaName, "\".\"") : '').concat(endpoint1.tableName, "\"(").concat(fieldList1, ")");
var ref2 = "\"".concat(endpoint2.schemaName ? "".concat(endpoint2.schemaName, "\".\"") : '').concat(endpoint2.tableName, "\"(").concat(fieldList2, ")");
ref.error("Reference with the same endpoints already exists: ".concat(ref1, " references ").concat(ref2));
}

@@ -191,0 +197,0 @@ }

4

package.json
{
"name": "@dbml/core",
"version": "2.5.0",
"version": "2.5.1",
"description": "> TODO: description",

@@ -59,3 +59,3 @@ "author": "Holistics <dev@holistics.io>",

},
"gitHead": "b78340400449b8ef88f785556916a3a91c925c9a"
"gitHead": "20f0629567b59fb2669d6f1e3db213506255b877"
}
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