You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

posthtml-component

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthtml-component - npm Package Compare versions

Comparing version

to
2.0.0-beta.1

LICENSE

40

package.json
{
"name": "posthtml-component",
"version": "1.1.1",
"description": "PostHTML Components Blade-like with slots, attributes as props and custom tag",
"version": "2.0.0-beta.1",
"description": "PostHTML Components Blade-like with slots, attributes as props and custom tags",
"license": "MIT",
"repository": "thewebartisan7/posthtml-components",
"repository": "posthtml/posthtml-components",
"author": "Damir Grgic <damir@tuta.io> (https://github.com/thewebartisan7)",

@@ -13,6 +13,8 @@ "main": "src",

"scripts": {
"version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md",
"test": "c8 ava",
"pretest": "clinton && xo",
"build": "node ./docs-src"
"dev": "vitest",
"release": "npm run changelog && npx np",
"docs": "node ./docs-src",
"lint": "biome lint ./src ./scripts",
"test": "vitest run --coverage",
"changelog": "conventional-changelog -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'chore: update changelog.md' && git push"
},

@@ -24,2 +26,3 @@ "keywords": [

"components",
"include",
"html"

@@ -30,19 +33,14 @@ ],

"posthtml": "^0.16.6",
"posthtml-attrs-parser": "^0.1.1",
"posthtml-expressions": "^1.9.0",
"posthtml-attrs-parser": "^1.1.0",
"posthtml-expressions": "^1.11.4",
"posthtml-parser": "^0.12.0",
"posthtml-render": "^3.0.0",
"style-to-object": "^1.0.5"
"style-to-object": "^1.0.6"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-angular": "^18.4.3",
"ava": "^3.15.0",
"c8": "^9.0.0",
"clinton": "^0.14.0",
"conventional-changelog-cli": "^4.1.0",
"@biomejs/biome": "1.8.3",
"@vitest/coverage-v8": "^2.0.4",
"conventional-changelog-cli": "^5.0.0",
"highlight.js": "^11.6.0",
"husky": "^9.0.7",
"lint-staged": "^15.2.0",
"markdown-it-anchor": "^8.6.5",
"markdown-it-anchor": "^9.0.1",
"markdown-it-include": "^2.0.0",

@@ -52,5 +50,5 @@ "markdown-it-toc-done-right": "^4.2.0",

"posthtml-include": "^1.7.4",
"posthtml-markdownit": "^1.3.0",
"xo": "^0.37.1"
"posthtml-markdownit": "^3.1.0",
"vitest": "^2.0.4"
}
}

@@ -162,3 +162,3 @@ 'use strict';

return function (tree) {
return tree => {
log(`Processing tree number ${processCounter}..`, 'processTree');

@@ -273,5 +273,5 @@

throw new Error(`[components] The component was not found in ${componentPath}.`);
} else {
return false;
}
return false;
}

@@ -278,0 +278,0 @@