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

@dbml/core

Package Overview
Dependencies
Maintainers
0
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 3.7.2 to 3.7.3

2

lib/parse/Parser.js

@@ -53,3 +53,3 @@ "use strict";

case 'dbmlv2':
rawDatabase = Parser.parseDBMLToJSONv2(str, this.dbmlCompiler);
rawDatabase = Parser.parseDBMLToJSONv2(str, this.DBMLCompiler);
break;

@@ -56,0 +56,0 @@ case 'schemarb':

{
"name": "@dbml/core",
"version": "3.7.2",
"version": "3.7.3",
"description": "> TODO: description",

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

"dependencies": {
"@dbml/parse": "^3.7.2",
"@tediousjs/connection-string": "^0.5.0",
"@dbml/parse": "^3.7.3",
"antlr4": "^4.13.1",

@@ -64,3 +63,3 @@ "lodash": "^4.17.15",

},
"gitHead": "b616bcee47dbf0ffc924d10daa0b5836de002fc1",
"gitHead": "b9e7ed2421f83872b3319510155225a228d3e75e",
"engines": {

@@ -67,0 +66,0 @@ "node": ">=16"

# @dbml/core
See our website [@dbml/core](https://dbml.dbdiagram.io/js-module/#core) for more information
See our website [@dbml/core](https://dbml.dbdiagram.io/js-module/core) for more information
## Installation
```shell
```bash
npm install @dbml/core

@@ -11,2 +12,2 @@

yarn add @dbml/core
```
```
declare function _import(str: string, format: 'dbml' | 'mysql' | 'postgres' | 'json' | 'mssql' | 'postgresLegacy'): string;
declare function generateDbml(schemaJson: string): string;
/**
* @param {any} schemaJson
* @description Type of schemaJson is `DatabaseSchema`.
* The type definition of `DatabaseSchema` object can be found [here](https://github.com/holistics/dbml/blob/a4dcb110f1d79f5d95b0d3db4b919914439e039d/packages/dbml-connector/src/connectors/types.ts#L89)
*/
declare function generateDbml(schemaJson: any): string;
declare const _default: {

@@ -4,0 +10,0 @@ import: typeof _import;

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