Skip to content

Commit

Permalink
fix: upgrade dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
osdevisnot committed May 13, 2021
1 parent d525e5d commit c8d2ce3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
37 changes: 21 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
"ignores": [
"examples/**"
],
"prettier": true
"prettier": true,
"rules": {
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-module": "off"
}
},
"prettier": {
"bracketSpacing": true,
Expand All @@ -48,44 +52,45 @@
"useTabs": true
},
"devDependencies": {
"@babel/core": "7.13.15",
"@babel/plugin-proposal-decorators": "7.13.15",
"@babel/plugin-proposal-object-rest-spread": "7.13.8",
"@babel/core": "7.14.2",
"@babel/plugin-proposal-decorators": "7.14.2",
"@babel/plugin-proposal-object-rest-spread": "7.14.2",
"@babel/plugin-transform-regenerator": "7.13.15",
"@babel/preset-env": "7.13.15",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@babel/preset-typescript": "7.13.0",
"@emotion/babel-plugin": "11.3.0",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "18.0.0",
"@rollup/plugin-commonjs": "19.0.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "11.2.1",
"@rollup/plugin-node-resolve": "13.0.0",
"@rollup/plugin-replace": "2.4.2",
"@rollup/plugin-typescript": "8.2.1",
"@rollup/pluginutils": "4.1.0",
"@types/node": "14.14.41",
"@vercel/ncc": "0.28.3",
"@types/node": "15.0.3",
"@vercel/ncc": "0.28.5",
"babel-plugin-codegen": "4.1.4",
"babel-plugin-dev-expression": "0.2.2",
"babel-plugin-macros": "3.0.1",
"babel-plugin-macros": "3.1.0",
"babel-plugin-styled-components": "1.12.0",
"cz-conventional-changelog": "3.3.0",
"deepmerge": "4.2.2",
"getopts": "2.3.0",
"gzip-size": "6.0.0",
"husky": "^6.0.0",
"kleur": "4.1.4",
"mkdirp": "1.0.4",
"patch-package": "6.4.7",
"pretty-bytes": "5.6.0",
"rollup": "2.45.2",
"rollup": "2.47.0",
"rollup-plugin-dts": "3.0.1",
"rollup-plugin-node-globals": "1.4.0",
"semantic-release": "17.4.2",
"semantic-release": "17.4.3",
"servor": "4.0.2",
"sort-package-json": "1.49.0",
"terser": "5.6.1",
"sort-package-json": "1.50.0",
"terser": "5.7.0",
"typescript": "^4.2.4",
"xo": "0.38.2",
"xo-quick": "0.0.7"
"xo": "0.40.1",
"xo-quick": "0.0.8"
}
}
2 changes: 1 addition & 1 deletion src/packages/terser.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { readFileSync, existsSync, writeFileSync } from 'fs'
import { codeFrameColumns } from '@babel/code-frame'
import { createFilter } from '@rollup/pluginutils'
import { minify } from 'terser'
import { error } from '../logger.js'
import merge from 'deepmerge'
import { error } from '../logger.js'

const transform = async (code, options) => {
const result = await minify(code, options).catch((error) => {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { execSync } from 'child_process'
import { existsSync as exists, readFile as _readFile, writeFile as _writeFile } from 'fs'
import mkdir from 'mkdirp'
import path from 'path'
import { promisify } from 'util'
import mkdir from 'mkdirp'

const readFile = promisify(_readFile)
const writeFile = promisify(_writeFile)
Expand Down

0 comments on commit c8d2ce3

Please sign in to comment.