@progress/kendo-react-common
Advanced tools
+1
-1
| { | ||
| "name": "@progress/kendo-react-common", | ||
| "version": "16.1.0-develop.6", | ||
| "version": "16.1.0-develop.7", | ||
| "description": "React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package", | ||
@@ -5,0 +5,0 @@ "author": "Progress", |
@@ -8,5 +8,5 @@ /** | ||
| */ | ||
| "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@progress/kendo-licensing"),g=require("./canUseDOM.js"),d=["telerik.com","progress.com","stackblitz.io","csb.app"],h="https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium",n=new Map,k=()=>{const t=Array.from(n,([e,c])=>`- ${e}: ${Array.from(c).join(", ")||"all"}`).join(` | ||
| "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@progress/kendo-licensing"),g=require("./canUseDOM.js"),d=["telerik.com","progress.com","stackblitz.io","csb.app","webcontainer.io"],h="https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium",n=new Map,k=()=>{const t=Array.from(n,([e,c])=>`- ${e}: ${Array.from(c).join(", ")||"all"}`).join(` | ||
| `);console.group("[WARN][Telerik and Kendo UI Licensing] KendoReact"),console.warn(`License check was triggered by these premium KendoReact components/features | ||
| ${t} | ||
| See the full list of free and premium components here: ${h}`),console.groupEnd(),n.clear()},L=(t,e)=>{const c=i.validatePackage(t),o=d.some(s=>{var r;return(r=globalThis.document)==null?void 0:r.location.hostname.endsWith(s)});if(!c&&g.canUseDOM&&e)if(n.size===0&&setTimeout(k,1e3),n.has(e.component)){const s=n.get(e.component)||[];n.set(e.component,new Set([...e.features||[],...s]))}else n.set(e.component,e.features||[]);return c||o},f=t=>i.getLicenseStatus(t).isLicenseValid,a=new WeakMap,w=t=>{var m;if(a.has(t))return a.get(t);const{version:e,productName:c}=t,o=i.getLicenseStatus(t),s=o.message,r=o.licenseType,p=(m=o.expiration)==null?void 0:m.toDateString(),l=s&&"code"in s?s.code:void 0,u={...s,code:l,licenseType:r,version:e,productName:(s==null?void 0:s.productName)||c,expiration:p};return a.set(t,u),u};exports.getLicenseMessage=w;exports.hasValidLicense=f;exports.validatePackage=L; | ||
| See the full list of free and premium components here: ${h}`),console.groupEnd(),n.clear()},L=(t,e)=>{const c=i.validatePackage(t),o=d.some(s=>{var r;return(r=globalThis.document)==null?void 0:r.location.hostname.endsWith(s)});if(!c&&g.canUseDOM&&e)if(n.size===0&&setTimeout(k,1e3),n.has(e.component)){const s=n.get(e.component)||[];n.set(e.component,new Set([...e.features||[],...s]))}else n.set(e.component,e.features||[]);return c||o},w=t=>i.getLicenseStatus(t).isLicenseValid,a=new WeakMap,f=t=>{var m;if(a.has(t))return a.get(t);const{version:e,productName:c}=t,o=i.getLicenseStatus(t),s=o.message,r=o.licenseType,p=(m=o.expiration)==null?void 0:m.toDateString(),l=s&&"code"in s?s.code:void 0,u={...s,code:l,licenseType:r,version:e,productName:(s==null?void 0:s.productName)||c,expiration:p};return a.set(t,u),u};exports.getLicenseMessage=f;exports.hasValidLicense=w;exports.validatePackage=L; |
@@ -10,3 +10,3 @@ /** | ||
| import { canUseDOM as g } from "./canUseDOM.mjs"; | ||
| const h = ["telerik.com", "progress.com", "stackblitz.io", "csb.app"], k = "https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium", o = /* @__PURE__ */ new Map(), f = () => { | ||
| const h = ["telerik.com", "progress.com", "stackblitz.io", "csb.app", "webcontainer.io"], k = "https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium?utm_medium=product&utm_source=console&utm_campaign=dt_kendoreact_freemium", o = /* @__PURE__ */ new Map(), f = () => { | ||
| const t = Array.from(o, ([e, n]) => `- ${e}: ${Array.from(n).join(", ") || "all"}`).join(` | ||
@@ -13,0 +13,0 @@ `); |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
810801
0.01%13687
0.01%