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

@os-design/input-number-utils

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/input-number-utils - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

4

dist/cjs/utils/fromFormattedString.js

@@ -7,6 +7,6 @@ "use strict";

exports["default"] = void 0;
var _transform = _interopRequireDefault(require("./transform"));
var _extractNumber = _interopRequireDefault(require("./decorators/extractNumber"));
var _omitThousandsSeparator = _interopRequireDefault(require("./decorators/omitThousandsSeparator"));
var _extractNumber = _interopRequireDefault(require("./decorators/extractNumber"));
var _revertDefaultDecimalSeparator = _interopRequireDefault(require("./decorators/revertDefaultDecimalSeparator"));
var _transform = _interopRequireDefault(require("./transform"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -13,0 +13,0 @@ var fromFormattedString = function fromFormattedString(value, options) {

@@ -8,4 +8,4 @@ "use strict";

var _fromFormattedString = _interopRequireDefault(require("./fromFormattedString"));
var _numberToFormattedString = _interopRequireDefault(require("./numberToFormattedString"));
var _stringToNumber = _interopRequireDefault(require("./stringToNumber"));
var _numberToFormattedString = _interopRequireDefault(require("./numberToFormattedString"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -12,0 +12,0 @@ var getNextState = function getNextState(value, options) {

@@ -7,6 +7,6 @@ "use strict";

exports["default"] = void 0;
var _addPrefixSuffix = _interopRequireDefault(require("./decorators/addPrefixSuffix"));
var _addThousandsSeparator = _interopRequireDefault(require("./decorators/addThousandsSeparator"));
var _replaceDefaultDecimalSeparator = _interopRequireDefault(require("./decorators/replaceDefaultDecimalSeparator"));
var _transform = _interopRequireDefault(require("./transform"));
var _replaceDefaultDecimalSeparator = _interopRequireDefault(require("./decorators/replaceDefaultDecimalSeparator"));
var _addThousandsSeparator = _interopRequireDefault(require("./decorators/addThousandsSeparator"));
var _addPrefixSuffix = _interopRequireDefault(require("./decorators/addPrefixSuffix"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -13,0 +13,0 @@ var toFormattedString = function toFormattedString(value, options) {

@@ -7,4 +7,4 @@ "use strict";

exports["default"] = void 0;
var _escapeStringRegexp = _interopRequireDefault(require("@os-team/escape-string-regexp"));
var _react = require("react");
var _escapeStringRegexp = _interopRequireDefault(require("@os-team/escape-string-regexp"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ /* eslint-disable no-console */

@@ -1,7 +0,7 @@

import transform from './transform';
import extractNumber from './decorators/extractNumber';
import omitThousandsSeparator from './decorators/omitThousandsSeparator';
import extractNumber from './decorators/extractNumber';
import revertDefaultDecimalSeparator from './decorators/revertDefaultDecimalSeparator';
import transform from './transform';
const fromFormattedString = (value, options) => transform(value, [omitThousandsSeparator, extractNumber, revertDefaultDecimalSeparator], options);
export default fromFormattedString;
//# sourceMappingURL=fromFormattedString.js.map
import fromFormattedString from './fromFormattedString';
import numberToFormattedString from './numberToFormattedString';
import stringToNumber from './stringToNumber';
import numberToFormattedString from './numberToFormattedString';
const getNextState = (value, options) => {

@@ -5,0 +5,0 @@ const {

@@ -0,7 +1,7 @@

import addPrefixSuffix from './decorators/addPrefixSuffix';
import addThousandsSeparator from './decorators/addThousandsSeparator';
import replaceDefaultDecimalSeparator from './decorators/replaceDefaultDecimalSeparator';
import transform from './transform';
import replaceDefaultDecimalSeparator from './decorators/replaceDefaultDecimalSeparator';
import addThousandsSeparator from './decorators/addThousandsSeparator';
import addPrefixSuffix from './decorators/addPrefixSuffix';
const toFormattedString = (value, options) => transform(value, [replaceDefaultDecimalSeparator, addThousandsSeparator, addPrefixSuffix], options);
export default toFormattedString;
//# sourceMappingURL=toFormattedString.js.map

@@ -0,3 +1,3 @@

import escapeStringRegexp from '@os-team/escape-string-regexp';
import { useMemo } from 'react';
import escapeStringRegexp from '@os-team/escape-string-regexp';
/* eslint-disable no-console */

@@ -4,0 +4,0 @@

{
"name": "@os-design/input-number-utils",
"version": "1.0.20",
"version": "1.0.21",
"license": "UNLICENSED",

@@ -37,3 +37,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git",

},
"gitHead": "88df07f5c7c0c5534a24b84689854528fa514153"
"gitHead": "0e88d3afc41e36cee61222a039ef1aa4d08115b5"
}

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

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

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

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

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