Socket
Socket
Sign inDemoInstall

@alfalab/core-components-input

Package Overview
Dependencies
Maintainers
15
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alfalab/core-components-input - npm Package Compare versions

Comparing version 11.1.6 to 11.1.7

50

Component.js
'use strict';
var tslib = require('tslib');
var React = require('react');

@@ -20,48 +21,9 @@ var mergeRefs = require('react-merge-refs');

/******************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var __assign = function () {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __rest(s, e) {
var t = {};
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
var defaultColors = {"input":"input__input_1j4hi","hasInnerLabel":"input__hasInnerLabel_1j4hi","clearIcon":"input__clearIcon_1j4hi","error":"input__error_1j4hi"};
var defaultColors = {"input":"input__input_p8l6r","hasInnerLabel":"input__hasInnerLabel_p8l6r","clearIcon":"input__clearIcon_p8l6r","error":"input__error_p8l6r"};
require('./default.css')
var styles = {"input":"input__input_1xhmt","hasInnerLabel":"input__hasInnerLabel_1xhmt","s":"input__s_1xhmt","m":"input__m_1xhmt","l":"input__l_1xhmt","xl":"input__xl_1xhmt","block":"input__block_1xhmt","clearIcon":"input__clearIcon_1xhmt","errorIcon":"input__errorIcon_1xhmt","errorColorIcon":"input__errorColorIcon_1xhmt","clearButton":"input__clearButton_1xhmt","successIcon":"input__successIcon_1xhmt","successColorIcon":"input__successColorIcon_1xhmt","focusVisible":"input__focusVisible_1xhmt","onautofillstart":"input__onautofillstart_1xhmt","onautofillcancel":"input__onautofillcancel_1xhmt"};
var styles = {"input":"input__input_1nb52","hasInnerLabel":"input__hasInnerLabel_1nb52","s":"input__s_1nb52","m":"input__m_1nb52","l":"input__l_1nb52","xl":"input__xl_1nb52","block":"input__block_1nb52","clearIcon":"input__clearIcon_1nb52","errorIcon":"input__errorIcon_1nb52","errorColorIcon":"input__errorColorIcon_1nb52","clearButton":"input__clearButton_1nb52","successIcon":"input__successIcon_1nb52","successColorIcon":"input__successColorIcon_1nb52","focusVisible":"input__focusVisible_1nb52","onautofillstart":"input__onautofillstart_1nb52","onautofillcancel":"input__onautofillcancel_1nb52"};
require('./index.css')
var invertedColors = {"input":"input__input_1elyc","hasInnerLabel":"input__hasInnerLabel_1elyc","clearIcon":"input__clearIcon_1elyc","error":"input__error_1elyc"};
var invertedColors = {"input":"input__input_kq204","hasInnerLabel":"input__hasInnerLabel_kq204","clearIcon":"input__clearIcon_kq204","error":"input__error_kq204"};
require('./inverted.css')

@@ -75,3 +37,3 @@

var _b, _c;
var _d = _a.size, size = _d === void 0 ? 's' : _d, _e = _a.type, type = _e === void 0 ? 'text' : _e, _f = _a.block, block = _f === void 0 ? false : _f, _g = _a.colors, colors = _g === void 0 ? 'default' : _g, bottomAddons = _a.bottomAddons, dataTestId = _a.dataTestId, _h = _a.clear, clear = _h === void 0 ? false : _h, disabled = _a.disabled, error = _a.error, success = _a.success, hint = _a.hint, className = _a.className, fieldClassName = _a.fieldClassName, inputClassName = _a.inputClassName, labelClassName = _a.labelClassName, addonsClassName = _a.addonsClassName, focusedClassName = _a.focusedClassName, filledClassName = _a.filledClassName, label = _a.label, _j = _a.labelView, labelView = _j === void 0 ? 'inner' : _j, leftAddons = _a.leftAddons, onFocus = _a.onFocus, onBlur = _a.onBlur, onChange = _a.onChange, onClear = _a.onClear, onClick = _a.onClick, onMouseDown = _a.onMouseDown, onMouseUp = _a.onMouseUp, onAnimationStart = _a.onAnimationStart, rightAddons = _a.rightAddons, value = _a.value, defaultValue = _a.defaultValue, wrapperRef = _a.wrapperRef, readOnly = _a.readOnly, restProps = __rest(_a, ["size", "type", "block", "colors", "bottomAddons", "dataTestId", "clear", "disabled", "error", "success", "hint", "className", "fieldClassName", "inputClassName", "labelClassName", "addonsClassName", "focusedClassName", "filledClassName", "label", "labelView", "leftAddons", "onFocus", "onBlur", "onChange", "onClear", "onClick", "onMouseDown", "onMouseUp", "onAnimationStart", "rightAddons", "value", "defaultValue", "wrapperRef", "readOnly"]);
var _d = _a.size, size = _d === void 0 ? 's' : _d, _e = _a.type, type = _e === void 0 ? 'text' : _e, _f = _a.block, block = _f === void 0 ? false : _f, _g = _a.colors, colors = _g === void 0 ? 'default' : _g, bottomAddons = _a.bottomAddons, dataTestId = _a.dataTestId, _h = _a.clear, clear = _h === void 0 ? false : _h, disabled = _a.disabled, error = _a.error, success = _a.success, hint = _a.hint, className = _a.className, fieldClassName = _a.fieldClassName, inputClassName = _a.inputClassName, labelClassName = _a.labelClassName, addonsClassName = _a.addonsClassName, focusedClassName = _a.focusedClassName, filledClassName = _a.filledClassName, label = _a.label, _j = _a.labelView, labelView = _j === void 0 ? 'inner' : _j, leftAddons = _a.leftAddons, onFocus = _a.onFocus, onBlur = _a.onBlur, onChange = _a.onChange, onClear = _a.onClear, onClick = _a.onClick, onMouseDown = _a.onMouseDown, onMouseUp = _a.onMouseUp, onAnimationStart = _a.onAnimationStart, rightAddons = _a.rightAddons, value = _a.value, defaultValue = _a.defaultValue, wrapperRef = _a.wrapperRef, readOnly = _a.readOnly, restProps = tslib.__rest(_a, ["size", "type", "block", "colors", "bottomAddons", "dataTestId", "clear", "disabled", "error", "success", "hint", "className", "fieldClassName", "inputClassName", "labelClassName", "addonsClassName", "focusedClassName", "filledClassName", "label", "labelView", "leftAddons", "onFocus", "onBlur", "onChange", "onClear", "onClick", "onMouseDown", "onMouseUp", "onAnimationStart", "rightAddons", "value", "defaultValue", "wrapperRef", "readOnly"]);
var uncontrolled = value === undefined;

@@ -142,3 +104,3 @@ var inputRef = React.useRef(null);

_b)), labelClassName: labelClassName, addonsClassName: addonsClassName, size: size, colors: colors, block: block, disabled: disabled, readOnly: readOnly, filled: filled || autofilled || focused, focused: focused, error: error, label: label, labelView: labelView, hint: hint, leftAddons: leftAddons, rightAddons: renderRightAddons(), bottomAddons: bottomAddons, onClick: onClick, onMouseDown: onMouseDown, onMouseUp: onMouseUp },
React__default.default.createElement("input", __assign({}, restProps, { className: cn__default.default(styles.input, colorStyles[colors].input, (_c = {},
React__default.default.createElement("input", tslib.__assign({}, restProps, { className: cn__default.default(styles.input, colorStyles[colors].input, (_c = {},
_c[styles.error] = error,

@@ -145,0 +107,0 @@ _c[colorStyles[colors].error] = error,

'use strict';
var tslib = require('tslib');
var React = require('react');

@@ -26,41 +27,2 @@ var mergeRefs = require('react-merge-refs');

/******************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var __assign = function () {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __rest(s, e) {
var t = {};
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
var colorStyles = {

@@ -72,3 +34,3 @@ default: defaultColors__default.default,

var _b, _c;
var _d = _a.size, size = _d === void 0 ? 's' : _d, _e = _a.type, type = _e === void 0 ? 'text' : _e, _f = _a.block, block = _f === void 0 ? false : _f, _g = _a.colors, colors = _g === void 0 ? 'default' : _g, bottomAddons = _a.bottomAddons, dataTestId = _a.dataTestId, _h = _a.clear, clear = _h === void 0 ? false : _h, disabled = _a.disabled, error = _a.error, success = _a.success, hint = _a.hint, className = _a.className, fieldClassName = _a.fieldClassName, inputClassName = _a.inputClassName, labelClassName = _a.labelClassName, addonsClassName = _a.addonsClassName, focusedClassName = _a.focusedClassName, filledClassName = _a.filledClassName, label = _a.label, _j = _a.labelView, labelView = _j === void 0 ? 'inner' : _j, leftAddons = _a.leftAddons, onFocus = _a.onFocus, onBlur = _a.onBlur, onChange = _a.onChange, onClear = _a.onClear, onClick = _a.onClick, onMouseDown = _a.onMouseDown, onMouseUp = _a.onMouseUp, onAnimationStart = _a.onAnimationStart, rightAddons = _a.rightAddons, value = _a.value, defaultValue = _a.defaultValue, wrapperRef = _a.wrapperRef, readOnly = _a.readOnly, restProps = __rest(_a, ["size", "type", "block", "colors", "bottomAddons", "dataTestId", "clear", "disabled", "error", "success", "hint", "className", "fieldClassName", "inputClassName", "labelClassName", "addonsClassName", "focusedClassName", "filledClassName", "label", "labelView", "leftAddons", "onFocus", "onBlur", "onChange", "onClear", "onClick", "onMouseDown", "onMouseUp", "onAnimationStart", "rightAddons", "value", "defaultValue", "wrapperRef", "readOnly"]);
var _d = _a.size, size = _d === void 0 ? 's' : _d, _e = _a.type, type = _e === void 0 ? 'text' : _e, _f = _a.block, block = _f === void 0 ? false : _f, _g = _a.colors, colors = _g === void 0 ? 'default' : _g, bottomAddons = _a.bottomAddons, dataTestId = _a.dataTestId, _h = _a.clear, clear = _h === void 0 ? false : _h, disabled = _a.disabled, error = _a.error, success = _a.success, hint = _a.hint, className = _a.className, fieldClassName = _a.fieldClassName, inputClassName = _a.inputClassName, labelClassName = _a.labelClassName, addonsClassName = _a.addonsClassName, focusedClassName = _a.focusedClassName, filledClassName = _a.filledClassName, label = _a.label, _j = _a.labelView, labelView = _j === void 0 ? 'inner' : _j, leftAddons = _a.leftAddons, onFocus = _a.onFocus, onBlur = _a.onBlur, onChange = _a.onChange, onClear = _a.onClear, onClick = _a.onClick, onMouseDown = _a.onMouseDown, onMouseUp = _a.onMouseUp, onAnimationStart = _a.onAnimationStart, rightAddons = _a.rightAddons, value = _a.value, defaultValue = _a.defaultValue, wrapperRef = _a.wrapperRef, readOnly = _a.readOnly, restProps = tslib.__rest(_a, ["size", "type", "block", "colors", "bottomAddons", "dataTestId", "clear", "disabled", "error", "success", "hint", "className", "fieldClassName", "inputClassName", "labelClassName", "addonsClassName", "focusedClassName", "filledClassName", "label", "labelView", "leftAddons", "onFocus", "onBlur", "onChange", "onClear", "onClick", "onMouseDown", "onMouseUp", "onAnimationStart", "rightAddons", "value", "defaultValue", "wrapperRef", "readOnly"]);
var uncontrolled = value === undefined;

@@ -139,3 +101,3 @@ var inputRef = React.useRef(null);

_b)), labelClassName: labelClassName, addonsClassName: addonsClassName, size: size, colors: colors, block: block, disabled: disabled, readOnly: readOnly, filled: filled || autofilled || focused, focused: focused, error: error, label: label, labelView: labelView, hint: hint, leftAddons: leftAddons, rightAddons: renderRightAddons(), bottomAddons: bottomAddons, onClick: onClick, onMouseDown: onMouseDown, onMouseUp: onMouseUp },
React__default.default.createElement("input", __assign({}, restProps, { className: cn__default.default(styles__default.default.input, colorStyles[colors].input, (_c = {},
React__default.default.createElement("input", tslib.__assign({}, restProps, { className: cn__default.default(styles__default.default.input, colorStyles[colors].input, (_c = {},
_c[styles__default.default.error] = error,

@@ -142,0 +104,0 @@ _c[colorStyles[colors].error] = error,

1

cssm/index.js
'use strict';
var Component = require('./Component.js');
require('tslib');
require('react');

@@ -5,0 +6,0 @@ require('react-merge-refs');

@@ -0,1 +1,2 @@

import { __rest, __assign } from 'tslib';
import React, { useRef, useState, useCallback, Fragment } from 'react';

@@ -12,48 +13,9 @@ import mergeRefs from 'react-merge-refs';

/******************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var __assign = function () {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __rest(s, e) {
var t = {};
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
var defaultColors = {"input":"input__input_1j4hi","hasInnerLabel":"input__hasInnerLabel_1j4hi","clearIcon":"input__clearIcon_1j4hi","error":"input__error_1j4hi"};
var defaultColors = {"input":"input__input_p8l6r","hasInnerLabel":"input__hasInnerLabel_p8l6r","clearIcon":"input__clearIcon_p8l6r","error":"input__error_p8l6r"};
require('./default.css')
var styles = {"input":"input__input_1xhmt","hasInnerLabel":"input__hasInnerLabel_1xhmt","s":"input__s_1xhmt","m":"input__m_1xhmt","l":"input__l_1xhmt","xl":"input__xl_1xhmt","block":"input__block_1xhmt","clearIcon":"input__clearIcon_1xhmt","errorIcon":"input__errorIcon_1xhmt","errorColorIcon":"input__errorColorIcon_1xhmt","clearButton":"input__clearButton_1xhmt","successIcon":"input__successIcon_1xhmt","successColorIcon":"input__successColorIcon_1xhmt","focusVisible":"input__focusVisible_1xhmt","onautofillstart":"input__onautofillstart_1xhmt","onautofillcancel":"input__onautofillcancel_1xhmt"};
var styles = {"input":"input__input_1nb52","hasInnerLabel":"input__hasInnerLabel_1nb52","s":"input__s_1nb52","m":"input__m_1nb52","l":"input__l_1nb52","xl":"input__xl_1nb52","block":"input__block_1nb52","clearIcon":"input__clearIcon_1nb52","errorIcon":"input__errorIcon_1nb52","errorColorIcon":"input__errorColorIcon_1nb52","clearButton":"input__clearButton_1nb52","successIcon":"input__successIcon_1nb52","successColorIcon":"input__successColorIcon_1nb52","focusVisible":"input__focusVisible_1nb52","onautofillstart":"input__onautofillstart_1nb52","onautofillcancel":"input__onautofillcancel_1nb52"};
require('./index.css')
var invertedColors = {"input":"input__input_1elyc","hasInnerLabel":"input__hasInnerLabel_1elyc","clearIcon":"input__clearIcon_1elyc","error":"input__error_1elyc"};
var invertedColors = {"input":"input__input_kq204","hasInnerLabel":"input__hasInnerLabel_kq204","clearIcon":"input__clearIcon_kq204","error":"input__error_kq204"};
require('./inverted.css')

@@ -60,0 +22,0 @@

export { Input } from './Component.js';
import 'tslib';
import 'react';

@@ -3,0 +4,0 @@ import 'react-merge-refs';

'use strict';
var Component = require('./Component.js');
require('tslib');
require('react');

@@ -5,0 +6,0 @@ require('react-merge-refs');

@@ -12,9 +12,9 @@ import React, { useRef, useState, useCallback, Fragment } from 'react';

const defaultColors = {"input":"input__input_1j4hi","hasInnerLabel":"input__hasInnerLabel_1j4hi","clearIcon":"input__clearIcon_1j4hi","error":"input__error_1j4hi"};
const defaultColors = {"input":"input__input_p8l6r","hasInnerLabel":"input__hasInnerLabel_p8l6r","clearIcon":"input__clearIcon_p8l6r","error":"input__error_p8l6r"};
require('./default.css')
const styles = {"input":"input__input_1xhmt","hasInnerLabel":"input__hasInnerLabel_1xhmt","s":"input__s_1xhmt","m":"input__m_1xhmt","l":"input__l_1xhmt","xl":"input__xl_1xhmt","block":"input__block_1xhmt","clearIcon":"input__clearIcon_1xhmt","errorIcon":"input__errorIcon_1xhmt","errorColorIcon":"input__errorColorIcon_1xhmt","clearButton":"input__clearButton_1xhmt","successIcon":"input__successIcon_1xhmt","successColorIcon":"input__successColorIcon_1xhmt","focusVisible":"input__focusVisible_1xhmt","onautofillstart":"input__onautofillstart_1xhmt","onautofillcancel":"input__onautofillcancel_1xhmt"};
const styles = {"input":"input__input_1nb52","hasInnerLabel":"input__hasInnerLabel_1nb52","s":"input__s_1nb52","m":"input__m_1nb52","l":"input__l_1nb52","xl":"input__xl_1nb52","block":"input__block_1nb52","clearIcon":"input__clearIcon_1nb52","errorIcon":"input__errorIcon_1nb52","errorColorIcon":"input__errorColorIcon_1nb52","clearButton":"input__clearButton_1nb52","successIcon":"input__successIcon_1nb52","successColorIcon":"input__successColorIcon_1nb52","focusVisible":"input__focusVisible_1nb52","onautofillstart":"input__onautofillstart_1nb52","onautofillcancel":"input__onautofillcancel_1nb52"};
require('./index.css')
const invertedColors = {"input":"input__input_1elyc","hasInnerLabel":"input__hasInnerLabel_1elyc","clearIcon":"input__clearIcon_1elyc","error":"input__error_1elyc"};
const invertedColors = {"input":"input__input_kq204","hasInnerLabel":"input__hasInnerLabel_kq204","clearIcon":"input__clearIcon_kq204","error":"input__error_kq204"};
require('./inverted.css')

@@ -21,0 +21,0 @@

{
"name": "@alfalab/core-components-input",
"version": "11.1.6",
"version": "11.1.7",
"description": "",

@@ -20,10 +20,11 @@ "keywords": [],

"dependencies": {
"@alfalab/core-components-button": "^7.0.5",
"@alfalab/core-components-form-control": "^9.0.2",
"@alfalab/core-components-badge": "^5.0.0",
"@alfalab/core-components-button": "^7.1.0",
"@alfalab/core-components-form-control": "^9.0.3",
"@alfalab/core-components-badge": "^5.0.1",
"@alfalab/hooks": "^1.4.1",
"@alfalab/icons-glyph": "^2.89.0",
"classnames": "^2.3.1",
"react-merge-refs": "^1.1.0"
"react-merge-refs": "^1.1.0",
"tslib": "^2.4.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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