Skip to content

Commit b4d23a1

Browse files
committed
fix: upgrade dev dependencies
1 parent 6742a87 commit b4d23a1

File tree

3 files changed

+33
-32
lines changed

3 files changed

+33
-32
lines changed

package.json

+29-29
Original file line numberDiff line numberDiff line change
@@ -53,45 +53,45 @@
5353
"useTabs": true
5454
},
5555
"devDependencies": {
56-
"@babel/core": "7.15.0",
57-
"@babel/plugin-proposal-decorators": "7.14.5",
58-
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
59-
"@babel/plugin-transform-regenerator": "7.14.5",
60-
"@babel/preset-env": "7.15.0",
61-
"@babel/preset-react": "7.14.5",
62-
"@babel/preset-typescript": "7.15.0",
63-
"@emotion/babel-plugin": "11.3.0",
56+
"@babel/core": "7.16.7",
57+
"@babel/plugin-proposal-decorators": "7.16.7",
58+
"@babel/plugin-proposal-object-rest-spread": "7.16.7",
59+
"@babel/plugin-transform-regenerator": "7.16.7",
60+
"@babel/preset-env": "7.16.7",
61+
"@babel/preset-react": "7.16.7",
62+
"@babel/preset-typescript": "7.16.7",
63+
"@emotion/babel-plugin": "11.7.2",
6464
"@rollup/plugin-babel": "5.3.0",
65-
"@rollup/plugin-commonjs": "20.0.0",
65+
"@rollup/plugin-commonjs": "21.0.1",
6666
"@rollup/plugin-json": "4.1.0",
67-
"@rollup/plugin-node-resolve": "13.0.4",
68-
"@rollup/plugin-replace": "3.0.0",
69-
"@rollup/plugin-typescript": "8.2.5",
70-
"@rollup/pluginutils": "4.1.1",
71-
"@types/node": "16.7.2",
72-
"@vercel/ncc": "0.29.2",
73-
"babel-plugin-codegen": "4.1.4",
74-
"babel-plugin-dev-expression": "0.2.2",
67+
"@rollup/plugin-node-resolve": "13.1.2",
68+
"@rollup/plugin-replace": "3.0.1",
69+
"@rollup/plugin-typescript": "8.3.0",
70+
"@rollup/pluginutils": "4.1.2",
71+
"@types/node": "17.0.7",
72+
"@vercel/ncc": "0.33.1",
73+
"babel-plugin-codegen": "4.1.5",
74+
"babel-plugin-dev-expression": "0.2.3",
7575
"babel-plugin-macros": "3.1.0",
76-
"babel-plugin-styled-components": "1.13.2",
76+
"babel-plugin-styled-components": "2.0.2",
7777
"cz-conventional-changelog": "3.3.0",
7878
"deepmerge": "4.2.2",
7979
"getopts": "2.3.0",
80-
"gzip-size": "6.0.0",
81-
"husky": "^6.0.0",
80+
"gzip-size": "7.0.0",
81+
"husky": "^7.0.4",
8282
"kleur": "4.1.4",
8383
"mkdirp": "1.0.4",
8484
"patch-package": "6.4.7",
8585
"pretty-bytes": "5.6.0",
86-
"rollup": "2.56.3",
87-
"rollup-plugin-dts": "3.0.2",
88-
"rollup-plugin-polyfill-node": "0.7.0",
89-
"semantic-release": "17.4.7",
86+
"rollup": "2.62.0",
87+
"rollup-plugin-dts": "4.1.0",
88+
"rollup-plugin-polyfill-node": "0.8.0",
89+
"semantic-release": "18.0.1",
9090
"servor": "4.0.2",
91-
"sort-package-json": "1.50.0",
92-
"terser": "5.7.1",
93-
"typescript": "^4.3.5",
94-
"xo": "0.44.0",
95-
"xo-quick": "0.0.8"
91+
"sort-package-json": "1.53.1",
92+
"terser": "5.10.0",
93+
"typescript": "^4.5.4",
94+
"xo": "0.47.0",
95+
"xo-quick": "0.0.9"
9696
}
9797
}

src/packages/sizeme.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
* specially when we use `terser` to generate final output anyway.
66
*/
77
/* eslint-disable unicorn/no-array-for-each */
8-
import gzip from 'gzip-size'
8+
import { gzipSizeSync } from 'gzip-size'
99
import prettyBytes from 'pretty-bytes'
1010
import { info } from '../logger.js'
1111

1212
export const sizeme = () => {
1313
const showSize = (bundle) => {
1414
const { code, fileName } = bundle
15-
const size = gzip.sync(code)
16-
const pretty = prettyBytes(gzip.sync(code))
15+
const size = gzipSizeSync(code)
16+
const pretty = prettyBytes(gzipSizeSync(code))
1717
info(`\t${pretty}\t(${size})\t${fileName}`)
1818
}
1919

test.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
22
# set -x
33
git clean -fdX
4+
npm install
45
npm link
56
cd examples
67
for dir in $(ls | grep -v const-enums)

0 commit comments

Comments
 (0)