New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@spare/fullwidth

Package Overview
Dependencies
Maintainers
1
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spare/fullwidth - npm Package Compare versions

Comparing version 0.13.1 to 0.13.2

8

dist/index.js
import { SP, CO, DOT } from '@spare/enum-chars';
import { CJK_PUNCS, FULL_CHARS, FULL_NUM, HAN } from '@spare/regex-charset';
import { SP as SP$1 } from '@spare/enum-full-angle-chars';
import { hasAnsi, clearAnsi } from '@spare/charset';
const CJK_PUNCS = '\u3000-\u303f';
const CJK_LETTERS = '\u4e00-\u9fbf';
const FULL_CHARS = '\uff00-\uffef'; // full letters + full puncs
const FULL_NUM = '0-9'; // 0xff10 - 0xff19
const HAN = new RegExp(`[${CJK_PUNCS}${CJK_LETTERS}${FULL_CHARS}]`); // HAN ideographs
const REG_FULL = new RegExp(`[${CJK_PUNCS}${FULL_CHARS}]+`, 'g'); // /[\uff01-\uff5e|\u3000]+/g

@@ -7,0 +13,0 @@ const DELTA_FULL = 0xfee0; // export const REG_NUM_FULL = /^\s*[-+]?(?:,*[0-9]+)*.?[0-9]+\s*$/

12

package.json
{
"name": "@spare/fullwidth",
"version": "0.13.1",
"version": "0.13.2",
"description": "Convert between half-width and full-width",

@@ -22,6 +22,6 @@ "type": "module",

"dependencies": {
"@spare/charset": "^0.13.1",
"@spare/enum-chars": "^0.13.1",
"@spare/enum-full-angle-chars": "^0.13.1",
"@spare/lange": "^0.13.1"
"@spare/charset": "^0.13.2",
"@spare/enum-chars": "^0.13.2",
"@spare/enum-full-angle-chars": "^0.13.2",
"@spare/lange": "^0.13.2"
},

@@ -44,3 +44,3 @@ "repository": {

"homepage": "https://github.com/gadge/spare#readme",
"gitHead": "e71ebde264ddded38617c95ee924b407aaf95fff"
"gitHead": "1edc5966f384bef387867de6603990bdd6eb1721"
}

Sorry, the diff of this file is not supported yet

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