Skip to content

Commit

Permalink
Merge pull request #28 from Uzlopak/update-deps
Browse files Browse the repository at this point in the history
update dependencies, make marked devDependency, use strict everywhere
  • Loading branch information
vkarpov15 authored Sep 6, 2022
2 parents 3f4c491 + fc6317b commit c180fce
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

var parse = require('./parse');
var trimEachLine = require('./trimEachLine');

Expand Down
2 changes: 0 additions & 2 deletions lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

var esprima = require('esprima');
var formatCode = require('./formatCode');
var marked = require('marked');
var util = require('util');

module.exports = function(transforms, contents, cb) {
if (cb && !(typeof cb === 'function')) {
Expand Down
2 changes: 2 additions & 0 deletions lib/trimEachLine.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

module.exports = function(str) {
var lines = str.split('\n');
var result = '';
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "mocha test/*.test.js"
},
"author": "Valeri Karpov <[email protected]>",
"license": "Apache 2.0",
"license": "Apache-2.0",
"keywords": [
"documentation",
"docs",
Expand All @@ -22,15 +22,15 @@
"url": "git://github.com/vkarpov15/acquit.git"
},
"dependencies": {
"esprima": "4.0.0",
"marked": "0.7.x"
"esprima": "4.0.1"
},
"devDependencies": {
"acquit-ignore": "0.1.0",
"acquit-markdown": "0.1.0",
"acquit-require": "0.1.1",
"highlight.js": "9.12.0",
"mocha": "5.x",
"serve": "11.x"
"highlight.js": "11.5.0",
"marked": "4.0.12",
"mocha": "9.2.2",
"serve": "13.0.2"
}
}

0 comments on commit c180fce

Please sign in to comment.