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

dom-serializer

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-serializer - npm Package Compare versions

Comparing version 0.2.2 to 1.0.0

lib/foreignNames.d.ts

40

package.json
{
"name": "dom-serializer",
"version": "0.2.2",
"version": "1.0.0",
"description": "render dom nodes to string",

@@ -15,27 +15,41 @@ "author": "Felix Boehm <me@feedic.com>",

},
"main": "./index.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"index.js",
"index.d.ts",
"foreignNames.json"
"lib/**/*"
],
"dependencies": {
"domelementtype": "^2.0.1",
"domhandler": "^3.0.0",
"entities": "^2.0.0"
},
"devDependencies": {
"@types/cheerio": "^0.22.18",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.1",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^2.31.0",
"cheerio": "^1.0.0-rc.2",
"expect.js": "~0.3.1",
"htmlparser2": "^3.10.0",
"lodash": "^4.17.11",
"mocha": "^6.2.0",
"xyz": "^3.0.0"
"coveralls": "^3.0.5",
"eslint": "^7.0.0",
"eslint-config-prettier": "^6.0.0",
"htmlparser2": "~4.1.0",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"ts-jest": "^25.3.1",
"typescript": "^3.5.3"
},
"scripts": {
"test": "mocha test.js"
"test": "jest --coverage && npm run lint",
"coverage": "cat coverage/lcov.info | coveralls",
"lint": "eslint --ext=js,ts src",
"format": "prettier --write '**/*.{ts,md,json}'",
"build": "tsc",
"prepare": "npm run build"
},
"prettier": {
"singleQuote": true
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"license": "MIT"
}
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