feat: add elm-pages documentation site #86
Annotations
10 errors and 11 warnings
|
ci:
packages/docs-site/.elm-pages/compiled/render.mjs#L15
'v' is defined but never used
|
|
ci:
packages/docs-site/.elm-pages/compiled/render.mjs#L15
Expected an assignment or function call and instead saw an expression
|
|
ci:
packages/docs-site/.elm-pages/compiled/render.mjs#L15
Replace `?p.stderr.toString():""}`};let·P=await·$n.promises.readFile(d);return·Lf.createHash("sha256").update(P).digest("hex")}finally{try{await·$n.promises.unlink(o)}catch{}try{await·$n.promises.unlink(d)}catch{}}}async·function·l4(l,v,o,d){if(l===v)return{compatible:!0,needsMetaUpdate:!1};let·p=await·fy(o),P=Ma.join(o,"elm-stuff","elm-pages"),A;try{A=await·ky(P,d)}catch(x){throw·x.title?x:{title:"Schema·verification·failed",message:`Could·not·compile·witness·module·to·verify·schema·compatibility:·${x.message||x}`}}return·p&&p.compiledHash?A===p.compiledHash?(await·Cf(o,l,A),{compatible:!0,needsMetaUpdate:!0}):{compatible:!1,needsMetaUpdate:!1}:(await·Cf(o,l,A),{compatible:!1,needsMetaUpdate:!1})}var·vy,Of,my,vu=px(()=>{vy="db-schema-meta.json";Of="db",my=Ma.join(Of,"schema-history")});var·Hy=kx(jy=>{(function(l){"use·strict";function·v(r,e,n){return·n.a=r,n.f=e,n}function·o(r){var·e=function(n){return·function(a){return·r(n,a)}};return·e.a2=r,e}function·d(r){var·e=function(n){return·function(a){return·function(t){return·r(n,a,t)}}};return·e.a3=r,e}function·p(r){var·e=function(n){return·function(a){return·function(t){return·function($){return·r(n,a,t,$)}}}};return·e.a4=r,e}function·P(r){var·e=function(n){return·function(a){return·function(t){return·function($){return·function(i){return·r(n,a,t,$,i)}}}}};return·e.a5=r,e}function·A(r){var·e=function(n){return·function(a){return·function(t){return·function($){return·function(i){return·function(s){return·r(n,a,t,$,i,s)}}}}}};return·e.a6=r,e}function·x(r){var·e=function(n){return·function(a){return·function(t){return·function($){return·function(i){return·function(s){return·function(f){return·r(n,a,t,$,i,s,f)}}}}}}};return·e.a7=r,e}function·G(r){var·e=function(n){return·function(a){return·function(t){return·function($){return·function(i){return·function(s){return·function(f){return·function(m){return·r(n,a,t,$,i,s,f,m)}}}}}}}};return·e.a8=r,e}function·H(r){var·e=function(n){return·function(a){return·function(t){return·function($){return·function(i){return·function(s){return·function(f){return·function(m){return·function(k){return·r(n,a,t,$,i,s,f,m,k)}}}}}}}}};return·e.a9=r,e}function·g(r,e,n){return·r.a2?r.a2(e,n):r(e)(n)}function·J(r,e,n,a){return·r.a3?r.a3(e,n,a):r(e)(n)(a)}function·U(r,e,n,a,t){return·r.a4?r.a4(e,n,a,t):r(e)(n)(a)(t)}function·er(r,e,n,a,t,$){return·r.a5?r.a5(e,n,a,t,$):r(e)(n)(a)(t)($)}function·Rr(r,e,n,a,t,$,i){return·r.a6?r.a6(e,n,a,t,$,i):r(e)(n)(a)(t)($)(i)}function·Yr(r,e,n,a,t,$,i,s){return·r.a7?r.a7(e,n,a,t,$,i,s):r(e)(n)(a)(t)($)(i)(s)}function·Pr(r,e,n,a,t,$,i,s,f){return·r.a8?r.a8(e,n,a,t,$,i,s,f):r(e)(n)(a)(t)($)(i)(s)(f)}function·Xr(r,e,n,a,t,$,i,s,f,m){return·r.a9?r.a9(e,n,a,t,$,i,s,f,m):r(e)(n)(a)(t)($)(i)(s)(f)(m)}var·$e=[];function·ea(r){return[r]}function·on(r){return·r.length}var·He=function(r,e,n){for(var·a=new·Array(r),t=0;t<r;t++)a[t]=n(e+t);return·a},Mo=d(He),na=function(r,e){for(var·n=new·Array(r),a=0;a<r&&e.b;a++)n[a]=e.a,e=e.b;return·n.length=a,u(n,e)},Ia=o(na),Io=function(r,e){return·e[r]},ul=o(Io),zt=function(r,e,n){for(var·a=n.length,t=new·Array(a),$=0;$<a;$++)t[$]=n[$];return·t[r]=e,t},_t=d(zt),Yt=function(r,e){for(var·n=e.length,a=new·Array(n+1),t=0;t<n;t++)a[t]=e[t];return·a[n]=r,a},yu=o(Yt),Pu=function(r,e,n){for(var·a=n.length,t=0;t<a;t++)e=g(r,n[t],e);return·e},b5=function(r,e,n){for(var·a=n.length,t=0;t<a;t++)e=r(n[t],e);return·e},w5=d(Pu),To=function(r,e,n){for(var·a=n.length-1;a>=0;a--)e=g(r,n[a],e);return·e},y5=function(r,e,n){for(var·a=n.length-1;a>=0;a--)e=r(n[a],e);return·e},Cy=d(To),Ly=function(r,e){for(var·n=e.length,a=new·Array(n),t=0;t<n;t++)a[t]=r(e[t]);return·a},P5=o(Ly),xy=function(r,e,n){for(var·a=n.length,t=new·Array(a),$=0;$<a;$++)t[$]=g(r,e+$,n[$]);return·t},S5=function(r,e,n){for(var·a=n.length,t=new·Array(a),$=0;$<a;$++)t[$]=r(e+$,n[$]);return·t},M5=d(xy),Oy=function(r,e,n){return·n.slice(r,e)},I5=d(Oy),Fy=function(r,e,n){var·a=e.length,t=r-a;t>n.length&&
|
|
ci:
packages/docs-site/.elm-pages/compiled/render.mjs#L14
Replace `}async·function·ky(l,v){let·o=Ma.join(l,".elm-pages","ElmPagesDbWitness.elm"),d=Ma.join(l,".elm-pages","elm-pages-db-witness.js");try{await·$n.promises.writeFile(o,i4());let·p=r4(v,["make",o,"--output",d],{cwd:l,stdio:["ignore","pipe","pipe"]});if(p.status!==0)throw{title:"Deep·compare·compilation·failed",message:` with `;⏎}⏎async·function·ky(l,·v)·{⏎··let·o·=·Ma.join(l,·'.elm-pages',·'ElmPagesDbWitness.elm'),⏎····d·=·Ma.join(l,·'.elm-pages',·'elm-pages-db-witness.js');⏎··try·{⏎····await·$n.promises.writeFile(o,·i4());⏎····let·p·=·r4(v,·['make',·o,·'--output',·d],·{·cwd:·l,·stdio:·['ignore',·'pipe',·'pipe']·});⏎····if·(p.status·!==·0)⏎······throw·{⏎········title:·'Deep·compare·compilation·failed',⏎········message:·`
|
|
ci:
packages/docs-site/.elm-pages/compiled/render.mjs#L2
Expected an assignment or function call and instead saw an expression
|
|
ci:
packages/docs-site/.elm-pages/compiled/render.mjs#L2
Expected an assignment or function call and instead saw an expression
|
|
ci:
packages/docs-site/.elm-pages/compiled/render.mjs#L2
Replace `)}async·function·t4(l){let·v=Ma.join(l,Of,"Db","Migrate");try{let·o=await·$n.promises.readdir(v),d=0;for(let·p·of·o){let·P=p.match(/^V(\d+)\.elm$/);if(P){let·A=parseInt(P[1],10);A>d&&(d=A)}}return·d>0?d:1}catch{return·1}}function·Ff(l,v){return·Ma.join(l,my,`${v}.elm`)}async·function·py(l,v,o){let·d=Ma.join(l,my);await·$n.promises.mkdir(d,{recursive:!0});let·p=Ff(l,v);$n.existsSync(p)||await·$n.promises.writeFile(p,o)}async·function·$4(l,v,o=null){let·d=await·$n.promises.readFile(v,"utf8"),p=o||xf(d);return·await·py(l,p,d),p}async·function·o4(l,v){try{return·await·$n.promises.readFile(Ff(l,v),"utf8")}catch{return·null}}function·i4(){return` with `,⏎··);⏎}⏎async·function·t4(l)·{⏎··let·v·=·Ma.join(l,·Of,·'Db',·'Migrate');⏎··try·{⏎····let·o·=·await·$n.promises.readdir(v),⏎······d·=·0;⏎····for·(let·p·of·o)·{⏎······let·P·=·p.match(/^V(\d+)\.elm$/);⏎······if·(P)·{⏎········let·A·=·parseInt(P[1],·10);⏎········A·>·d·&&·(d·=·A);⏎······}⏎····}⏎····return·d·>·0·?·d·:·1;⏎··}·catch·{⏎····return·1;⏎··}⏎}⏎function·Ff(l,·v)·{⏎··return·Ma.join(l,·my,·`${v}.elm`);⏎}⏎async·function·py(l,·v,·o)·{⏎··let·d·=·Ma.join(l,·my);⏎··await·$n.promises.mkdir(d,·{·recursive:·!0·});⏎··let·p·=·Ff(l,·v);⏎··$n.existsSync(p)·||·(await·$n.promises.writeFile(p,·o));⏎}⏎async·function·$4(l,·v,·o·=·null)·{⏎··let·d·=·await·$n.promises.readFile(v,·'utf8'),⏎····p·=·o·||·xf(d);⏎··return·(await·py(l,·p,·d),·p);⏎}⏎async·function·o4(l,·v)·{⏎··try·{⏎····return·await·$n.promises.readFile(Ff(l,·v),·'utf8');⏎··}·catch·{⏎····return·null;⏎··}⏎}⏎function·i4()·{⏎··return·`
|
|
ci:
packages/docs-site/.elm-pages/compiled/render.mjs#L1
Expected an assignment or function call and instead saw an expression
|
|
ci:
packages/docs-site/.elm-pages/compiled/render.mjs#L1
Replace `=Object.create;var·wf=Object.defineProperty;var·dx=Object.getOwnPropertyDescriptor;var·vx=Object.getOwnPropertyNames;var·fx=Object.getPrototypeOf,mx=Object.prototype.hasOwnProperty;var·px=(l,v)=>()=>(l&&(v=l(l=0)),v);var·kx=(l,v)=>()=>(v||l((v={exports:{}}).exports,v),v.exports),R0=(l,v)=>{for(var·o·in·v)wf(l,o,{get:v[o],enumerable:!0})},_x=(l,v,o,d)=>{if(v&&typeof·v=="object"||typeof·v=="function")for(let·p·of·vx(v))!mx.call(l,p)&&p!==o&&wf(l,p,{get:()=>v[p],enumerable:!(d=dx(v,p))||d.enumerable});return·l};var·gx=(l,v,o)=>(o=l!=null?cx(fx(l)):{},_x(v||!l||!l.__esModule?wf(o,"default",{value:l,enumerable:!0}):o,l));var·du={};R0(du,{DB_DIR:()=>Of,bytesToHash:()=>a4,compareSchemaHash:()=>l4,compileWitnessAndHash:()=>ky,computeSchemaHash:()=>e4,computeSchemaHashFromSource:()=>xf,hashToBytes:()=>n4,loadSchemaMeta:()=>fy,loadSchemaSource:()=>o4,readSchemaVersion:()=>t4,saveSchemaMeta:()=>Cf,saveSchemaSource:()=>py,saveSchemaSourceFromFile:()=>$4,schemaHistoryPath:()=>Ff});import*as·Lf·from"node:crypto";import*as·$n·from"node:fs";import*as·Ma·from"node:path";import{spawnSync·as·r4}from"node:child_process";async·function·e4(l){let·v=await·$n.promises.readFile(l,"utf8");return·xf(v)}function·xf(l){return·Lf.createHash("sha256").update(l).digest("hex")}function·n4(l){return·Buffer.from(l,"hex")}function·a4(l){return·Buffer.from(l).toString("hex")}async·function·fy(l){let·v=Ma.join(l,".elm-pages",vy);try{let·o=await·$n.promises.readFile(v,"utf8");return·JSON.parse(o)}catch{return·null}}async·function·Cf(l,v,o){let·d=Ma.join(l,".elm-pages");await·$n.promises.mkdir(d,{recursive:!0});let·p=Ma.join(d,vy);await·$n.promises.writeFile(p,JSON.stringify({sourceHash:v,compiledHash:o},null,2)+` with `·=·Object.create;⏎var·wf·=·Object.defineProperty;⏎var·dx·=·Object.getOwnPropertyDescriptor;⏎var·vx·=·Object.getOwnPropertyNames;⏎var·fx·=·Object.getPrototypeOf,⏎··mx·=·Object.prototype.hasOwnProperty;⏎var·px·=·(l,·v)·=>·()·=>·(l·&&·(v·=·l((l·=·0))),·v);⏎var·kx·=·(l,·v)·=>·()·=>·(v·||·l((v·=·{·exports:·{}·}).exports,·v),·v.exports),⏎··R0·=·(l,·v)·=>·{⏎····for·(var·o·in·v)·wf(l,·o,·{·get:·v[o],·enumerable:·!0·});⏎··},⏎··_x·=·(l,·v,·o,·d)·=>·{⏎····if·((v·&&·typeof·v·==·'object')·||·typeof·v·==·'function')⏎······for·(let·p·of·vx(v))⏎········!mx.call(l,·p)·&&⏎··········p·!==·o·&&⏎··········wf(l,·p,·{·get:·()·=>·v[p],·enumerable:·!(d·=·dx(v,·p))·||·d.enumerable·});⏎····return·l;⏎··};⏎var·gx·=·(l,·v,·o)·=>·(⏎··(o·=·l·!=·null·?·cx(fx(l))·:·{}),⏎··_x(v·||·!l·||·!l.__esModule·?·wf(o,·'default',·{·value:·l,·enumerable:·!0·})·:·o,·l)⏎);⏎var·du·=·{};⏎R0(du,·{⏎··DB_DIR:·()·=>·Of,⏎··bytesToHash:·()·=>·a4,⏎··compareSchemaHash:·()·=>·l4,⏎··compileWitnessAndHash:·()·=>·ky,⏎··computeSchemaHash:·()·=>·e4,⏎··computeSchemaHashFromSource:·()·=>·xf,⏎··hashToBytes:·()·=>·n4,⏎··loadSchemaMeta:·()·=>·fy,⏎··loadSchemaSource:·()·=>·o4,⏎··readSchemaVersion:·()·=>·t4,⏎··saveSchemaMeta:·()·=>·Cf,⏎··saveSchemaSource:·()·=>·py,⏎··saveSchemaSourceFromFile:·()·=>·$4,⏎··schemaHistoryPath:·()·=>·Ff,⏎});⏎import·*·as·Lf·from·'node:crypto';⏎import·*·as·$n·from·'node:fs';⏎import·*·as·Ma·from·'node:path';⏎import·{·spawnSync·as·r4·}·from·'node:child_process';⏎async·function·e4(l)·{⏎··let·v·=·await·$n.promises.readFile(l,·'utf8');⏎··return·xf(v);⏎}⏎function·xf(l)·{⏎··return·Lf.createHash('sha256').update(l).digest('hex');⏎}⏎function·n4(l)·{⏎··return·Buffer.from(l,·'hex');⏎}⏎function·a4(l)·{⏎··return·Buffer.from(l).toString('hex');⏎}⏎async·function·fy(l)·{⏎··let·v·=·Ma.join(l,·'.elm-pages',·vy);⏎··try·{⏎····let·o·=·await·$n.promises.readFile(v,·'utf8');⏎····return·JSON.
|
|
ci:
packages/docs-site/.elm-pages/compiled-ports/custom-backend-task.mjs#L5
Replace `⏎··hello⏎` with `·hello·`
|
|
ci
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
ci:
packages/devtools-core/src/annotators/oidc-discovery.ts#L22
'asString' was used before it was defined
|
|
ci:
packages/devtools-core/src/annotators/oidc-annotator.ts#L139
'parseFormBody' was used before it was defined
|
|
ci:
packages/devtools-core/src/annotators/oidc-annotator.ts#L114
'parseFormBody' was used before it was defined
|
|
ci:
packages/devtools-core/src/annotators/oidc-annotator.ts#L93
'parseUrlParams' was used before it was defined
|
|
ci:
packages/devtools-core/src/annotators/oidc-annotator.ts#L73
'annotateErrorResponse' was used before it was defined
|
|
ci:
packages/devtools-core/src/annotators/oidc-annotator.ts#L62
'annotateToken' was used before it was defined
|
|
ci:
packages/devtools-core/src/annotators/oidc-annotator.ts#L58
'annotatePar' was used before it was defined
|
|
ci:
packages/devtools-core/src/annotators/oidc-annotator.ts#L54
'annotateAuthorize' was used before it was defined
|
|
ci:
packages/devtools-core/src/annotators/oidc-annotator.ts#L41
'detectPhase' was used before it was defined
|
|
ci:
packages/devtools-core/src/annotators/network-observer.ts#L51
'STATIC_ASSET_PATTERN' was used before it was defined
|