Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nextjs-themes

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nextjs-themes - npm Package Compare versions

Comparing version 3.1.5 to 3.1.6

2

client/index.js
"use client";
"use strict";var j=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var W=(t,e)=>{for(var o in e)j(t,o,{get:e[o],enumerable:!0})},X=(t,e,o,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of Q(e))!B.call(t,l)&&l!==o&&j(t,l,{get:()=>e[l],enumerable:!(c=q(e,l))||c.enumerable});return t};var Z=t=>X(j({},"__esModule",{value:!0}),t);var ce={};W(ce,{ColorSwitch:()=>ne,ForceColorScheme:()=>te,ForceTheme:()=>ee,ThemeSwitcher:()=>se});module.exports=Z(ce);var H=require("react");var M=require("r18gs");var R="nth",y="light",C="dark",P="system";var U={t:"",d:C,l:y,c:P,s:y},D=t=>{let e=t!=null?t:`#${R}`;return(0,M.useRGS)(e,()=>{let o=typeof m!="undefined"&&localStorage.getItem(e);return o?{...JSON.parse(o),s:m.matches?C:y}:U})},x=t=>{let e=`${t!=null?t:`#${R}`}-`;return(0,M.useRGS)(e,{})};var ee=t=>{let[e,o]=x();return(0,H.useEffect)(()=>(o(c=>({...c,f:t.theme})),()=>{o(c=>({...c,f:void 0}))}),[t.theme]),null};var J=require("react");var te=t=>{let[e,o]=x();return(0,J.useEffect)(()=>(o(c=>({...c,fc:t.colorScheme})),()=>{o(c=>({...c,fc:void 0}))}),[t.colorScheme]),null};var v=require("react");var O=(t,e,o,c,l)=>{window.m=matchMedia("(prefers-color-scheme: dark)");let d=["color-scheme","csp","theme","th"];window.u=h=>{var b;let T=(b=document.querySelector(t))!=null?b:document.documentElement,S=[];d.forEach((w,k)=>{S.push(`${w}-${h[k]}`),T.setAttribute(`data-${w}`,h[k])}),S[0]=h[0],o&&(S=S.map(w=>{var k;return(k=o[w])!=null?k:w})),T.className=S.join(" ")};let p=localStorage.getItem(t),n={...p?JSON.parse(p):e,s:m.matches?e.d:e.l},s,i,a,F;window.f=(h,T)=>{i=F=h,s=a=T},window.g=(h,T)=>{i=F!=null?F:h,s=a!=null?a:T},f(c,l),window.r=h=>{let T=s!=null?s:h.c,S=T===e.c?h.s:T,b=S===""?h.t:S===e.d?h.d:h.l,w=i!=null?i:b;return[S||h.s,T,w,i!=null?i:h.t]},u(r(n))};var $=require("react/jsx-runtime"),I,L,E,N,V,oe=(0,v.memo)(({k:t,n:e="",s:o,t:c,c:l})=>(typeof m!="undefined"&&([I,L,E,N,V]=[m,u,r,f,g]),(0,$.jsx)("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${O.toString()})(${JSON.stringify([t,U,o,c,l]).slice(1,-1)})`},nonce:e})),()=>!0),re=(t="none")=>{let e=document.createElement("style");return e.textContent=`transition: ${t.split(";")[0]} !important;`,document.head.appendChild(e),()=>{getComputedStyle(document.body),setTimeout(()=>document.head.removeChild(e),1)}},se=({forcedTheme:t,forcedColorScheme:e,targetSelector:o,themeTransition:c,styles:l,nonce:d})=>{let p=o||`#${R}`;typeof window!="undefined"&&!window.m&&O(p,U,l,t,e);let[n,s]=D(o),[i]=x(o);return(0,v.useEffect)(()=>{I.addEventListener("change",()=>s(a=>({...a,s:I.matches?C:y}))),addEventListener("storage",a=>{a.key===p&&s(F=>({...F,...JSON.parse(a.newValue||"{}")}))})},[]),(0,v.useEffect)(()=>{let a=re(c);L(E(n)),a(),localStorage.setItem(p,JSON.stringify(n))},[n]),(0,v.useEffect)(()=>{N(t,e),L(E(n))},[e,t]),(0,v.useEffect)(()=>{V(i.f,i.fc),L(E(n))},[i]),(0,$.jsx)(oe,{k:p,n:d,s:l,t,c:e})};var Y={"color-switch":"nextjs-themes--color-switch",swing:"nextjs-themes--swing"};var _=require("react");var z=[P,C,y],A,G=t=>{let[e,o]=D(t),[c,l]=x(t);(0,_.useEffect)(()=>{A=window.r},[]);let d=n=>s=>o(i=>({...i,[n]:s})),p={theme:e.t,darkTheme:e.d,lightTheme:e.l,colorSchemePref:e.c,systemColorScheme:e.s,resolvedColorScheme:e.c===P||e.c===""?e.s:e.c,resolvedTheme:e.t,setTheme:d("t"),setDarkTheme:d("d"),setLightTheme:d("l"),setThemeSet:({darkTheme:n,lightTheme:s})=>o(i=>({...i,d:n,l:s})),setColorSchemePref:d("c"),toggleColorScheme(n){let s=z.indexOf(e.c),i=z.length;(s===-1||n&&s===i-1)&&(s=0),d("c")(z[(s+1)%i])},setForcedColorScheme:n=>l(s=>({...s,fc:n})),setForcedTheme:n=>l(s=>({...s,f:n}))};if(A){let n=A(e);p.resolvedColorScheme=n[0],p.resolvedTheme=n[1]}return p};var ne=({size:t=25,skipSystem:e,targetSelector:o,className:c,...l})=>{let{toggleColorScheme:d}=G(o),p=[Y["color-switch"],c].join(" ");return(0,$.jsx)("button",{className:p,onClick:()=>d(e),style:{"--size":`${t}px`},...l})};0&&(module.exports={ColorSwitch,ForceColorScheme,ForceTheme,ThemeSwitcher});
"use strict";var j=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var W=(t,e)=>{for(var o in e)j(t,o,{get:e[o],enumerable:!0})},X=(t,e,o,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of Q(e))!B.call(t,l)&&l!==o&&j(t,l,{get:()=>e[l],enumerable:!(c=q(e,l))||c.enumerable});return t};var Z=t=>X(j({},"__esModule",{value:!0}),t);var ce={};W(ce,{ColorSwitch:()=>ne,ForceColorScheme:()=>te,ForceTheme:()=>ee,ThemeSwitcher:()=>se});module.exports=Z(ce);var H=require("react");var M=require("r18gs");var R="nth",y="light",C="dark",P="system";var U={t:"",d:C,l:y,c:P,s:y},D=t=>{let e=t!=null?t:`#${R}`;return(0,M.useRGS)(e,()=>{let o=typeof m!="undefined"&&localStorage.getItem(e);return o?{...JSON.parse(o),s:m.matches?C:y}:U})},x=t=>{let e=`${t!=null?t:`#${R}`}-`;return(0,M.useRGS)(e,{})};var ee=t=>{let[e,o]=x();return(0,H.useEffect)(()=>(o(c=>({...c,f:t.theme})),()=>{o(c=>({...c,f:void 0}))}),[t.theme]),null};var te=t=>{let[e,o]=x();return(0,H.useEffect)(()=>(o(c=>({...c,fc:t.colorScheme})),()=>{o(c=>({...c,fc:void 0}))}),[t.colorScheme]),null};var O=(t,e,o,c,l)=>{window.m=matchMedia("(prefers-color-scheme: dark)");let d=["color-scheme","csp","theme","th"];window.u=h=>{var b;let T=(b=document.querySelector(t))!=null?b:document.documentElement,S=[];d.forEach((w,k)=>{S.push(`${w}-${h[k]}`),T.setAttribute(`data-${w}`,h[k])}),S[0]=h[0],o&&(S=S.map(w=>{var k;return(k=o[w])!=null?k:w})),T.className=S.join(" ")};let p=localStorage.getItem(t),n={...p?JSON.parse(p):e,s:m.matches?e.d:e.l},s,i,a,F;window.f=(h,T)=>{i=F=h,s=a=T},window.g=(h,T)=>{i=F!=null?F:h,s=a!=null?a:T},f(c,l),window.r=h=>{let T=s!=null?s:h.c,S=T===e.c?h.s:T,b=S===""?h.t:S===e.d?h.d:h.l,w=i!=null?i:b;return[S||h.s,T,w,i!=null?i:h.t]},u(r(n))};var $=require("react/jsx-runtime"),I,L,E,N,V,oe=(0,H.memo)(({k:t,n:e="",s:o,t:c,c:l})=>(typeof m!="undefined"&&([I,L,E,N,V]=[m,u,r,f,g]),(0,$.jsx)("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${O.toString()})(${JSON.stringify([t,U,o,c,l]).slice(1,-1)})`},nonce:e})),()=>!0),re=(t="none")=>{let e=document.createElement("style");return e.textContent=`transition: ${t.split(";")[0]} !important;`,document.head.appendChild(e),()=>{getComputedStyle(document.body),setTimeout(()=>document.head.removeChild(e),1)}},se=({forcedTheme:t,forcedColorScheme:e,targetSelector:o,themeTransition:c,styles:l,nonce:d})=>{let p=o||`#${R}`;typeof window!="undefined"&&!window.m&&O(p,U,l,t,e);let[n,s]=D(o),[i]=x(o);return(0,H.useEffect)(()=>{I.addEventListener("change",()=>s(a=>({...a,s:I.matches?C:y}))),addEventListener("storage",a=>{a.key===p&&s(F=>({...F,...JSON.parse(a.newValue||"{}")}))})},[]),(0,H.useEffect)(()=>{let a=re(c);L(E(n)),a(),localStorage.setItem(p,JSON.stringify(n))},[n]),(0,H.useEffect)(()=>{N(t,e),L(E(n))},[e,t]),(0,H.useEffect)(()=>{V(i.f,i.fc),L(E(n))},[i]),(0,$.jsx)(oe,{k:p,n:d,s:l,t,c:e})};var Y={"color-switch":"nextjs-themes--color-switch",swing:"nextjs-themes--swing"};var z=[P,C,y],A,G=t=>{let[e,o]=D(t),[c,l]=x(t);(0,H.useEffect)(()=>{A=window.r},[]);let d=n=>s=>o(i=>({...i,[n]:s})),p={theme:e.t,darkTheme:e.d,lightTheme:e.l,colorSchemePref:e.c,systemColorScheme:e.s,resolvedColorScheme:e.c===P||e.c===""?e.s:e.c,resolvedTheme:e.t,setTheme:d("t"),setDarkTheme:d("d"),setLightTheme:d("l"),setThemeSet:({darkTheme:n,lightTheme:s})=>o(i=>({...i,d:n,l:s})),setColorSchemePref:d("c"),toggleColorScheme(n){let s=z.indexOf(e.c),i=z.length;(s===-1||n&&s===i-1)&&(s=0),d("c")(z[(s+1)%i])},setForcedColorScheme:n=>l(s=>({...s,fc:n})),setForcedTheme:n=>l(s=>({...s,f:n}))};if(A){let n=A(e);p.resolvedColorScheme=n[0],p.resolvedTheme=n[1]}return p};var ne=({size:t=25,skipSystem:e,targetSelector:o,className:c,...l})=>{let{toggleColorScheme:d}=G(o),p=[Y["color-switch"],c].join(" ");return(0,$.jsx)("button",{className:p,onClick:()=>d(e),style:{"--size":`${t}px`},...l})};0&&(module.exports={ColorSwitch,ForceColorScheme,ForceTheme,ThemeSwitcher});
"use client";
"use strict";var j=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var W=(t,e)=>{for(var o in e)j(t,o,{get:e[o],enumerable:!0})},X=(t,e,o,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of Q(e))!B.call(t,l)&&l!==o&&j(t,l,{get:()=>e[l],enumerable:!(c=q(e,l))||c.enumerable});return t};var Z=t=>X(j({},"__esModule",{value:!0}),t);var ce={};W(ce,{ColorSwitch:()=>ne,ForceColorScheme:()=>te,ForceTheme:()=>ee,ThemeSwitcher:()=>se,useTheme:()=>H});module.exports=Z(ce);var J=require("react");var M=require("r18gs");var R="nth",y="light",C="dark",P="system";var U={t:"",d:C,l:y,c:P,s:y},D=t=>{let e=t!=null?t:`#${R}`;return(0,M.useRGS)(e,()=>{let o=typeof m!="undefined"&&localStorage.getItem(e);return o?{...JSON.parse(o),s:m.matches?C:y}:U})},x=t=>{let e=`${t!=null?t:`#${R}`}-`;return(0,M.useRGS)(e,{})};var ee=t=>{let[e,o]=x();return(0,J.useEffect)(()=>(o(c=>({...c,f:t.theme})),()=>{o(c=>({...c,f:void 0}))}),[t.theme]),null};var N=require("react");var te=t=>{let[e,o]=x();return(0,N.useEffect)(()=>(o(c=>({...c,fc:t.colorScheme})),()=>{o(c=>({...c,fc:void 0}))}),[t.colorScheme]),null};var v=require("react");var O=(t,e,o,c,l)=>{window.m=matchMedia("(prefers-color-scheme: dark)");let d=["color-scheme","csp","theme","th"];window.u=h=>{var b;let T=(b=document.querySelector(t))!=null?b:document.documentElement,S=[];d.forEach((w,k)=>{S.push(`${w}-${h[k]}`),T.setAttribute(`data-${w}`,h[k])}),S[0]=h[0],o&&(S=S.map(w=>{var k;return(k=o[w])!=null?k:w})),T.className=S.join(" ")};let p=localStorage.getItem(t),n={...p?JSON.parse(p):e,s:m.matches?e.d:e.l},s,i,a,F;window.f=(h,T)=>{i=F=h,s=a=T},window.g=(h,T)=>{i=F!=null?F:h,s=a!=null?a:T},f(c,l),window.r=h=>{let T=s!=null?s:h.c,S=T===e.c?h.s:T,b=S===""?h.t:S===e.d?h.d:h.l,w=i!=null?i:b;return[S||h.s,T,w,i!=null?i:h.t]},u(r(n))};var $=require("react/jsx-runtime"),I,L,E,V,Y,oe=(0,v.memo)(({k:t,n:e="",s:o,t:c,c:l})=>(typeof m!="undefined"&&([I,L,E,V,Y]=[m,u,r,f,g]),(0,$.jsx)("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${O.toString()})(${JSON.stringify([t,U,o,c,l]).slice(1,-1)})`},nonce:e})),()=>!0),re=(t="none")=>{let e=document.createElement("style");return e.textContent=`transition: ${t.split(";")[0]} !important;`,document.head.appendChild(e),()=>{getComputedStyle(document.body),setTimeout(()=>document.head.removeChild(e),1)}},se=({forcedTheme:t,forcedColorScheme:e,targetSelector:o,themeTransition:c,styles:l,nonce:d})=>{let p=o||`#${R}`;typeof window!="undefined"&&!window.m&&O(p,U,l,t,e);let[n,s]=D(o),[i]=x(o);return(0,v.useEffect)(()=>{I.addEventListener("change",()=>s(a=>({...a,s:I.matches?C:y}))),addEventListener("storage",a=>{a.key===p&&s(F=>({...F,...JSON.parse(a.newValue||"{}")}))})},[]),(0,v.useEffect)(()=>{let a=re(c);L(E(n)),a(),localStorage.setItem(p,JSON.stringify(n))},[n]),(0,v.useEffect)(()=>{V(t,e),L(E(n))},[e,t]),(0,v.useEffect)(()=>{Y(i.f,i.fc),L(E(n))},[i]),(0,$.jsx)(oe,{k:p,n:d,s:l,t,c:e})};var _={"color-switch":"nextjs-themes--color-switch",swing:"nextjs-themes--swing"};var G=require("react");var z=[P,C,y],A,H=t=>{let[e,o]=D(t),[c,l]=x(t);(0,G.useEffect)(()=>{A=window.r},[]);let d=n=>s=>o(i=>({...i,[n]:s})),p={theme:e.t,darkTheme:e.d,lightTheme:e.l,colorSchemePref:e.c,systemColorScheme:e.s,resolvedColorScheme:e.c===P||e.c===""?e.s:e.c,resolvedTheme:e.t,setTheme:d("t"),setDarkTheme:d("d"),setLightTheme:d("l"),setThemeSet:({darkTheme:n,lightTheme:s})=>o(i=>({...i,d:n,l:s})),setColorSchemePref:d("c"),toggleColorScheme(n){let s=z.indexOf(e.c),i=z.length;(s===-1||n&&s===i-1)&&(s=0),d("c")(z[(s+1)%i])},setForcedColorScheme:n=>l(s=>({...s,fc:n})),setForcedTheme:n=>l(s=>({...s,f:n}))};if(A){let n=A(e);p.resolvedColorScheme=n[0],p.resolvedTheme=n[1]}return p};var ne=({size:t=25,skipSystem:e,targetSelector:o,className:c,...l})=>{let{toggleColorScheme:d}=H(o),p=[_["color-switch"],c].join(" ");return(0,$.jsx)("button",{className:p,onClick:()=>d(e),style:{"--size":`${t}px`},...l})};0&&(module.exports={ColorSwitch,ForceColorScheme,ForceTheme,ThemeSwitcher,useTheme});
"use strict";var j=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var W=(t,e)=>{for(var o in e)j(t,o,{get:e[o],enumerable:!0})},X=(t,e,o,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of Q(e))!B.call(t,l)&&l!==o&&j(t,l,{get:()=>e[l],enumerable:!(c=q(e,l))||c.enumerable});return t};var Z=t=>X(j({},"__esModule",{value:!0}),t);var ce={};W(ce,{ColorSwitch:()=>ne,ForceColorScheme:()=>te,ForceTheme:()=>ee,ThemeSwitcher:()=>se,useTheme:()=>H});module.exports=Z(ce);var J=require("react");var M=require("r18gs");var R="nth",y="light",C="dark",P="system";var U={t:"",d:C,l:y,c:P,s:y},D=t=>{let e=t!=null?t:`#${R}`;return(0,M.useRGS)(e,()=>{let o=typeof m!="undefined"&&localStorage.getItem(e);return o?{...JSON.parse(o),s:m.matches?C:y}:U})},x=t=>{let e=`${t!=null?t:`#${R}`}-`;return(0,M.useRGS)(e,{})};var ee=t=>{let[e,o]=x();return(0,J.useEffect)(()=>(o(c=>({...c,f:t.theme})),()=>{o(c=>({...c,f:void 0}))}),[t.theme]),null};var te=t=>{let[e,o]=x();return(0,J.useEffect)(()=>(o(c=>({...c,fc:t.colorScheme})),()=>{o(c=>({...c,fc:void 0}))}),[t.colorScheme]),null};var O=(t,e,o,c,l)=>{window.m=matchMedia("(prefers-color-scheme: dark)");let d=["color-scheme","csp","theme","th"];window.u=h=>{var b;let T=(b=document.querySelector(t))!=null?b:document.documentElement,S=[];d.forEach((w,k)=>{S.push(`${w}-${h[k]}`),T.setAttribute(`data-${w}`,h[k])}),S[0]=h[0],o&&(S=S.map(w=>{var k;return(k=o[w])!=null?k:w})),T.className=S.join(" ")};let p=localStorage.getItem(t),n={...p?JSON.parse(p):e,s:m.matches?e.d:e.l},s,i,a,F;window.f=(h,T)=>{i=F=h,s=a=T},window.g=(h,T)=>{i=F!=null?F:h,s=a!=null?a:T},f(c,l),window.r=h=>{let T=s!=null?s:h.c,S=T===e.c?h.s:T,b=S===""?h.t:S===e.d?h.d:h.l,w=i!=null?i:b;return[S||h.s,T,w,i!=null?i:h.t]},u(r(n))};var $=require("react/jsx-runtime"),I,L,E,V,Y,oe=(0,J.memo)(({k:t,n:e="",s:o,t:c,c:l})=>(typeof m!="undefined"&&([I,L,E,V,Y]=[m,u,r,f,g]),(0,$.jsx)("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${O.toString()})(${JSON.stringify([t,U,o,c,l]).slice(1,-1)})`},nonce:e})),()=>!0),re=(t="none")=>{let e=document.createElement("style");return e.textContent=`transition: ${t.split(";")[0]} !important;`,document.head.appendChild(e),()=>{getComputedStyle(document.body),setTimeout(()=>document.head.removeChild(e),1)}},se=({forcedTheme:t,forcedColorScheme:e,targetSelector:o,themeTransition:c,styles:l,nonce:d})=>{let p=o||`#${R}`;typeof window!="undefined"&&!window.m&&O(p,U,l,t,e);let[n,s]=D(o),[i]=x(o);return(0,J.useEffect)(()=>{I.addEventListener("change",()=>s(a=>({...a,s:I.matches?C:y}))),addEventListener("storage",a=>{a.key===p&&s(F=>({...F,...JSON.parse(a.newValue||"{}")}))})},[]),(0,J.useEffect)(()=>{let a=re(c);L(E(n)),a(),localStorage.setItem(p,JSON.stringify(n))},[n]),(0,J.useEffect)(()=>{V(t,e),L(E(n))},[e,t]),(0,J.useEffect)(()=>{Y(i.f,i.fc),L(E(n))},[i]),(0,$.jsx)(oe,{k:p,n:d,s:l,t,c:e})};var _={"color-switch":"nextjs-themes--color-switch",swing:"nextjs-themes--swing"};var z=[P,C,y],A,H=t=>{let[e,o]=D(t),[c,l]=x(t);(0,J.useEffect)(()=>{A=window.r},[]);let d=n=>s=>o(i=>({...i,[n]:s})),p={theme:e.t,darkTheme:e.d,lightTheme:e.l,colorSchemePref:e.c,systemColorScheme:e.s,resolvedColorScheme:e.c===P||e.c===""?e.s:e.c,resolvedTheme:e.t,setTheme:d("t"),setDarkTheme:d("d"),setLightTheme:d("l"),setThemeSet:({darkTheme:n,lightTheme:s})=>o(i=>({...i,d:n,l:s})),setColorSchemePref:d("c"),toggleColorScheme(n){let s=z.indexOf(e.c),i=z.length;(s===-1||n&&s===i-1)&&(s=0),d("c")(z[(s+1)%i])},setForcedColorScheme:n=>l(s=>({...s,fc:n})),setForcedTheme:n=>l(s=>({...s,f:n}))};if(A){let n=A(e);p.resolvedColorScheme=n[0],p.resolvedTheme=n[1]}return p};var ne=({size:t=25,skipSystem:e,targetSelector:o,className:c,...l})=>{let{toggleColorScheme:d}=H(o),p=[_["color-switch"],c].join(" ");return(0,$.jsx)("button",{className:p,onClick:()=>d(e),style:{"--size":`${t}px`},...l})};0&&(module.exports={ColorSwitch,ForceColorScheme,ForceTheme,ThemeSwitcher,useTheme});

@@ -5,3 +5,3 @@ {

"private": false,
"version": "3.1.5",
"version": "3.1.6",
"description": "Unleash the Power of React Server Components! Use multiple themes on your site with confidence, without losing any advantages of React Server Components.",

@@ -86,6 +86,5 @@ "license": "MPL-2.0",

"@repo/eslint-config": "workspace:*",
"@repo/jest-presets": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@testing-library/react": "^16.0.0",
"@types/node": "^20.14.5",
"@types/node": "^20.14.6",
"@types/react": "^18.3.3",

@@ -95,2 +94,3 @@ "@types/react-dom": "^18.3.0",

"@vitest/coverage-v8": "^1.6.0",
"esbuild-plugin-rdi": "^0.0.0",
"esbuild-plugin-react18": "0.2.4",

@@ -97,0 +97,0 @@ "esbuild-plugin-react18-css": "^0.0.4",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc