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

constant-case

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

constant-case - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

dist.es2015/index.d.ts

85

package.json
{
"name": "constant-case",
"version": "2.0.0",
"description": "Constant case a string",
"main": "constant-case.js",
"typings": "constant-case.d.ts",
"version": "3.0.0",
"description": "Transform into upper case string with an underscore between words",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist.es2015/index.js",
"sideEffects": false,
"jsnext:main": "dist.es2015/index.js",
"files": [
"constant-case.js",
"constant-case.d.ts",
"dist/",
"dist.es2015/",
"LICENSE"
],
"scripts": {
"lint": "standard",
"test-std": "mocha -- -R spec --bail",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
"test": "npm run lint && npm run test-cov"
"lint": "tslint \"src/**/*\" --project tsconfig.json",
"build": "rimraf dist/ dist.es2015/ && tsc && tsc -P tsconfig.es2015.json",
"specs": "jest --coverage",
"test": "npm run build && npm run lint && npm run specs && npm run size",
"size": "size-limit",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git://github.com/blakeembrey/constant-case.git"
"url": "git://github.com/blakeembrey/change-case.git"
},

@@ -25,3 +30,7 @@ "keywords": [

"case",
"upper"
"upper",
"uppercase",
"underscore",
"convert",
"transform"
],

@@ -35,14 +44,48 @@ "author": {

"bugs": {
"url": "https://github.com/blakeembrey/constant-case/issues"
"url": "https://github.com/blakeembrey/change-case/issues"
},
"homepage": "https://github.com/blakeembrey/constant-case",
"homepage": "https://github.com/blakeembrey/change-case/tree/master/packages/constant-case#readme",
"size-limit": [
{
"path": "dist/index.js",
"limit": "550 B"
}
],
"jest": {
"roots": [
"<rootDir>/src/"
],
"transform": {
"\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"no-case": "^3.0.0",
"upper-case": "^2.0.0"
},
"devDependencies": {
"istanbul": "^0.4.3",
"mocha": "^2.2.1",
"standard": "^7.1.2"
"@size-limit/preset-small-lib": "^2.2.1",
"@types/jest": "^24.0.23",
"@types/node": "^12.12.14",
"jest": "^24.9.0",
"rimraf": "^3.0.0",
"ts-jest": "^24.2.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^3.7.2"
},
"dependencies": {
"snake-case": "^2.1.0",
"upper-case": "^1.1.1"
}
"gitHead": "55911ca17c2e0c964b9b84143e14e29ffc9ff499"
}
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