@c15t/nextjs 1.4.1 → 1.4.2
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/components/consent-manager-provider/utils/normalize-url.cjs +1 -1
- package/dist/components/consent-manager-provider/utils/normalize-url.d.ts.map +1 -1
- package/dist/components/consent-manager-provider/utils/normalize-url.js +1 -1
- package/dist/components/consent-manager-provider/utils/normalize-url.test.cjs +1 -1
- package/dist/components/consent-manager-provider/utils/normalize-url.test.js +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_require__={};__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{normalizeBackendURL:()=>normalizeBackendURL,validateBackendURL:()=>validateBackendURL});let ABSOLUTE_URL_REGEX=/^https?:\/\//;function validateBackendURL(e){if(ABSOLUTE_URL_REGEX.test(e))return new URL(e),{isAbsolute:!0,normalizedURL:e};if(e.startsWith("/"))return{isAbsolute:!1,normalizedURL:e};throw Error(`Invalid URL format: ${e}. URL must be absolute (https://...) or relative starting with (/)`)}function normalizeBackendURL(e,r){try{let{normalizedURL:_,isAbsolute:t}=validateBackendURL(e);if(t)return _;let a=r.get("referer"),n=r.get("x-forwarded-proto")||"https",
|
|
1
|
+
"use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_require__={};__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{normalizeBackendURL:()=>normalizeBackendURL,validateBackendURL:()=>validateBackendURL});let ABSOLUTE_URL_REGEX=/^https?:\/\//;function trimTrailingSlash(e){return"/"===e?e:e.endsWith("/")?e.slice(0,-1):e}function validateBackendURL(e){if(ABSOLUTE_URL_REGEX.test(e))return new URL(e),{isAbsolute:!0,normalizedURL:trimTrailingSlash(e)};if(e.startsWith("/"))return{isAbsolute:!1,normalizedURL:trimTrailingSlash(e)};throw Error(`Invalid URL format: ${e}. URL must be absolute (https://...) or relative starting with (/)`)}function normalizeBackendURL(e,r){try{let{normalizedURL:_,isAbsolute:t}=validateBackendURL(e);if(t)return _;let a=r.get("referer"),n=r.get("x-forwarded-proto")||"https",i=r.get("x-forwarded-host")||r.get("host");if(i)return trimTrailingSlash(`${n}://${i}${_}`);if(a){let e=new URL(a);return trimTrailingSlash(`${e.protocol}//${e.host}${_}`)}return"development"===process.env.NODE_ENV&&console.warn("Could not determine base URL for relative backend URL"),null}catch(e){return"development"===process.env.NODE_ENV&&console.warn("Invalid backend URL:",e),null}}for(var __webpack_i__ in exports.normalizeBackendURL=__webpack_exports__.normalizeBackendURL,exports.validateBackendURL=__webpack_exports__.validateBackendURL,__webpack_exports__)-1===["normalizeBackendURL","validateBackendURL"].indexOf(__webpack_i__)&&(exports[__webpack_i__]=__webpack_exports__[__webpack_i__]);Object.defineProperty(exports,"__esModule",{value:!0});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize-url.d.ts","sourceRoot":"","sources":["../../../../src/components/consent-manager-provider/utils/normalize-url.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"normalize-url.d.ts","sourceRoot":"","sources":["../../../../src/components/consent-manager-provider/utils/normalize-url.ts"],"names":[],"mappings":"AAYA,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG;IACvD,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACtB,CAwBA;AAED,wBAAgB,mBAAmB,CAClC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,OAAO,GAClB,MAAM,GAAG,IAAI,CAkCf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let e=/^https?:\/\//;function t(
|
|
1
|
+
let e=/^https?:\/\//;function t(e){return"/"===e?e:e.endsWith("/")?e.slice(0,-1):e}function r(r){if(e.test(r))return new URL(r),{isAbsolute:!0,normalizedURL:t(r)};if(r.startsWith("/"))return{isAbsolute:!1,normalizedURL:t(r)};throw Error(`Invalid URL format: ${r}. URL must be absolute (https://...) or relative starting with (/)`)}function n(e,n){try{let{normalizedURL:o,isAbsolute:l}=r(e);if(l)return o;let i=n.get("referer"),s=n.get("x-forwarded-proto")||"https",a=n.get("x-forwarded-host")||n.get("host");if(a)return t(`${s}://${a}${o}`);if(i){let e=new URL(i);return t(`${e.protocol}//${e.host}${o}`)}return"development"===process.env.NODE_ENV&&console.warn("Could not determine base URL for relative backend URL"),null}catch(e){return"development"===process.env.NODE_ENV&&console.warn("Invalid backend URL:",e),null}}export{n as normalizeBackendURL,r as validateBackendURL};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_exports__={};let external_vitest_namespaceObject=require("vitest"),external_normalize_url_cjs_namespaceObject=require("./normalize-url.cjs");for(var __webpack_i__ in(0,external_vitest_namespaceObject.describe)("validateBackendURL",()=>{(0,external_vitest_namespaceObject.it)("should validate absolute URLs correctly",()=>{for(let e of["http://example.com","https://example.com","http://localhost:3000","https://api.example.com/path"]){let t=(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e);(0,external_vitest_namespaceObject.expect)(t.isAbsolute).toBe(!0),(0,external_vitest_namespaceObject.expect)(t.normalizedURL).toBe(e)}}),(0,external_vitest_namespaceObject.it)("should throw error for invalid absolute URLs",()=>{for(let e of["ftp://example.com","ws://example.com","not-a-url://","http:/invalid-url"])(0,external_vitest_namespaceObject.expect)(()=>(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e)).toThrow()}),(0,external_vitest_namespaceObject.it)("should validate relative URLs correctly",()=>{for(let{input:e,expected:t}of[{input:"/api/c15t",expected:"/api/c15t"},{input:"/path/to/api",expected:"/path/to/api"}]){let a=(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e);(0,external_vitest_namespaceObject.expect)(a.isAbsolute).toBe(!1),(0,external_vitest_namespaceObject.expect)(a.normalizedURL).toBe(t)}}),(0,external_vitest_namespaceObject.it)("should throw error for invalid relative URLs",()=>{for(let e of["not-a-url","http://","https://","api/c15t"])(0,external_vitest_namespaceObject.expect)(()=>(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e)).toThrow()})}),(0,external_vitest_namespaceObject.describe)("normalizeBackendURL",()=>{let e=e=>({get:t=>e[t.toLowerCase()]||null});(0,external_vitest_namespaceObject.it)("should return absolute URLs unchanged",()=>{let t="https://example.com/api",a=e({}),c=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)(t,a);(0,external_vitest_namespaceObject.expect)(c).toBe(t)}),(0,external_vitest_namespaceObject.it)("should construct URL from x-forwarded headers",()=>{let t=e({"x-forwarded-proto":"https","x-forwarded-host":"example.com"}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("/api/c15t",t);(0,external_vitest_namespaceObject.expect)(a).toBe("https://example.com/api/c15t")}),(0,external_vitest_namespaceObject.it)("should use host header when x-forwarded-host is not available",()=>{let t=e({host:"example.com"}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("/api/c15t",t);(0,external_vitest_namespaceObject.expect)(a).toBe("https://example.com/api/c15t")}),(0,external_vitest_namespaceObject.it)("should use referer when host headers are not available",()=>{let t=e({referer:"https://example.com/some/path"}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("/api/c15t",t);(0,external_vitest_namespaceObject.expect)(a).toBe("https://example.com/api/c15t")}),(0,external_vitest_namespaceObject.it)("should return null when no headers are available to determine base URL",()=>{let t=e({}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("/api/c15t",t);(0,external_vitest_namespaceObject.expect)(a).toBeNull()}),(0,external_vitest_namespaceObject.it)("should return null for invalid URLs",()=>{let t=e({host:"example.com"}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("not-a-url://",t);(0,external_vitest_namespaceObject.expect)(a).toBeNull()})}),__webpack_exports__)exports[__webpack_i__]=__webpack_exports__[__webpack_i__];Object.defineProperty(exports,"__esModule",{value:!0});
|
|
1
|
+
"use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_exports__={};let external_vitest_namespaceObject=require("vitest"),external_normalize_url_cjs_namespaceObject=require("./normalize-url.cjs");for(var __webpack_i__ in(0,external_vitest_namespaceObject.describe)("validateBackendURL",()=>{(0,external_vitest_namespaceObject.it)("should validate absolute URLs correctly",()=>{for(let e of["http://example.com","https://example.com","http://localhost:3000","https://api.example.com/path"]){let t=(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e);(0,external_vitest_namespaceObject.expect)(t.isAbsolute).toBe(!0),(0,external_vitest_namespaceObject.expect)(t.normalizedURL).toBe(e)}}),(0,external_vitest_namespaceObject.it)("should trim trailing slashes from absolute URLs",()=>{for(let{input:e,expected:t}of[{input:"https://my-instance.c15t.dev/",expected:"https://my-instance.c15t.dev"},{input:"https://example.com/",expected:"https://example.com"},{input:"http://localhost:3000/",expected:"http://localhost:3000"},{input:"https://api.example.com/path/",expected:"https://api.example.com/path"}]){let a=(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e);(0,external_vitest_namespaceObject.expect)(a.isAbsolute).toBe(!0),(0,external_vitest_namespaceObject.expect)(a.normalizedURL).toBe(t)}}),(0,external_vitest_namespaceObject.it)("should throw error for invalid absolute URLs",()=>{for(let e of["ftp://example.com","ws://example.com","not-a-url://","http:/invalid-url"])(0,external_vitest_namespaceObject.expect)(()=>(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e)).toThrow()}),(0,external_vitest_namespaceObject.it)("should validate relative URLs correctly",()=>{for(let{input:e,expected:t}of[{input:"/api/c15t",expected:"/api/c15t"},{input:"/path/to/api",expected:"/path/to/api"}]){let a=(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e);(0,external_vitest_namespaceObject.expect)(a.isAbsolute).toBe(!1),(0,external_vitest_namespaceObject.expect)(a.normalizedURL).toBe(t)}}),(0,external_vitest_namespaceObject.it)("should trim trailing slashes from relative URLs",()=>{for(let{input:e,expected:t}of[{input:"/api/c15t/",expected:"/api/c15t"},{input:"/path/to/api/",expected:"/path/to/api"},{input:"/",expected:"/"}]){let a=(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e);(0,external_vitest_namespaceObject.expect)(a.isAbsolute).toBe(!1),(0,external_vitest_namespaceObject.expect)(a.normalizedURL).toBe(t)}}),(0,external_vitest_namespaceObject.it)("should throw error for invalid relative URLs",()=>{for(let e of["not-a-url","http://","https://","api/c15t"])(0,external_vitest_namespaceObject.expect)(()=>(0,external_normalize_url_cjs_namespaceObject.validateBackendURL)(e)).toThrow()})}),(0,external_vitest_namespaceObject.describe)("normalizeBackendURL",()=>{let e=e=>({get:t=>e[t.toLowerCase()]||null});(0,external_vitest_namespaceObject.it)("should return absolute URLs unchanged",()=>{let t="https://example.com/api",a=e({}),c=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)(t,a);(0,external_vitest_namespaceObject.expect)(c).toBe(t)}),(0,external_vitest_namespaceObject.it)("should trim trailing slashes from absolute URLs",()=>{let t=e({});for(let{input:e,expected:a}of[{input:"https://my-instance.c15t.dev/",expected:"https://my-instance.c15t.dev"},{input:"https://example.com/api/",expected:"https://example.com/api"}]){let c=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)(e,t);(0,external_vitest_namespaceObject.expect)(c).toBe(a)}}),(0,external_vitest_namespaceObject.it)("should construct URL from x-forwarded headers",()=>{let t=e({"x-forwarded-proto":"https","x-forwarded-host":"example.com"}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("/api/c15t",t);(0,external_vitest_namespaceObject.expect)(a).toBe("https://example.com/api/c15t")}),(0,external_vitest_namespaceObject.it)("should construct URL from x-forwarded headers and trim trailing slashes",()=>{for(let{headers:t,input:a,expected:c}of[{headers:{"x-forwarded-proto":"https","x-forwarded-host":"my-instance.c15t.dev"},input:"/api/c15t/",expected:"https://my-instance.c15t.dev/api/c15t"},{headers:{"x-forwarded-proto":"https","x-forwarded-host":"example.com"},input:"/api/",expected:"https://example.com/api"}]){let s=e(t),r=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)(a,s);(0,external_vitest_namespaceObject.expect)(r).toBe(c)}}),(0,external_vitest_namespaceObject.it)("should use host header when x-forwarded-host is not available",()=>{let t=e({host:"example.com"}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("/api/c15t",t);(0,external_vitest_namespaceObject.expect)(a).toBe("https://example.com/api/c15t")}),(0,external_vitest_namespaceObject.it)("should use referer when host headers are not available",()=>{let t=e({referer:"https://example.com/some/path"}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("/api/c15t",t);(0,external_vitest_namespaceObject.expect)(a).toBe("https://example.com/api/c15t")}),(0,external_vitest_namespaceObject.it)("should use referer and trim trailing slashes",()=>{let t=e({referer:"https://my-instance.c15t.dev/some/path"}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("/api/c15t/",t);(0,external_vitest_namespaceObject.expect)(a).toBe("https://my-instance.c15t.dev/api/c15t")}),(0,external_vitest_namespaceObject.it)("should return null when no headers are available to determine base URL",()=>{let t=e({}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("/api/c15t",t);(0,external_vitest_namespaceObject.expect)(a).toBeNull()}),(0,external_vitest_namespaceObject.it)("should return null for invalid URLs",()=>{let t=e({host:"example.com"}),a=(0,external_normalize_url_cjs_namespaceObject.normalizeBackendURL)("not-a-url://",t);(0,external_vitest_namespaceObject.expect)(a).toBeNull()})}),__webpack_exports__)exports[__webpack_i__]=__webpack_exports__[__webpack_i__];Object.defineProperty(exports,"__esModule",{value:!0});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"vitest";import*as t from"./normalize-url.js";(0,e.describe)("validateBackendURL",()=>{(0,e.it)("should validate absolute URLs correctly",()=>{for(let a of["http://example.com","https://example.com","http://localhost:3000","https://api.example.com/path"]){let o=(0,t.validateBackendURL)(a);(0,e.expect)(o.isAbsolute).toBe(!0),(0,e.expect)(o.normalizedURL).toBe(a)}}),(0,e.it)("should throw error for invalid absolute URLs",()=>{for(let a of["ftp://example.com","ws://example.com","not-a-url://","http:/invalid-url"])(0,e.expect)(()=>(0,t.validateBackendURL)(a)).toThrow()}),(0,e.it)("should validate relative URLs correctly",()=>{for(let{input:a,expected:o}of[{input:"/api/c15t",expected:"/api/c15t"},{input:"/path/to/api",expected:"/path/to/api"}]){let
|
|
1
|
+
import*as e from"vitest";import*as t from"./normalize-url.js";(0,e.describe)("validateBackendURL",()=>{(0,e.it)("should validate absolute URLs correctly",()=>{for(let a of["http://example.com","https://example.com","http://localhost:3000","https://api.example.com/path"]){let o=(0,t.validateBackendURL)(a);(0,e.expect)(o.isAbsolute).toBe(!0),(0,e.expect)(o.normalizedURL).toBe(a)}}),(0,e.it)("should trim trailing slashes from absolute URLs",()=>{for(let{input:a,expected:o}of[{input:"https://my-instance.c15t.dev/",expected:"https://my-instance.c15t.dev"},{input:"https://example.com/",expected:"https://example.com"},{input:"http://localhost:3000/",expected:"http://localhost:3000"},{input:"https://api.example.com/path/",expected:"https://api.example.com/path"}]){let p=(0,t.validateBackendURL)(a);(0,e.expect)(p.isAbsolute).toBe(!0),(0,e.expect)(p.normalizedURL).toBe(o)}}),(0,e.it)("should throw error for invalid absolute URLs",()=>{for(let a of["ftp://example.com","ws://example.com","not-a-url://","http:/invalid-url"])(0,e.expect)(()=>(0,t.validateBackendURL)(a)).toThrow()}),(0,e.it)("should validate relative URLs correctly",()=>{for(let{input:a,expected:o}of[{input:"/api/c15t",expected:"/api/c15t"},{input:"/path/to/api",expected:"/path/to/api"}]){let p=(0,t.validateBackendURL)(a);(0,e.expect)(p.isAbsolute).toBe(!1),(0,e.expect)(p.normalizedURL).toBe(o)}}),(0,e.it)("should trim trailing slashes from relative URLs",()=>{for(let{input:a,expected:o}of[{input:"/api/c15t/",expected:"/api/c15t"},{input:"/path/to/api/",expected:"/path/to/api"},{input:"/",expected:"/"}]){let p=(0,t.validateBackendURL)(a);(0,e.expect)(p.isAbsolute).toBe(!1),(0,e.expect)(p.normalizedURL).toBe(o)}}),(0,e.it)("should throw error for invalid relative URLs",()=>{for(let a of["not-a-url","http://","https://","api/c15t"])(0,e.expect)(()=>(0,t.validateBackendURL)(a)).toThrow()})}),(0,e.describe)("normalizeBackendURL",()=>{let a=e=>({get:t=>e[t.toLowerCase()]||null});(0,e.it)("should return absolute URLs unchanged",()=>{let o="https://example.com/api",p=a({}),l=(0,t.normalizeBackendURL)(o,p);(0,e.expect)(l).toBe(o)}),(0,e.it)("should trim trailing slashes from absolute URLs",()=>{let o=a({});for(let{input:a,expected:p}of[{input:"https://my-instance.c15t.dev/",expected:"https://my-instance.c15t.dev"},{input:"https://example.com/api/",expected:"https://example.com/api"}]){let l=(0,t.normalizeBackendURL)(a,o);(0,e.expect)(l).toBe(p)}}),(0,e.it)("should construct URL from x-forwarded headers",()=>{let o=a({"x-forwarded-proto":"https","x-forwarded-host":"example.com"}),p=(0,t.normalizeBackendURL)("/api/c15t",o);(0,e.expect)(p).toBe("https://example.com/api/c15t")}),(0,e.it)("should construct URL from x-forwarded headers and trim trailing slashes",()=>{for(let{headers:o,input:p,expected:l}of[{headers:{"x-forwarded-proto":"https","x-forwarded-host":"my-instance.c15t.dev"},input:"/api/c15t/",expected:"https://my-instance.c15t.dev/api/c15t"},{headers:{"x-forwarded-proto":"https","x-forwarded-host":"example.com"},input:"/api/",expected:"https://example.com/api"}]){let i=a(o),r=(0,t.normalizeBackendURL)(p,i);(0,e.expect)(r).toBe(l)}}),(0,e.it)("should use host header when x-forwarded-host is not available",()=>{let o=a({host:"example.com"}),p=(0,t.normalizeBackendURL)("/api/c15t",o);(0,e.expect)(p).toBe("https://example.com/api/c15t")}),(0,e.it)("should use referer when host headers are not available",()=>{let o=a({referer:"https://example.com/some/path"}),p=(0,t.normalizeBackendURL)("/api/c15t",o);(0,e.expect)(p).toBe("https://example.com/api/c15t")}),(0,e.it)("should use referer and trim trailing slashes",()=>{let o=a({referer:"https://my-instance.c15t.dev/some/path"}),p=(0,t.normalizeBackendURL)("/api/c15t/",o);(0,e.expect)(p).toBe("https://my-instance.c15t.dev/api/c15t")}),(0,e.it)("should return null when no headers are available to determine base URL",()=>{let o=a({}),p=(0,t.normalizeBackendURL)("/api/c15t",o);(0,e.expect)(p).toBeNull()}),(0,e.it)("should return null for invalid URLs",()=>{let o=a({host:"example.com"}),p=(0,t.normalizeBackendURL)("not-a-url://",o);(0,e.expect)(p).toBeNull()})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c15t/nextjs",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Next.js integration for C15T consent management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"license": "GPL-3.0-only",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@c15t/react": "1.4.
|
|
23
|
-
"@c15t/translations": "1.
|
|
22
|
+
"@c15t/react": "1.4.2",
|
|
23
|
+
"@c15t/translations": "1.4.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"typescript": "^5.0.0",
|
|
27
|
-
"@c15t/backend": "1.4.
|
|
27
|
+
"@c15t/backend": "1.4.2",
|
|
28
28
|
"@c15t/typescript-config": "0.0.1-beta.1",
|
|
29
29
|
"@c15t/vitest-config": "1.0.0"
|
|
30
30
|
},
|