@tricoteuses/tisseuse 0.12.9 → 0.12.10

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.
@@ -10768,22 +10768,25 @@ function jp(e) {
10768
10768
  var Mp = il(gc((e, t, n, r) => t._useHtmlParser2 ? Fa(e, t) : kp(e, t, n, r)), (e, t) => t._useHtmlParser2 ? Ir(e, t) : jp(e)), Np = x(String.raw`^« ?([^»\n]+)`, {
10769
10769
  flags: "dm",
10770
10770
  value: (e) => {
10771
- let t = e.indices[1][1];
10772
- return e[1].endsWith(" ") && t--, { position: {
10773
- start: e.indices[1][0],
10774
- stop: t
10771
+ let t = e.indices[1], n = t[1];
10772
+ return e[1].endsWith(" ") && n--, { position: {
10773
+ start: t[0],
10774
+ stop: n
10775
10775
  } };
10776
10776
  }
10777
10777
  }), Pp = x(String.raw`« ?(.*?) ?»`, {
10778
10778
  flags: "d",
10779
- value: (e, t) => ({
10780
- content: [{ position: {
10781
- start: e.indices[1][0],
10782
- stop: e.indices[1][1]
10783
- } }],
10784
- position: t.position(),
10785
- type: "citation"
10786
- })
10779
+ value: (e, t) => {
10780
+ let n = e.indices[1];
10781
+ return {
10782
+ content: [{ position: {
10783
+ start: n[0],
10784
+ stop: n[1]
10785
+ } }],
10786
+ position: t.position(),
10787
+ type: "citation"
10788
+ };
10789
+ }
10787
10790
  }), Fp = _(v([S(Np, {
10788
10791
  separator: x(String.raw`»?\n`),
10789
10792
  value: (e) => e.map((e, t) => t === 0 ? e : e[1])
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bt as o, C as s, Cn as c, Ct as l, D as u, Dn as d, Dt as f, E as p, En as m, Et as h, F as g, Fn as ee, Ft as te, G as ne, Gt as re, H as ie, Ht as ae, I as oe, In as _, It as se, J as ce, Jt as le, K as ue, Kt as de, L as fe, Lt as v, M as pe, Mn as me, Mt as y, N as he, Nn as ge, Nt as b, O as _e, On as ve, Ot as ye, P as be, Pn as xe, Pt as Se, Q as Ce, Qt as we, R as Te, Rt as Ee, S as De, Sn as x, St as Oe, T as ke, Tn as Ae, Tt as je, U as Me, Ut as Ne, V as Pe, Vt as S, W as Fe, Wt as Ie, X as Le, Xt as Re, Y as ze, Yt as Be, Z as Ve, Zt as He, _ as Ue, _n as C, _t as We, a as Ge, an as Ke, at as qe, b as Je, bn as Ye, bt as Xe, c as Ze, cn as Qe, ct as $e, d as et, dn as tt, dt as nt, en as rt, et as it, f as at, fn as ot, ft as st, g as ct, gn as w, gt as lt, h as ut, hn as dt, ht as ft, i as T, in as pt, it as mt, j as E, jn as ht, jt as gt, k as _t, kn as D, kt as vt, l as yt, ln as bt, lt as xt, m as St, mn as Ct, mt as wt, n as Tt, nn as Et, nt as Dt, o as Ot, on as kt, ot as At, p as jt, pn as Mt, pt as Nt, q as Pt, qt as Ft, r as It, rn as Lt, rt as Rt, s as zt, sn as Bt, st as Vt, t as Ht, tn as Ut, tt as Wt, u as Gt, un as Kt, ut as qt, v as Jt, vn as O, vt as Yt, w as Xt, wn as Zt, wt as Qt, x as $t, xn as en, xt as tn, y as nn, yn as rn, yt as an, z as on, zt as sn } from "./html-D3MxsPeu.js";
1
+ import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bt as o, C as s, Cn as c, Ct as l, D as u, Dn as d, Dt as f, E as p, En as m, Et as h, F as g, Fn as ee, Ft as te, G as ne, Gt as re, H as ie, Ht as ae, I as oe, In as _, It as se, J as ce, Jt as le, K as ue, Kt as de, L as fe, Lt as v, M as pe, Mn as me, Mt as y, N as he, Nn as ge, Nt as b, O as _e, On as ve, Ot as ye, P as be, Pn as xe, Pt as Se, Q as Ce, Qt as we, R as Te, Rt as Ee, S as De, Sn as x, St as Oe, T as ke, Tn as Ae, Tt as je, U as Me, Ut as Ne, V as Pe, Vt as S, W as Fe, Wt as Ie, X as Le, Xt as Re, Y as ze, Yt as Be, Z as Ve, Zt as He, _ as Ue, _n as C, _t as We, a as Ge, an as Ke, at as qe, b as Je, bn as Ye, bt as Xe, c as Ze, cn as Qe, ct as $e, d as et, dn as tt, dt as nt, en as rt, et as it, f as at, fn as ot, ft as st, g as ct, gn as w, gt as lt, h as ut, hn as dt, ht as ft, i as T, in as pt, it as mt, j as E, jn as ht, jt as gt, k as _t, kn as D, kt as vt, l as yt, ln as bt, lt as xt, m as St, mn as Ct, mt as wt, n as Tt, nn as Et, nt as Dt, o as Ot, on as kt, ot as At, p as jt, pn as Mt, pt as Nt, q as Pt, qt as Ft, r as It, rn as Lt, rt as Rt, s as zt, sn as Bt, st as Vt, t as Ht, tn as Ut, tt as Wt, u as Gt, un as Kt, ut as qt, v as Jt, vn as O, vt as Yt, w as Xt, wn as Zt, wt as Qt, x as $t, xn as en, xt as tn, y as nn, yn as rn, yt as an, z as on, zt as sn } from "./html-DAKCS7I8.js";
2
2
  //#region ../../node_modules/@tricoteuses/legifrance/dist/legal/index.js
3
3
  function cn(e, t) {
4
4
  if (e != null) {
package/dist/server.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, a as t, g as n, gn as r, o as i, t as a } from "./html-D3MxsPeu.js";
1
+ import { $ as e, a as t, g as n, gn as r, o as i, t as a } from "./html-DAKCS7I8.js";
2
2
  import * as o from "node:crypto";
3
3
  import s from "fs-extra";
4
4
  import c from "node:path";
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.12.9",
4
+ "version": "0.12.10",
5
5
  "keywords": [
6
6
  "Assemblée nationale",
7
7
  "France",
@@ -67,10 +67,10 @@
67
67
  "@tricoteuses/legifrance": "^0.18.7",
68
68
  "@tricoteuses/senat": "^3.1.11",
69
69
  "@types/fs-extra": "^11.0.4",
70
- "@types/node": "^25.8.0",
70
+ "@types/node": "^25.9.0",
71
71
  "@types/papaparse": "^5.5.2",
72
- "@typescript-eslint/eslint-plugin": "^8.59.2",
73
- "@typescript-eslint/parser": "^8.59.2",
72
+ "@typescript-eslint/eslint-plugin": "^8.59.3",
73
+ "@typescript-eslint/parser": "^8.59.3",
74
74
  "cheerio": "^1.2.0",
75
75
  "dedent-js": "^1.0.1",
76
76
  "dotenv": "^17.4.2",
@@ -80,7 +80,7 @@
80
80
  "postgres": "^3.4.9",
81
81
  "prettier": "^3.8.3",
82
82
  "sade": "^1.8.1",
83
- "tsx": "^4.22.0",
83
+ "tsx": "^4.22.1",
84
84
  "typescript": "^6.0.3",
85
85
  "typesense": "^3.0.6",
86
86
  "vite": "^8.0.13",