@peculiar/x509
Advanced tools
+2
-2
| { | ||
| "name": "@peculiar/x509", | ||
| "version": "1.14.3", | ||
| "version": "2.0.0", | ||
| "description": "@peculiar/x509 is an easy to use TypeScript/Javascript library based on @peculiar/asn1-schema that makes generating X.509 Certificates and Certificate Requests as well as validating certificate chains easy", | ||
@@ -54,2 +54,3 @@ "main": "build/x509.cjs.js", | ||
| "devDependencies": { | ||
| "@abraham/reflection": "^0.13.0", | ||
| "@babel/core": "^7.28.5", | ||
@@ -81,3 +82,2 @@ "@babel/preset-env": "^7.28.5", | ||
| "pvtsutils": "^1.3.6", | ||
| "reflect-metadata": "^0.2.2", | ||
| "tslib": "^2.8.1", | ||
@@ -84,0 +84,0 @@ "tsyringe": "^4.10.0" |
+19
-0
@@ -16,2 +16,3 @@ <h1 align="center"> | ||
| - [About](#about) | ||
| - [⚠️ Reflect Polyfill Required](#-reflect-polyfill-required) | ||
| - [Installation](#installation) | ||
@@ -33,2 +34,20 @@ - [Documentation](#documentation) | ||
| ## ⚠️ Reflect Polyfill Required | ||
| **This library requires a Reflect API polyfill.** You must install one of the following and import it at the top of your entry point: | ||
| - [reflect-metadata](https://www.npmjs.com/package/reflect-metadata) | ||
| - [core-js](https://www.npmjs.com/package/core-js) (`core-js/full/reflect`) | ||
| - [@abraham/reflection](https://www.npmjs.com/package/@abraham/reflection) | ||
| **Example with reflect-metadata:** | ||
| ```js | ||
| import "reflect-metadata"; | ||
| import * as x509 from "@peculiar/x509"; | ||
| // ... | ||
| ``` | ||
| If you see the error **"tsyringe requires a reflect polyfill. Please add 'import "reflect-metadata"' to the top of your entry point."** — install one of the polyfills above and add the import before any `@peculiar/x509` imports. | ||
| ## Installation | ||
@@ -35,0 +54,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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.
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
10
-9.09%240
8.6%0
-100%539791
-2.05%17
6.25%9221
-0.63%- Removed
- Removed