@tricoteuses/tisseuse 0.14.3 → 0.14.5

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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, A as t, At as n, B as r, Bt as i, Dt as a, Et as o, F as s, Ft as c, G as l, H as u, Ht as d, I as f, It as p, K as m, L as ee, Lt as te, M as ne, Mt as re, N as ie, Nt as ae, O as oe, Ot as se, P as ce, Pt as le, Q as ue, R as de, Rt as fe, St as pe, Tt as me, U as he, Ut as ge, V as _e, Vt as ve, W as ye, X as be, Y as xe, Z as Se, _t as Ce, a as we, at as Te, b as Ee, bt as De, c as Oe, ct as ke, d as Ae, dt as je, f as Me, ft as Ne, g as Pe, gt as h, h as Fe, ht as g, i as _, it as Ie, j as Le, jt as Re, k as ze, kt as Be, l as v, lt as Ve, m as He, mt as Ue, n as We, nt as Ge, o as Ke, ot as qe, p as Je, pt as Ye, q as Xe, r as Ze, rt as Qe, s as $e, st as et, t as tt, tt as nt, u as rt, ut as it, vt as at, wt as ot, xt as st, yt as ct, z as lt, zt as ut } from "./html-IERGWCi4.js";
1
+ import { $ as e, A as t, At as n, B as r, Bt as i, Dt as a, Et as o, F as s, Ft as c, G as l, H as u, Ht as d, I as f, It as p, K as m, L as ee, Lt as te, M as ne, Mt as re, N as ie, Nt as ae, O as oe, Ot as se, P as ce, Pt as le, Q as ue, R as de, Rt as fe, St as pe, Tt as me, U as he, Ut as ge, V as _e, Vt as ve, W as ye, X as be, Y as xe, Z as Se, _t as Ce, a as we, at as Te, b as Ee, bt as De, c as Oe, ct as ke, d as Ae, dt as je, f as Me, ft as Ne, g as Pe, gt as h, h as Fe, ht as g, i as _, it as Ie, j as Le, jt as Re, k as ze, kt as Be, l as v, lt as Ve, m as He, mt as Ue, n as We, nt as Ge, o as Ke, ot as qe, p as Je, pt as Ye, q as Xe, r as Ze, rt as Qe, s as $e, st as et, t as tt, tt as nt, u as rt, ut as it, vt as at, wt as ot, xt as st, yt as ct, z as lt, zt as ut } from "./html-CsSi8pXx.js";
2
2
  import { $ as dt, A as ft, At as pt, B as mt, C as ht, Ct as y, D as b, E as gt, Et as x, F as S, Ft as C, G as _t, H as vt, I as w, J as yt, K as bt, M as xt, Mt as St, N as Ct, Nt as wt, O as Tt, P as Et, Pt as Dt, Q as T, S as Ot, St as kt, T as At, Tt as E, W as jt, X as Mt, Y as Nt, Z as Pt, _ as D, a as Ft, b as It, bt as Lt, c as Rt, ct as zt, d as Bt, dt as Vt, f as Ht, ft as Ut, g as Wt, gt as O, h as Gt, i as Kt, it as qt, j as Jt, jt as k, k as Yt, kt as A, l as Xt, lt as Zt, m as Qt, o as $t, ot as en, p as tn, q as nn, r as rn, s as an, t as on, tt as sn, u as cn, ut as ln, v as j, vt as un, w as dn, wt as M, x as fn, y as pn, yt as mn, z as hn } from "./resolver-CLdkzY2R.js";
3
3
  //#region ../../node_modules/@tricoteuses/legifrance/dist/legal/index.js
4
4
  function gn(e, t) {
package/dist/server.js CHANGED
@@ -1,4 +1,4 @@
1
- import { At as e, C as t, Ct as n, D as r, E as i, J as a, P as o, Q as s, S as c, T as l, W as u, _ as d, _t as f, a as p, bt as m, c as h, d as g, et as _, jt as ee, m as v, n as y, o as b, pt as x, q as te, t as ne, v as S, vt as re, w as ie, x as ae, y as oe, yt as C } from "./html-IERGWCi4.js";
1
+ import { At as e, C as t, Ct as n, D as r, E as i, J as a, P as o, Q as s, S as c, T as l, W as u, _ as d, _t as f, a as p, bt as m, c as h, d as g, et as _, jt as ee, m as v, n as y, o as b, pt as x, q as te, t as ne, v as S, vt as re, w as ie, x as ae, y as oe, yt as C } from "./html-CsSi8pXx.js";
2
2
  import { Ct as w, D as se, E as ce, N as le, Q as ue, Tt as T, gt as E, i as de, j as fe, jt as D, kt as O, n as pe, ot as me, pt as he, r as ge, t as _e, wt as k } from "./resolver-CLdkzY2R.js";
3
3
  import * as ve from "node:crypto";
4
4
  import { createHash as A } from "node:crypto";
@@ -52,6 +52,7 @@ export type ActionOperation = (ActionOperationTarget & {
52
52
  targetText: string;
53
53
  replacementText: string;
54
54
  replacement: ActionReplacement;
55
+ occurrenceIndex?: number;
55
56
  targetOccurrenceCount?: number;
56
57
  targetScope?: ActionTargetScope;
57
58
  tableTarget?: ActionTableTarget;
@@ -96,6 +97,7 @@ export type ResolvedActionDirective = (ActionDirectiveCommon & {
96
97
  targetText: string;
97
98
  replacementText: string;
98
99
  replacement: ActionReplacement;
100
+ occurrenceIndex?: number;
99
101
  targetOccurrenceCount?: number;
100
102
  targetScope?: ActionTargetScope;
101
103
  tableTarget?: ActionTableTarget;
@@ -28,6 +28,7 @@ export type TextAstActionDirectiveOperation = {
28
28
  targetCitation?: TextAstCitation;
29
29
  } | {
30
30
  kind: "replace";
31
+ occurrenceIndex?: number;
31
32
  replacementCitation: TextAstCitation;
32
33
  targetOccurrenceCount?: number;
33
34
  targetCitation: TextAstCitation;
@@ -7,6 +7,9 @@ export type LegalTextAliasInfo = {
7
7
  };
8
8
  export declare const legalTextAliasRegExpSource: string;
9
9
  export declare const cgiAnnexInfoByRomanNumber: Record<string, LegalTextAliasInfo>;
10
- export declare function legalTextInfoFromAlias(value: string): LegalTextAliasInfo | undefined;
11
- export declare function legalTextFromAlias(value: string, position: TextAstPosition["position"]): (TextAstText & TextAstPosition) | undefined;
10
+ export declare function legalTextInfoFromAlias(value: string, context?: {
11
+ input: string;
12
+ position: TextAstPosition["position"];
13
+ }): LegalTextAliasInfo | undefined;
14
+ export declare function legalTextFromAlias(value: string, position: TextAstPosition["position"], input?: string): (TextAstText & TextAstPosition) | undefined;
12
15
  export declare const texteFrancaisAbrege: TextParser<import('./ast.js').TextAst>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tricoteuses/tisseuse",
3
3
  "description": "Find links in/to French legislative documents",
4
- "version": "0.14.3",
4
+ "version": "0.14.5",
5
5
  "keywords": [
6
6
  "Assemblée nationale",
7
7
  "France",