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

alaska-field-text

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alaska-field-text - npm Package Compare versions

Comparing version 0.12.2 to 0.12.3

2

package.json
{
"name": "alaska-field-text",
"version": "0.12.2",
"version": "0.12.3",
"description": "Alaska text field",

@@ -5,0 +5,0 @@ "keywords": [

@@ -23,7 +23,10 @@ // @flow

super(props);
let v = props.value || {};
if (typeof v === 'string') {
v = { value: v };
let value: {
value?: string,
inverse?: boolean
// $Flow
} = props.value || {};
if (typeof value === 'string') {
value = { value };
}
let value: Alaska$filter = v;
this.state = {

@@ -33,3 +36,3 @@ mode: value.exact === false || value.exact === 'false' ? 2 : 1, // 1 精确匹配 2 包含

error: !value.value,
inverse: value.inverse || false
inverse: value.inverse === true || value.inverse === 'true'
};

@@ -36,0 +39,0 @@ this.handleMode1 = this.handleMode.bind(this, 1);

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