Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

posthtml

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthtml - npm Package Compare versions

Comparing version 0.16.6 to 0.16.7-0

.eslintrc.json

51

package.json
{
"name": "posthtml",
"version": "0.16.6",
"version": "0.16.7-0",
"description": "HTML/XML processor",

@@ -16,8 +16,12 @@ "keywords": [

],
"main": "lib",
"types": "types/posthtml.d.ts",
"files": [
"types",
"lib"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"browser": "./dist/index.global.js",
"types": "./types/posthtml.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"engines": {

@@ -31,20 +35,23 @@ "node": ">=12.0.0"

"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-angular": "^16.2.1",
"c8": "^7.7.3",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"conventional-changelog-cli": "^2.1.1",
"husky": "^7.0.1",
"jsdoc-to-markdown": "^7.0.1",
"lint-staged": "^12.3.4",
"mocha": "^9.0.3",
"standard": "^16.0.2"
"@commitlint/cli": "^17.8.0",
"@commitlint/config-angular": "^17.8.0",
"@swc/core": "^1.3.93",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.51.0",
"husky": "^8.0.3",
"jsdoc-to-markdown": "^8.0.0",
"lint-staged": "^15.0.2",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
"scripts": {
"version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md",
"test": "c8 mocha",
"build": "rm -rf dist && tsup src/*.ts --format esm,cjs,iife --sourcemap --minify",
"prepare": "husky install && npm run build",
"test": "vitest run --coverage",
"docs:api": "jsdoc2md lib/api.js > docs/api.md",
"docs:core": "jsdoc2md lib/index.js > docs/core.md"
"docs:core": "jsdoc2md lib/index.js > docs/core.md",
"lint": "eslint . --ext .ts"
},

@@ -51,0 +58,0 @@ "author": "Ivan Voischev <voischev.ivan@ya.ru>",

[![NPM][npm]][npm-url]
[![Deps][deps]][deps-url]
[![Tests][build]][build-url]

@@ -395,5 +394,2 @@ [![Coverage][cover]][cover-url]

[deps]: https://david-dm.org/posthtml/posthtml.svg
[deps-url]: https://david-dm.org/posthtml/posthtml
[build]: https://github.com/posthtml/posthtml/workflows/Actions%20Status/badge.svg?style=flat-square

@@ -400,0 +396,0 @@ [build-url]: https://github.com/posthtml/posthtml/actions?query=workflow%3A%22CI+tests%22

@@ -79,4 +79,4 @@ type Maybe<T> = void | T;

sync?: boolean;
parser?: Function;
render?: Function;
parser?: () => void;
render?: () => void;
skipParse?: boolean;

@@ -83,0 +83,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc