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

cake-case

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cake-case - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

.eslintrc.json

6

CHANGELOG.md

@@ -10,2 +10,8 @@ # Changelog

## [1.2.0] - 2019-10-16
### Updated
- Update dependencies.
## [1.1.0] - 2018-06-07

@@ -12,0 +18,0 @@

4

dist/cake-case.min.js

@@ -1,5 +0,5 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.CakeCase=t():e.CakeCase=t()}(this,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./src/cake-case.ts")}({"./src/cake-case.ts":
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.CakeCase=t():e.CakeCase=t()}(this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./src/cake-case.ts")}({"./src/cake-case.ts":
/*!**************************!*\
!*** ./src/cake-case.ts ***!
\**************************/
/*! no static exports found */function(e,t,r){"use strict";function n(e,t){return void 0===t&&(t=" "),e.replace(/([A-Z][a-z]|[0-9][a-zA-Z])/g," $1").replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([0-9])([a-zA-Z])/g,"$1 $2").replace(/([a-zA-Z])([0-9])/g,"$1 $2").replace(/([\W|_]+)/g," ").trim().replace(/\s+/g,t)}function o(e,t){return void 0===t&&(t=" "),n(e,t).toLowerCase()}function u(e,t){return void 0===t&&(t=" "),o(e," ").split(" ").map(function(e){return e[0].toUpperCase()+e.substr(1)}).join(" ").replace(/\s+/g,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.normal=n,t.lower=o,t.upper=function(e,t){return void 0===t&&(t=" "),n(e,t).toUpperCase()},t.capital=u,t.camel=function(e){return(e=u(e,""))[0].toLowerCase()+e.substr(1)},t.pascal=function(e){return u(e,"")},t.kebab=function(e){return o(e,"-")},t.snake=function(e){return o(e,"_")}}})});
/*! no static exports found */function(e,t,r){"use strict";function n(e,t){return void 0===t&&(t=" "),e.replace(/([A-Z][a-z]|[0-9][a-zA-Z])/g," $1").replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([0-9])([a-zA-Z])/g,"$1 $2").replace(/([a-zA-Z])([0-9])/g,"$1 $2").replace(/([\W|_]+)/g," ").trim().replace(/\s+/g,t)}function o(e,t){return void 0===t&&(t=" "),n(e,t).toLowerCase()}function u(e,t){return void 0===t&&(t=" "),o(e," ").split(" ").map((function(e){return e[0].toUpperCase()+e.substr(1)})).join(" ").replace(/\s+/g,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.normal=n,t.lower=o,t.upper=function(e,t){return void 0===t&&(t=" "),n(e,t).toUpperCase()},t.capital=u,t.camel=function(e){return(e=u(e,""))[0].toLowerCase()+e.substr(1)},t.pascal=function(e){return u(e,"")},t.kebab=function(e){return o(e,"-")},t.snake=function(e){return o(e,"_")}}})}));
{
"name": "cake-case",
"version": "1.1.2",
"version": "1.2.0",
"description": "The simple utility methods that converts string case.",

@@ -29,12 +29,16 @@ "main": "dist/cake-case.js",

"devDependencies": {
"@types/jest": "^23.3.1",
"jest": "^23.4.2",
"source-map-loader": "^0.2.3",
"ts-jest": "^23.1.3",
"ts-loader": "^4.4.2",
"typescript": "^3.0.1",
"webpack": "^4.16.5",
"webpack-cli": "^3.1.0",
"webpack-merge": "^4.1.4",
"webpack-notifier": "^1.6.0"
"@types/jest": "^24.0.19",
"@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"eslint": "^6.5.1",
"jest": "^24.9.0",
"source-map-loader": "^0.2.4",
"ts-jest": "^24.1.0",
"ts-loader": "^6.2.0",
"typescript": "^3.6.4",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.9",
"webpack-merge": "^4.2.2",
"webpack-notifier": "^1.8.0"
},

@@ -41,0 +45,0 @@ "jest": {

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