@nocobase/utils
Advanced tools
Comparing version 0.5.0-alpha.34 to 0.5.0-alpha.35
@@ -1,1 +0,2 @@ | ||
export declare function merge(obj1: any, obj2: any): unknown; | ||
export * from './merge'; | ||
export * from './umiConfig'; |
@@ -15,6 +15,17 @@ "use strict"; | ||
var __importDefault = void 0 && (void 0).__importDefault || function (mod) { | ||
return mod && mod.__esModule ? mod : { | ||
"default": mod | ||
}; | ||
var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { | ||
enumerable: true, | ||
get: function get() { | ||
return m[k]; | ||
} | ||
}); | ||
} : function (o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
}); | ||
var __exportStar = void 0 && (void 0).__exportStar || function (m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -25,15 +36,6 @@ | ||
}); | ||
exports.merge = void 0; | ||
const deepmerge_1 = __importDefault(require("deepmerge")); | ||
__exportStar(require("./merge"), exports); | ||
const overwriteMerge = (destinationArray, sourceArray, options) => sourceArray; | ||
function merge(obj1, obj2) { | ||
return (0, deepmerge_1.default)(obj1, obj2, { | ||
arrayMerge: overwriteMerge | ||
}); | ||
} | ||
exports.merge = merge; | ||
__exportStar(require("./umiConfig"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@nocobase/utils", | ||
"version": "0.5.0-alpha.34", | ||
"version": "0.5.0-alpha.35", | ||
"main": "lib/index.js", | ||
@@ -12,3 +12,3 @@ "types": "./lib/index.d.ts", | ||
}, | ||
"gitHead": "11cded6153bab633fb0b7415c33b4c3c369c2427" | ||
"gitHead": "2b81a6af327ee784a6943aff6e028fde3298dec9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9513
14
125
5