@dbml/core 3.8.1 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,8 +44,7 @@ var DbmlExporter = /*#__PURE__*/function () {
44
44
  // Only safe chars, no simple quotes nor CR/LF
45
45
  return "'".concat(newStr, "'");
46
46
  }
47
- // see https://dbml.dbdiagram.io/docs/#multi-line-string
48
- newStr = newStr.replaceAll("'''", "\\'''");
47
+ newStr = newStr.replaceAll("'", "\\'");
49
48
  newStr = newStr.replaceAll('\r\n', '\n'); // turn all CRLF to LF
50
49
  return "'''".concat(newStr, "'''");
51
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbml/core",
3
- "version": "3.8.1",
3
+ "version": "3.9.0",
4
4
  "description": "> TODO: description",
5
5
  "author": "Holistics <dev@holistics.io>",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  "prepublish": "npm run build"
33
33
  },
34
34
  "dependencies": {
35
- "@dbml/parse": "^3.8.1",
35
+ "@dbml/parse": "^3.9.0",
36
36
  "antlr4": "^4.13.1",
37
37
  "lodash": "^4.17.15",
38
38
  "parsimmon": "^1.13.0",
@@ -59,7 +59,7 @@
59
59
  "\\.(?!json$)[^.]*$": "@glen/jest-raw-loader"
60
60
  }
61
61
  },
62
- "gitHead": "40a25ded1488372f082739f6d43e45f2ad918e7e",
62
+ "gitHead": "d40aaa3827853d17fa385aa27ae1e099c9234e4b",
63
63
  "engines": {
64
64
  "node": ">=16"
65
65
  }