Skip to content

Commit

Permalink
Merge branch 'release/v2.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant1mas committed Feb 23, 2024
2 parents fdc6c58 + 5688be6 commit 7a1dd03
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Binary file modified bun.lockb
Binary file not shown.
7 changes: 7 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import structuredClone from '@ungap/structured-clone'

import methodConvert from '@/methods/convert'

if (!('structuredClone' in globalThis)) {
// @ts-ignore
globalThis.structuredClone = structuredClone
}

const numberToWordsRu = {
convert: methodConvert,
}
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "number-to-words-ru",
"version": "2.4.0",
"version": "2.4.1",
"description": "Convert a number to words on russian language.",
"author": "Anton Moskovskii <[email protected]> (https://github.com/Ant1mas)",
"homepage": "https://number-to-words-ru.ant1mas.dev/",
Expand All @@ -22,6 +22,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.6",
"@types/ungap__structured-clone": "^1.2.0",
"jest": "^29.7.0",
"rollup-plugin-visualizer": "^5.9.2",
"ts-jest": "^29.1.1",
Expand All @@ -42,5 +43,8 @@
"files": [
"index.d.ts",
"dist/**"
]
],
"dependencies": {
"@ungap/structured-clone": "^1.2.0"
}
}

0 comments on commit 7a1dd03

Please sign in to comment.