Skip to content

Commit

Permalink
build: update depdev
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Jun 3, 2021
1 parent b07aa0b commit 4d1a12f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const pkg = require('../package.json')
const Api = require('./api.js')

let { default: parser } = require('posthtml-parser')
let render = require('posthtml-render')
let { default: render } = require('posthtml-render')

/**
* @author Ivan Voischev (@voischev),
Expand Down
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"node": ">=10.0.0"
},
"dependencies": {
"posthtml-parser": "^0.7.2",
"posthtml-render": "^1.3.1"
"posthtml-parser": "^0.9.0",
"posthtml-render": "^2.0.2"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { it, describe } = require('mocha')
const { expect } = require('chai')

const { default: parser } = require('posthtml-parser')
const render = require('posthtml-render')
const { default: render } = require('posthtml-render')

const html = readFileSync(
path.resolve(__dirname, 'templates/parser.html'), 'utf8'
Expand Down

0 comments on commit 4d1a12f

Please sign in to comment.