@voiceflow/common
Advanced tools
Comparing version 6.5.0 to 6.5.1
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.IS_VARIABLE_REGEXP = /^{.*}$/; | ||
exports.READABLE_VARIABLE_REGEXP = /\{([a-zA-Z0-9_]{1,32})\}/g; | ||
exports.READABLE_VARIABLE_REGEXP = /\{([a-zA-Z0-9_]{1,64})\}/g; | ||
exports.VALID_CHARACTER = 'a-zA-Z'; | ||
@@ -10,0 +10,0 @@ // Latin character Unicode points from https://tiny.amazon.com/1hix1tfzz/enwikiorgwikiList |
{ | ||
"name": "@voiceflow/common", | ||
"description": "Junk drawer of utility functions", | ||
"version": "6.5.0", | ||
"version": "6.5.1", | ||
"author": "Voiceflow", | ||
@@ -16,4 +16,4 @@ "bugs": { | ||
"devDependencies": { | ||
"@commitlint/cli": "^9.1.1", | ||
"@commitlint/config-conventional": "^9.1.1", | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@istanbuljs/nyc-config-typescript": "^1.0.1", | ||
@@ -23,2 +23,3 @@ "@types/chai": "^4.2.11", | ||
"@types/mocha": "^8.0.0", | ||
"@types/node": "^14.14.24", | ||
"@types/sinon": "^9.0.4", | ||
@@ -34,9 +35,7 @@ "@typescript-eslint/eslint-plugin": "^3.6.1", | ||
"chai-as-promised": "^7.1.1", | ||
"codacy-coverage": "^3.4.0", | ||
"commitizen": "^4.1.2", | ||
"cz-conventional-changelog": "^3.2.0", | ||
"depcheck": "^1.3.1", | ||
"eslint": "^7.4.0", | ||
"eslint-plugin-mocha": "^7.0.1", | ||
"eslint-plugin-simple-import-sort": "^5.0.3", | ||
"fixpack": "^3.0.6", | ||
"fixpack": "^4.0.0", | ||
"husky": "^4.2.5", | ||
@@ -49,4 +48,2 @@ "lint-staged": "^10.2.11", | ||
"rimraf": "^3.0.2", | ||
"semantic-release": "^17.1.1", | ||
"sinon": "^9.0.2", | ||
"source-map-support": "^0.5.19", | ||
@@ -60,21 +57,6 @@ "ts-mocha": "^6.0.0", | ||
"homepage": "https://github.com/voiceflow/common#readme", | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged", | ||
"pre-push": "git-branch-check" | ||
} | ||
}, | ||
"keywords": [ | ||
"voiceflow" | ||
], | ||
"license": "ISC", | ||
"lint-staged": { | ||
"package.json": [ | ||
"fixpack", | ||
"git add" | ||
], | ||
"**/*.{js,ts}": [ | ||
"eslint --fix", | ||
"prettier-eslint --write", | ||
"git add" | ||
] | ||
}, | ||
"main": "build/index.js", | ||
@@ -89,2 +71,3 @@ "prettier": "@voiceflow/prettier-config", | ||
"clean": "rimraf build", | ||
"commit": "cz", | ||
"lint": "eslint \"src/**/*.ts\"", | ||
@@ -96,2 +79,3 @@ "lint:quiet": "yarn lint --quiet", | ||
"test": "NODE_ENV=test nyc ts-mocha --paths --opts ./config/tests/mocha.opts 'tests/**/*.{unit,it}.ts'", | ||
"test:dependencies": "depcheck", | ||
"test:integration": "NODE_ENV=test nyc ts-mocha --paths --opts ./config/tests/mocha.opts 'tests/**/*.it.ts'", | ||
@@ -98,0 +82,0 @@ "test:single": "NODE_ENV=test ts-mocha --paths --opts ./config/tests/mocha.opts", |
@@ -7,3 +7,3 @@ export const SPACE_REGEXP = / /g; | ||
export const READABLE_VARIABLE_REGEXP = /\{([a-zA-Z0-9_]{1,32})\}/g; | ||
export const READABLE_VARIABLE_REGEXP = /\{([a-zA-Z0-9_]{1,64})\}/g; | ||
@@ -10,0 +10,0 @@ export const VALID_CHARACTER = 'a-zA-Z'; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
37789
35
64
553
1