prettier-plugin-embed 0.4.3 → 0.4.4

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.
@@ -16,8 +16,8 @@ import * as __glob__0_9 from "./noop/index.js";
16
16
  import * as __glob__0_10 from "./php/index.js";
17
17
  import * as __glob__0_11 from "./properties/index.js";
18
18
  import * as __glob__0_12 from "./ruby/index.js";
19
- import * as __glob__0_13 from "./sh/index.js";
20
- import * as __glob__0_14 from "./sql/index.js";
19
+ import * as __glob__0_13 from "./sql/index.js";
20
+ import * as __glob__0_14 from "./sh/index.js";
21
21
  import * as __glob__0_15 from "./toml/index.js";
22
22
  import * as __glob__0_16 from "./ts/index.js";
23
23
  import * as __glob__0_17 from "./xml/index.js";
package/dist/index.js CHANGED
@@ -78,7 +78,7 @@ const Y = (() => {
78
78
  function L(t = "p", n = "") {
79
79
  const r = Y(), e = Y(), o = te(t), s = te(n), l = (p) => `${t}${r}${p}${e}${n}`, d = new RegExp(
80
80
  `${o}${r}(\\d+)${e}${s}`,
81
- "g"
81
+ "ig"
82
82
  );
83
83
  return {
84
84
  createPlaceholder: l,
@@ -423,7 +423,10 @@ const { line: ae, group: k, indent: de, softline: le } = I, tn = async (t, n, r,
423
423
  ]);
424
424
  };
425
425
  function jn() {
426
- const t = Y(), n = Y(), r = (o) => `'0${t}${o}${n}'`, e = new RegExp(`["']?0${t}(\\d+)${n}['"]?`, "g");
426
+ const t = Y(), n = Y(), r = (o) => `'0${t}${o}${n}'`, e = new RegExp(
427
+ `["']?0${t}(\\d+)${n}['"]?`,
428
+ "ig"
429
+ );
427
430
  return {
428
431
  createPlaceholder: r,
429
432
  placeholderRegex: e
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "prettier-plugin-embed",
3
3
  "description": "A configurable Prettier plugin to format embedded languages in js/ts files.",
4
4
  "private": false,
5
- "version": "0.4.3",
5
+ "version": "0.4.4",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "./dist"