@aleodoni-fullstack/core-libs
Advanced tools
Comparing version 1.0.6 to 1.0.7
"use strict"; | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
@@ -20,10 +18,2 @@ var __export = (target, all) => { | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
mod | ||
)); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
@@ -304,3 +294,3 @@ | ||
// src/domain/UniqueEntityID.ts | ||
var import_crypto = __toESM(require("crypto")); | ||
var import_uuid = require("uuid"); | ||
@@ -333,3 +323,3 @@ // src/domain/Identifier.ts | ||
constructor(id) { | ||
super(id || import_crypto.default.randomUUID()); | ||
super(id || (0, import_uuid.v4)()); | ||
} | ||
@@ -336,0 +326,0 @@ }; |
{ | ||
"name": "@aleodoni-fullstack/core-libs", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"main": "dist/index.js", | ||
@@ -18,2 +18,3 @@ "license": "MIT", | ||
"@types/node": "^20.5.7", | ||
"@types/uuid": "^9.0.8", | ||
"ts-node": "^10.9.1", | ||
@@ -23,3 +24,6 @@ "tsup": "^7.2.0", | ||
"vitest": "^0.34.3" | ||
}, | ||
"dependencies": { | ||
"uuid": "^9.0.1" | ||
} | ||
} |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
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 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance 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
1205371
14
17131
1
8
15
2
+ Addeduuid@^9.0.1
+ Addeduuid@9.0.1(transitive)