@voiceflow/common
Advanced tools
Comparing version 6.4.0 to 6.5.0
{ | ||
"name": "@voiceflow/common", | ||
"description": "Junk drawer of utility functions", | ||
"version": "6.4.0", | ||
"version": "6.5.0", | ||
"author": "Voiceflow", | ||
@@ -14,6 +14,3 @@ "bugs": { | ||
}, | ||
"dependencies": { | ||
"@types/draft-js": "^0.10.44", | ||
"randomstring": "^1.1.5" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -26,3 +23,2 @@ "@commitlint/cli": "^9.1.1", | ||
"@types/mocha": "^8.0.0", | ||
"@types/randomstring": "^1.1.6", | ||
"@types/sinon": "^9.0.4", | ||
@@ -29,0 +25,0 @@ "@typescript-eslint/eslint-plugin": "^3.6.1", |
@@ -29,3 +29,3 @@ import { READABLE_VARIABLE_REGEXP } from '@/constants'; | ||
// turn float variables to 2 decimal places | ||
export const sanitizeVariables = (variables: Record<string, unknown>) => | ||
export const sanitizeVariables = (variables: Record<string, unknown>): Record<string, unknown> => | ||
Object.entries(variables).reduce<Record<string, unknown>>((acc, [key, value]) => { | ||
@@ -32,0 +32,0 @@ if (typeof value === 'number' && !Number.isInteger(value)) { |
@@ -28,7 +28,7 @@ { | ||
"pretty": true, | ||
"lib": ["es2017", "DOM"], | ||
"lib": ["es2017"], | ||
"outDir": "./build", | ||
"baseUrl": ".", | ||
"baseUrl": "./src", | ||
"paths": { | ||
"@/*": ["./src/*"] | ||
"@/*": ["./*"] | ||
} | ||
@@ -35,0 +35,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
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
0
38
0
36752
- Removed@types/draft-js@^0.10.44
- Removedrandomstring@^1.1.5
- Removed@types/draft-js@0.10.45(transitive)
- Removed@types/prop-types@15.7.13(transitive)
- Removed@types/react@18.3.11(transitive)
- Removedcsstype@3.1.3(transitive)
- Removedimmutable@3.7.6(transitive)
- Removedrandombytes@2.0.3(transitive)
- Removedrandomstring@1.3.0(transitive)