@bettercms-ai/convert 0.20.0 → 0.20.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @bettercms-ai/convert
2
2
 
3
+ ## 0.20.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 12147f7: The x-ray counts a bare number (a `49` price, a `5` rating) as copy. Only a zero-padded (`01`) or punctuated (`2.`, `3 /`) step marker is an ornament.
8
+
3
9
  ## 0.20.0
4
10
 
5
11
  ### Minor Changes
package/dist/cli.js CHANGED
@@ -7100,7 +7100,7 @@ var CONTEXT_TAGS = /* @__PURE__ */ new Set([
7100
7100
  var BOUND_ATTRS = ["data-bcms-field", "data-bcms-layout-field"];
7101
7101
  var isDecorativeGlyph = (text) => {
7102
7102
  const t = flat2(text);
7103
- return t === "" || !/[\p{L}\p{N}]/u.test(t) || new RegExp("^\\p{Nd}{1,2}\\s*[/.)\\-\u2013\u2014]?$", "u").test(t);
7103
+ return t === "" || !/[\p{L}\p{N}]/u.test(t) || new RegExp("^(?:0\\p{Nd}|\\p{Nd}{1,2}\\s*[/.)\\-\u2013\u2014])$", "u").test(t);
7104
7104
  };
7105
7105
  var PLATFORM_BADGE = /^made with\b/iu;
7106
7106
  var MAX_BUCKETS = 12;
@@ -10176,7 +10176,7 @@ function styleEdits(before, after) {
10176
10176
  // package.json
10177
10177
  var package_default = {
10178
10178
  name: "@bettercms-ai/convert",
10179
- version: "0.20.0",
10179
+ version: "0.20.1",
10180
10180
  type: "module",
10181
10181
  description: "Deterministic codemod that turns an imported site's text-matched bindings into declared ones \u2014 parser offsets in, one magic-string pass out, plus a receipt of everything it could not do.",
10182
10182
  bin: {