Socket
Socket
Sign inDemoInstall

@voiceflow/common

Package Overview
Dependencies
Maintainers
17
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voiceflow/common - npm Package Compare versions

Comparing version 6.4.0 to 6.5.0

8

package.json
{
"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

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