posthtml-component
Advanced tools
Comparing version
{ | ||
"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 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
124456
0.86%11
-31.25%4279
-0.02%2
100%1
Infinity%+ Added
- Removed
Updated
Updated
Updated