Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wanakana

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wanakana - npm Package Versions

234

5.3.1

Diff

Changelog

Source

[5.3.1] - 2023-11-20

Fixed

Wanakana will now report its version correctly, this was briefly incorrect in version 5.3.0.

djtb
published 5.3.0 •

Changelog

Source

[5.3.0] - 2023-11-19

Added

Typescript definitions have been added 🎉

djtb
published 5.2.0 •

Changelog

Source

[5.2.0] - 2023-09-30

Fixed

The iteration mark was considered punctuation due to where it lies in unicode (alongside other punctuation). This caused some oddities in Wanakana when splitting characters. Since acts like a kanji character in words, it is no longer considered punctuation in Wanakana. See #163 for further discussion.

  • isKanji() now returns true for
  • isPunctuation() now returns false for
  • tokenize() no longer splits on
  • stripOkurigana() no longer splits on
djtb
published 5.1.0 •

Changelog

Source

[5.1.0] - 2023-02-03

Fixed

  • bind() could be used on the same element multiple times
  • unbind() now returns an element to its previous state (attributes etc)

Changed

  • unbind() removes the attributes that were added by Wanakana
djtb
published 5.0.2 •

Changelog

Source

[5.0.2] - 2022-05-17

Fixed

  • bind() was ignoring useObsoleteKana & customKanaMapping options
  • ku not converting immediately with IMEMode

[5.0.!] - 2022-04-15

Fixed

  • Unpkg should now properly source the correct module for use in the browser as a script tag
djtb
published 5.0.1 •

djtb
published 5.0.0 •

Changelog

Source

[5.0.0] - 2022-04-15

Fixed

  • When a custom mapping was provided in options and then a different one was given, we only replaced the mapping with the new one when a previous one did not exist. Now we will always replace the custom mapping when it changes. https://github.com/WaniKani/WanaKana/pull/132

Added

Changed

  • The UMD build now only includes polyfills for browserslist defaults (> 0.5%, last 2 versions, Firefox ESR, not dead - at time of writing) which drops support for IE.
  • Node support is now 12+ (though likely would continue to work fine on older versions)
djtb
published 4.0.2 •

Changelog

Source

[4.0.2] - 2018-04-30

Added

  • react-native field in lib package.json

Fixed

  • corrected recent dates in changelog (2017 -> 2018)
djtb
published 4.0.1 •

Changelog

Source

[4.0.1] - 2018-04-30

Fixed

  • stripOkurigana(): If the input has the same kana at different locations, such as '申し申し', the inner kana was stripped instead
djtb
published 4.0.0 •

Changelog

Source

[4.0.0] - 2018-04-26

Changed

  • stripOkurigana() options are now { leading: Boolean, matchKanji: String }

Removed

  • stripOkurigana() "all" option has been removed but can be easily reproduced via [...text].filter(isKana)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc