Skip to content

Commit 8cf8742

Browse files
committed
Update dev-dependencies
1 parent aa99dc7 commit 8cf8742

File tree

6 files changed

+2555
-2387
lines changed

6 files changed

+2555
-2387
lines changed

.eslintrc.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
module.exports = {
22
extends: [
3-
'airbnb-base'
3+
'airbnb-base',
44
],
55
parser: 'babel-eslint',
66
env: {
7-
es6: true
7+
es6: true,
88
},
99
overrides: [{
1010
files: ['*.test.*'],
1111
env: {
12-
jest: true
13-
}
12+
jest: true,
13+
},
1414
}, {
1515
files: ['karma.conf.js'],
1616
env: {
17-
node: true
17+
node: true,
1818
},
1919
rules: {
2020
'import/no-extraneous-dependencies': 'off',
2121
},
2222
}, {
2323
files: ['src/*'],
2424
env: {
25-
browser: true
25+
browser: true,
2626
},
2727
}],
2828
rules: {

karma.conf.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const babel = require('rollup-plugin-babel');
2-
const commonjs = require('rollup-plugin-commonjs');
3-
const resolve = require('rollup-plugin-node-resolve');
4-
const json = require('rollup-plugin-json');
1+
const babel = require('@rollup/plugin-babel').default;
2+
const commonjs = require('@rollup/plugin-commonjs');
3+
const json = require('@rollup/plugin-json');
4+
const resolve = require('@rollup/plugin-node-resolve').default;
55

66
module.exports = function karmaConfig(config) {
77
config.set({

package.json

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,39 +34,38 @@
3434
"web-namespaces": "^1.1.3"
3535
},
3636
"devDependencies": {
37-
"@babel/core": "^7.4.5",
37+
"@babel/core": "^7.0.0",
3838
"@babel/plugin-external-helpers": "^7.0.0",
39-
"@babel/preset-env": "^7.4.5",
40-
"babel-core": "^7.0.0-bridge.0",
39+
"@babel/preset-env": "^7.0.0",
40+
"@rollup/plugin-babel": "^5.0.0",
41+
"@rollup/plugin-commonjs": "^13.0.0",
42+
"@rollup/plugin-json": "^4.0.0",
43+
"@rollup/plugin-node-resolve": "^8.0.0",
4144
"babel-eslint": "^10.0.0",
42-
"babel-jest": "^25.0.0",
43-
"eslint": "^6.0.0",
45+
"babel-jest": "^26.0.0",
46+
"eslint": "^7.0.0",
4447
"eslint-config-airbnb-base": "^14.0.0",
4548
"eslint-plugin-import": "^2.0.0",
4649
"glob": "^7.0.0",
4750
"hastscript": "^5.0.0",
4851
"jasmine-core": "^3.0.0",
49-
"jest-cli": "^25.0.0",
50-
"karma": "^4.0.0",
52+
"jest-cli": "^26.0.0",
53+
"karma": "^5.0.0",
5154
"karma-chrome-launcher": "^3.0.0",
5255
"karma-firefox-launcher": "^1.0.0",
5356
"karma-jasmine": "^3.0.0",
5457
"karma-mocha-reporter": "^2.0.0",
5558
"karma-rollup-preprocessor": "^7.0.0",
5659
"karma-safari-launcher": "^1.0.0",
57-
"remark-cli": "^7.0.0",
58-
"remark-preset-wooorm": "^6.0.0",
59-
"rollup": "^1.0.0",
60-
"rollup-plugin-babel": "^4.0.1",
61-
"rollup-plugin-commonjs": "^10.0.0",
62-
"rollup-plugin-json": "^4.0.0",
63-
"rollup-plugin-node-resolve": "^5.0.0",
60+
"remark-cli": "^8.0.0",
61+
"remark-preset-wooorm": "^7.0.0",
62+
"rollup": "^2.0.0",
6463
"w3c-xmlserializer": "^2.0.0"
6564
},
6665
"scripts": {
6766
"clean": "rm -rf dist",
6867
"build": "rollup -c",
69-
"lint": "remark . -qfo && eslint .",
68+
"lint": "remark . -qfo && eslint . --fix",
7069
"test": "jest",
7170
"test:karma": "karma start --single-run --browsers ChromeHeadless,FirefoxHeadless,Safari karma.conf.js",
7271
"test:karma:chrome": "karma start --single-run --browsers ChromeHeadless karma.conf.js",

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import babel from 'rollup-plugin-babel';
1+
import babel from '@rollup/plugin-babel';
22

33
import pkg from './package.json';
44

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ function appendAll(node, children, options) {
162162
return node;
163163
}
164164

165-
166165
export default function toDOM(hast, options = {}) {
167166
return transform(hast, { ...options, doc: options.document || document });
168167
}

0 commit comments

Comments
 (0)