html-to-document-core
Advanced tools
+16
| ISC License | ||
| Copyright (c) 2025 Chipili Kafwilo | ||
| Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. | ||
| THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER. | ||
| MIT No Attribution License | ||
| Copyright (c) 2025 Chipili Kafwilo | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software. | ||
| The Software is provided "AS IS", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors be liable for any claim, damages or other liability. | ||
| This license does not require attribution. |
+6
-0
| ## <small>0.3.0 (2025-06-08)</small> | ||
| ## 0.4.1 | ||
| ### Patch Changes | ||
| - [`301a878`](https://github.com/ChipiKaf/html-to-document/commit/301a8784fc40e59e9b56b8003cf78a23463784af) Thanks [@Alexnortung](https://github.com/Alexnortung)! - Switched to pnpm package manager | ||
| ## 0.4.0 | ||
@@ -4,0 +10,0 @@ |
+24
-18
| { | ||
| "name": "html-to-document-core", | ||
| "version": "0.4.0", | ||
| "version": "0.4.1", | ||
| "description": "Core engine that parses HTML into an intermediate DocumentElement tree and exposes a plugin registry so external adapters can convert that tree into DOCX, PDF, XLSX, Markdown and more.", | ||
@@ -29,12 +29,12 @@ "keywords": [ | ||
| "types": { | ||
| "default": "./dist/index.d.ts", | ||
| "development": "./src/index.ts" | ||
| "development": "./src/index.ts", | ||
| "default": "./dist/index.d.ts" | ||
| }, | ||
| "require": { | ||
| "default": "./dist/index.js", | ||
| "development": "./src/index.ts" | ||
| "development": "./src/index.ts", | ||
| "default": "./dist/index.js" | ||
| }, | ||
| "import": { | ||
| "default": "./dist/index.js", | ||
| "development": "./src/index.ts" | ||
| "development": "./src/index.ts", | ||
| "default": "./dist/index.js" | ||
| } | ||
@@ -51,21 +51,27 @@ }, | ||
| ], | ||
| "scripts": { | ||
| "typecheck": "tsc --noEmit -p tsconfig.json", | ||
| "build": "tsc -p tsconfig.json", | ||
| "test": "jest", | ||
| "lint": "eslint 'src/**/*.{ts,tsx}' --ignore-pattern '**/*.d.ts'", | ||
| "format": "prettier --write 'src/**/*.{ts,tsx,js,jsx,json,css,md}'" | ||
| }, | ||
| "dependencies": { | ||
| "@asamuzakjp/css-color": "^3.1.2", | ||
| "colornames": "^1.1.1", | ||
| "csstype": "^3.1.3", | ||
| "jsdom": "^26.0.0", | ||
| "tldts": "^6.1.32", | ||
| "rrweb-cssom": "^0.8.0", | ||
| "@asamuzakjp/css-color": "^3.1.2" | ||
| "tldts": "^6.1.32" | ||
| }, | ||
| "peerDependencies": {}, | ||
| "peerDependencies": { | ||
| "docx": "*" | ||
| }, | ||
| "engines": { | ||
| "node": ">=14" | ||
| }, | ||
| "devDependencies": { | ||
| "vitest": "^3.2.4" | ||
| }, | ||
| "scripts": { | ||
| "typecheck": "tsc --noEmit -p tsconfig.json", | ||
| "build": "tsc -p tsconfig.json", | ||
| "test": "vitest --watch false", | ||
| "test:watch": "vitest --watch", | ||
| "lint": "eslint 'src/**/*.{ts,tsx}' --ignore-pattern '**/*.d.ts'", | ||
| "format": "prettier --write 'src/**/*.{ts,tsx,js,jsx,json,css,md}'" | ||
| } | ||
| } | ||
| } |
+5
-5
@@ -116,12 +116,12 @@ # html-to-document-core | ||
| # At repo root | ||
| bun install | ||
| bun run build | ||
| pnpm install | ||
| pnpm run build | ||
| # To test core only | ||
| cd packages/core | ||
| bun run test | ||
| pnpm run test | ||
| # Lint and format | ||
| bun run lint | ||
| bun run format | ||
| pnpm run lint | ||
| pnpm run format | ||
| ``` | ||
@@ -128,0 +128,0 @@ |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
LicensePackage contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
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
112762
1.47%46
2.22%7
16.67%1
Infinity%2
Infinity%80
-20%