Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Dec 4, 2021
1 parent b9871fb commit 5818440
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function defaultStringLength(value) {
* @returns {number}
*/
function toAlignment(value) {
const code = typeof value === 'string' ? value.charCodeAt(0) : 0
const code = typeof value === 'string' ? value.codePointAt(0) : 0

return code === 67 /* `C` */ || code === 99 /* `c` */
? 99 /* `c` */
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
"devDependencies": {
"@types/tape": "^4.0.0",
"c8": "^7.0.0",
"chalk": "^4.0.0",
"chalk": "^5.0.0",
"prettier": "^2.0.0",
"remark-cli": "^9.0.0",
"remark-preset-wooorm": "^8.0.0",
"remark-cli": "^10.0.0",
"remark-preset-wooorm": "^9.0.0",
"rimraf": "^3.0.0",
"strip-ansi": "^7.0.0",
"tape": "^5.0.0",
"type-coverage": "^2.0.0",
"typescript": "^4.0.0",
"xo": "^0.39.0"
"xo": "^0.47.0"
},
"scripts": {
"prepack": "npm run build && npm run format",
Expand Down

0 comments on commit 5818440

Please sign in to comment.