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.6.0 to 0.6.1

3

dist/index.cjs.js

@@ -13,2 +13,3 @@ 'use strict';

const FWREG = /[\uff01-\uff5e|\u3000]+/g;
const FWCHREG = /[\u4e00-\u9fa5|\uff01-\uff5e|\u3000]+/g;
const FWLEAP = 0xfee0;

@@ -95,3 +96,3 @@

const hasFullWidth = str => FWREG.test(str);
const hasFullWidth = str => FWCHREG.test(str);

@@ -98,0 +99,0 @@ const fullWidth = (text, {

@@ -7,2 +7,3 @@ import { SP } from '@spare/enum-chars';

const FWREG = /[\uff01-\uff5e|\u3000]+/g;
const FWCHREG = /[\u4e00-\u9fa5|\uff01-\uff5e|\u3000]+/g;
const FWLEAP = 0xfee0;

@@ -89,3 +90,3 @@

const hasFullWidth = str => FWREG.test(str);
const hasFullWidth = str => FWCHREG.test(str);

@@ -92,0 +93,0 @@ const fullWidth = (text, {

{
"name": "@spare/fullwidth",
"version": "0.6.0",
"version": "0.6.1",
"description": "Convert between half-width and full-width",

@@ -18,5 +18,5 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@spare/enum-chars": "^0.6.0",
"@spare/enum-full-angle-chars": "^0.6.0",
"@spare/lange": "^0.6.0",
"@spare/enum-chars": "^0.6.1",
"@spare/enum-full-angle-chars": "^0.6.1",
"@spare/lange": "^0.6.1",
"strip-ansi": "^6.0.0"

@@ -40,3 +40,3 @@ },

"homepage": "https://github.com/hoyeungw/spare#readme",
"gitHead": "4aa71131e0c850e20564b213bff16f4aed5eccdc"
"gitHead": "9ec83d36039ada9da8020f6fc1580fe9c84e3f80"
}
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