@progress/kendo-react-common
Advanced tools
+1
-1
| { | ||
| "name": "@progress/kendo-react-common", | ||
| "version": "16.1.0-develop.5", | ||
| "version": "16.1.0-develop.6", | ||
| "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", |
+1
-1
@@ -8,2 +8,2 @@ /** | ||
| */ | ||
| "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./fieldList.js"),n={};n.undefined=t=>t;const l=(t,e)=>e&&e.arrays&&!isNaN(Number(t))?[]:{};function d(t){if(n[t])return n[t];const e=a.fieldList(t);return n[t]=(u,c,i)=>{let r=u;const o=e.length-1;for(let s=0;s<o&&r;s++)r=r[e[s]]=r[e[s]]||l(e[s+1],i);r[e[o]]=c},n[t]}exports.setter=d; | ||
| "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./fieldList.js"),s={};s.undefined=t=>t;const d=(t,e)=>e&&e.arrays&&!isNaN(Number(t))?[]:{};function l(t){const e=t===void 0?[]:a.fieldList(t);if(e.some(r=>r==="__proto__"||r==="constructor"||r==="prototype"))throw new Error("Field path contains a prohibited segment");return s[t]||(s[t]=(r,i,u)=>{let o=r;const c=e.length-1;for(let n=0;n<c&&o;n++)o=o[e[n]]=o[e[n]]||d(e[n+1],u);o[e[c]]=i}),s[t]}exports.setter=l; |
+16
-16
@@ -8,20 +8,20 @@ /** | ||
| */ | ||
| import { fieldList as f } from "./fieldList.mjs"; | ||
| const o = {}; | ||
| o.undefined = (t) => t; | ||
| const i = (t, e) => e && e.arrays && !isNaN(Number(t)) ? [] : {}; | ||
| function h(t) { | ||
| if (o[t]) | ||
| return o[t]; | ||
| const e = f(t); | ||
| return o[t] = (u, a, c) => { | ||
| let r = u; | ||
| const s = e.length - 1; | ||
| for (let n = 0; n < s && r; n++) | ||
| r = r[e[n]] = r[e[n]] || i(e[n + 1], c); | ||
| r[e[s]] = a; | ||
| }, o[t]; | ||
| import { fieldList as i } from "./fieldList.mjs"; | ||
| const s = {}; | ||
| s.undefined = (t) => t; | ||
| const p = (t, r) => r && r.arrays && !isNaN(Number(t)) ? [] : {}; | ||
| function d(t) { | ||
| const r = t === void 0 ? [] : i(t); | ||
| if (r.some((o) => o === "__proto__" || o === "constructor" || o === "prototype")) | ||
| throw new Error("Field path contains a prohibited segment"); | ||
| return s[t] || (s[t] = (o, c, u) => { | ||
| let e = o; | ||
| const a = r.length - 1; | ||
| for (let n = 0; n < a && e; n++) | ||
| e = e[r[n]] = e[r[n]] || p(r[n + 1], u); | ||
| e[r[a]] = c; | ||
| }), s[t]; | ||
| } | ||
| export { | ||
| h as setter | ||
| d as setter | ||
| }; |
Sorry, the diff of this file is too big to display
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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.
810746
0.05%13686
0.01%70
1.45%