Comparing version 0.0.1 to 1.0.0
@@ -1,2 +0,16 @@ | ||
# 0.0.1 | ||
Adds a CHANGELOG | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
## [1.0.0] - 2017-07-09 | ||
### Changed | ||
- Use parse5 instead of jsdom | ||
### Fixed | ||
- Text node bug due to inconsistent whitespace | ||
- conversion error | ||
- Cyrillic characters encoding | ||
- Indentation for multi-line comments | ||
- Canvas tag issue |
{ | ||
"name": "html2pug", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"description": "Converts HTML to Pug", | ||
"main": "lib/index.js", | ||
"main": "src/index.js", | ||
"bin": { | ||
"html2pug": "lib/cli.js" | ||
"html2pug": "src/cli.js" | ||
}, | ||
"dependencies": { | ||
"html-minifier": "^1.1.1", | ||
"jsdom": "^8.0.2", | ||
"minimist": "^1.2.0" | ||
"arrify": "^1.0.1", | ||
"html-minifier": "^3.5.2", | ||
"minimist": "^1.2.0", | ||
"parse5": "^2.1.5" | ||
}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"eslint": "^4.1.1", | ||
"eslint-config-standard": "^10.2.1", | ||
"eslint-plugin-import": "^2.6.1", | ||
"eslint-plugin-node": "^5.1.0", | ||
"eslint-plugin-promise": "^3.5.0", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"husky": "^0.14.2", | ||
"lint-staged": "^4.0.0", | ||
"prettier-standard": "^6.0.0" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"standard": "prettier-standard 'src/**/*.js'", | ||
"lint": "eslint src", | ||
"precommit": "lint-staged", | ||
"prepush": "npm run lint" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier-standard", | ||
"git add" | ||
] | ||
}, | ||
"repository": { | ||
@@ -19,0 +40,0 @@ "type": "git", |
# html2pug | ||
HTML to Pug converter. | ||
Converts HTML to Pug (formerly Jade) | ||
Node.js 5.0+ minimum. Uses depth-first search for DOM tree traversal, and ES6 generators. | ||
## Install | ||
## Early stages. Very experimental. | ||
Get it on npm: | ||
```bash | ||
npm i -g html2pug | ||
``` | ||
node lib/cli.js -f /path/to/file.html | ||
## Usage | ||
```bash | ||
html2pug -f /path/to/file.html | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
7943
10
147
1
17
4
9
1
+ Addedarrify@^1.0.1
+ Addedparse5@^2.1.5
+ Addedarrify@1.0.1(transitive)
+ Addedcamel-case@3.0.0(transitive)
+ Addedclean-css@4.2.4(transitive)
+ Addedcommander@2.17.12.19.0(transitive)
+ Addedhe@1.2.0(transitive)
+ Addedhtml-minifier@3.5.21(transitive)
+ Addedno-case@2.3.2(transitive)
+ Addedparam-case@2.1.1(transitive)
+ Addedparse5@2.2.3(transitive)
+ Addeduglify-js@3.4.10(transitive)
- Removedjsdom@^8.0.2
- Removedabab@1.0.4(transitive)
- Removedacorn@2.7.0(transitive)
- Removedacorn-globals@1.0.9(transitive)
- Removedajv@6.12.6(transitive)
- Removedalign-text@0.1.4(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedarray-equal@1.0.2(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasync@0.2.10(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedcamel-case@1.2.2(transitive)
- Removedcamelcase@1.2.1(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcenter-align@0.1.3(transitive)
- Removedchange-case@2.3.1(transitive)
- Removedclean-css@3.4.28(transitive)
- Removedcliui@2.1.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcommander@2.8.12.9.0(transitive)
- Removedconcat-stream@1.5.2(transitive)
- Removedconstant-case@1.1.2(transitive)
- Removedcore-util-is@1.0.21.0.3(transitive)
- Removedcssom@0.3.8(transitive)
- Removedcssstyle@0.2.37(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removeddot-case@1.1.2(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedescodegen@1.14.3(transitive)
- Removedesprima@4.0.1(transitive)
- Removedestraverse@4.3.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedgraceful-readlink@1.0.1(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhe@1.0.0(transitive)
- Removedhtml-minifier@1.5.0(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedis-lower-case@1.1.3(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedis-upper-case@1.1.2(transitive)
- Removedisarray@1.0.0(transitive)
- Removedisstream@0.1.2(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjsdom@8.5.0(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedkind-of@3.2.2(transitive)
- Removedlazy-cache@1.0.4(transitive)
- Removedlevn@0.3.0(transitive)
- Removedlongest@1.0.1(transitive)
- Removedlower-case-first@1.0.2(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedncname@1.0.0(transitive)
- Removednwmatcher@1.4.4(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedoptionator@0.8.3(transitive)
- Removedparam-case@1.1.2(transitive)
- Removedparse5@1.5.1(transitive)
- Removedpascal-case@1.1.2(transitive)
- Removedpath-case@1.1.2(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedprelude-ls@1.1.2(transitive)
- Removedprocess-nextick-args@1.0.7(transitive)
- Removedpsl@1.10.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedreadable-stream@2.0.6(transitive)
- Removedrepeat-string@1.6.1(transitive)
- Removedrequest@2.88.2(transitive)
- Removedright-align@0.1.3(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsax@1.4.1(transitive)
- Removedsentence-case@1.1.3(transitive)
- Removedsnake-case@1.1.2(transitive)
- Removedsource-map@0.4.40.5.7(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedswap-case@1.1.2(transitive)
- Removedsymbol-tree@3.2.4(transitive)
- Removedtitle-case@1.1.2(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removedtype-check@0.3.2(transitive)
- Removedtypedarray@0.0.7(transitive)
- Removeduglify-js@2.6.4(transitive)
- Removeduglify-to-browserify@1.0.2(transitive)
- Removedupper-case-first@1.1.2(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removeduuid@3.4.0(transitive)
- Removedverror@1.10.0(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@2.0.1(transitive)
- Removedwindow-size@0.1.0(transitive)
- Removedword-wrap@1.2.5(transitive)
- Removedwordwrap@0.0.2(transitive)
- Removedxml-char-classes@1.0.0(transitive)
- Removedxml-name-validator@2.0.1(transitive)
- Removedyargs@3.10.0(transitive)
Updatedhtml-minifier@^3.5.2