@os-design/input-number-utils
Advanced tools
Comparing version 1.0.29 to 1.0.30
{ | ||
"name": "@os-design/input-number-utils", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"license": "UNLICENSED", | ||
"repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"types": "dist/types/index.d.ts", | ||
"react-native": "src/index.ts", | ||
"type": "module", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"react-native": "./src/index.ts", | ||
"files": [ | ||
@@ -24,5 +24,4 @@ "dist", | ||
"clean": "rimraf dist", | ||
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx --out-dir dist/esm --source-maps", | ||
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx --out-dir dist/cjs --source-maps", | ||
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types", | ||
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx --out-dir dist", | ||
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly --declaration --declarationDir dist", | ||
"build": "yarn clean && npm-run-all 'build:*'", | ||
@@ -40,3 +39,3 @@ "ncu": "ncu -u" | ||
}, | ||
"gitHead": "2605fbf8f46c78800cd4ba6dcb0dd895a893bf96" | ||
"gitHead": "86a83e87297a07afe132782ca2c95023b7139276" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { TransformDecorator } from '../transform'; | ||
import type { TransformDecorator } from '../transform'; | ||
@@ -3,0 +3,0 @@ const addPrefixSuffix: TransformDecorator = (value, { prefix, suffix }) => |
@@ -1,2 +0,2 @@ | ||
import { TransformDecorator } from '../transform'; | ||
import type { TransformDecorator } from '../transform'; | ||
@@ -3,0 +3,0 @@ const addThousandsSeparator: TransformDecorator = ( |
import escapeStringRegexp from '@os-team/escape-string-regexp'; | ||
import { TransformDecorator } from '../transform'; | ||
import type { TransformDecorator } from '../transform'; | ||
@@ -4,0 +4,0 @@ const extractNumber: TransformDecorator = ( |
import escapeStringRegexp from '@os-team/escape-string-regexp'; | ||
import { TransformDecorator } from '../transform'; | ||
import type { TransformDecorator } from '../transform'; | ||
@@ -4,0 +4,0 @@ const omitThousandsSeparator: TransformDecorator = ( |
@@ -1,2 +0,2 @@ | ||
import { TransformDecorator } from '../transform'; | ||
import type { TransformDecorator } from '../transform'; | ||
@@ -3,0 +3,0 @@ const replaceDefaultDecimalSeparator: TransformDecorator = ( |
@@ -1,2 +0,2 @@ | ||
import { TransformDecorator } from '../transform'; | ||
import type { TransformDecorator } from '../transform'; | ||
@@ -3,0 +3,0 @@ const revertDefaultDecimalSeparator: TransformDecorator = ( |
import extractNumber from './decorators/extractNumber'; | ||
import omitThousandsSeparator from './decorators/omitThousandsSeparator'; | ||
import revertDefaultDecimalSeparator from './decorators/revertDefaultDecimalSeparator'; | ||
import transform, { TransformOptions } from './transform'; | ||
import transform, { type TransformOptions } from './transform'; | ||
@@ -6,0 +6,0 @@ const fromFormattedString = ( |
import escapeStringRegexp from '@os-team/escape-string-regexp'; | ||
import { TransformOptions } from './transform'; | ||
import type { TransformOptions } from './transform'; | ||
@@ -4,0 +4,0 @@ export interface GetNextCaretProps { |
import fromFormattedString from './fromFormattedString'; | ||
import numberToFormattedString from './numberToFormattedString'; | ||
import stringToNumber from './stringToNumber'; | ||
import { TransformOptions } from './transform'; | ||
import type { TransformOptions } from './transform'; | ||
@@ -6,0 +6,0 @@ export interface NextState { |
import numberToString from './numberToString'; | ||
import toFormattedString from './toFormattedString'; | ||
import { TransformOptions } from './transform'; | ||
import type { TransformOptions } from './transform'; | ||
@@ -5,0 +5,0 @@ const numberToFormattedString = ( |
@@ -1,2 +0,2 @@ | ||
import formatNumber, { FormatNumberOptions } from './formatNumber'; | ||
import formatNumber, { type FormatNumberOptions } from './formatNumber'; | ||
@@ -3,0 +3,0 @@ const numberToString = ( |
@@ -1,2 +0,2 @@ | ||
import formatNumber, { FormatNumberOptions } from './formatNumber'; | ||
import formatNumber, { type FormatNumberOptions } from './formatNumber'; | ||
@@ -3,0 +3,0 @@ const stringToNumber = ( |
import addPrefixSuffix from './decorators/addPrefixSuffix'; | ||
import addThousandsSeparator from './decorators/addThousandsSeparator'; | ||
import replaceDefaultDecimalSeparator from './decorators/replaceDefaultDecimalSeparator'; | ||
import transform, { TransformOptions } from './transform'; | ||
import transform, { type TransformOptions } from './transform'; | ||
@@ -6,0 +6,0 @@ const toFormattedString = (value: string, options: TransformOptions): string => |
@@ -14,4 +14,2 @@ import escapeStringRegexp from '@os-team/escape-string-regexp'; | ||
/* eslint-disable no-console */ | ||
const useValidate = ({ | ||
@@ -18,0 +16,0 @@ min, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Yes
35876
75
642
1