Comparing version 1.2.1 to 1.2.2
@@ -10,2 +10,6 @@ # Changelog | ||
## 1.2.2 - 2021-05-07 | ||
- Update dependencies. | ||
## [1.2.0] - 2019-10-16 | ||
@@ -12,0 +16,0 @@ |
@@ -11,100 +11,14 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
})(this, function() { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
/******/ var installedModules = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ | ||
/******/ // Check if module is in cache | ||
/******/ if(installedModules[moduleId]) { | ||
/******/ return installedModules[moduleId].exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = installedModules[moduleId] = { | ||
/******/ i: moduleId, | ||
/******/ l: false, | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Flag the module as loaded | ||
/******/ module.l = true; | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/******/ | ||
/******/ // expose the modules object (__webpack_modules__) | ||
/******/ __webpack_require__.m = modules; | ||
/******/ | ||
/******/ // expose the module cache | ||
/******/ __webpack_require__.c = installedModules; | ||
/******/ | ||
/******/ // define getter function for harmony exports | ||
/******/ __webpack_require__.d = function(exports, name, getter) { | ||
/******/ if(!__webpack_require__.o(exports, name)) { | ||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | ||
/******/ } | ||
/******/ }; | ||
/******/ | ||
/******/ // define __esModule on exports | ||
/******/ __webpack_require__.r = function(exports) { | ||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | ||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
/******/ } | ||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/******/ }; | ||
/******/ | ||
/******/ // create a fake namespace object | ||
/******/ // mode & 1: value is a module id, require it | ||
/******/ // mode & 2: merge all properties of value into the ns | ||
/******/ // mode & 4: return value when already ns object | ||
/******/ // mode & 8|1: behave like require | ||
/******/ __webpack_require__.t = function(value, mode) { | ||
/******/ if(mode & 1) value = __webpack_require__(value); | ||
/******/ if(mode & 8) return value; | ||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | ||
/******/ var ns = Object.create(null); | ||
/******/ __webpack_require__.r(ns); | ||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | ||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | ||
/******/ return ns; | ||
/******/ }; | ||
/******/ | ||
/******/ // getDefaultExport function for compatibility with non-harmony modules | ||
/******/ __webpack_require__.n = function(module) { | ||
/******/ var getter = module && module.__esModule ? | ||
/******/ function getDefault() { return module['default']; } : | ||
/******/ function getModuleExports() { return module; }; | ||
/******/ __webpack_require__.d(getter, 'a', getter); | ||
/******/ return getter; | ||
/******/ }; | ||
/******/ | ||
/******/ // Object.prototype.hasOwnProperty.call | ||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | ||
/******/ | ||
/******/ // __webpack_public_path__ | ||
/******/ __webpack_require__.p = ""; | ||
/******/ | ||
/******/ | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = "./src/cake-case.ts"); | ||
/******/ }) | ||
/************************************************************************/ | ||
/******/ ({ | ||
/***/ "./src/cake-case.ts": | ||
return /******/ (() => { // webpackBootstrap | ||
/******/ "use strict"; | ||
var __webpack_exports__ = {}; | ||
// This entry need to be wrapped in an IIFE because it uses a non-standard name for the exports (exports). | ||
(() => { | ||
var exports = __webpack_exports__; | ||
/*!**************************!*\ | ||
!*** ./src/cake-case.ts ***! | ||
\**************************/ | ||
/*! no static exports found */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
Object.defineProperty(exports, "__esModule", ({ value: true })); | ||
exports.snake = exports.kebab = exports.pascal = exports.camel = exports.capital = exports.upper = exports.lower = exports.normal = void 0; | ||
function normal(str, fill) { | ||
@@ -156,7 +70,8 @@ if (fill === void 0) { fill = ' '; } | ||
})(); | ||
/***/ }) | ||
/******/ }); | ||
/******/ return __webpack_exports__; | ||
/******/ })() | ||
; | ||
}); | ||
//# sourceMappingURL=cake-case.js.map |
@@ -1,5 +0,2 @@ | ||
!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,"_")}}})})); | ||
/*! For license information please see cake-case.min.js.LICENSE.txt */ | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.CakeCase=r():e.CakeCase=r()}(this,(function(){return(()=>{"use strict";var e={};return(()=>{var r=e;function t(e,r){return void 0===r&&(r=" "),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,r)}function n(e,r){return void 0===r&&(r=" "),t(e,r).toLowerCase()}function o(e,r){return void 0===r&&(r=" "),n(e," ").split(" ").map((function(e){return e[0].toUpperCase()+e.substr(1)})).join(" ").replace(/\s+/g,r)}Object.defineProperty(r,"__esModule",{value:!0}),r.snake=r.kebab=r.pascal=r.camel=r.capital=r.upper=r.lower=r.normal=void 0,r.normal=t,r.lower=n,r.upper=function(e,r){return void 0===r&&(r=" "),t(e,r).toUpperCase()},r.capital=o,r.camel=function(e){return(e=o(e,""))[0].toLowerCase()+e.substr(1)},r.pascal=function(e){return o(e,"")},r.kebab=function(e){return n(e,"-")},r.snake=function(e){return n(e,"_")}})(),e})()})); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.snake = exports.kebab = exports.pascal = exports.camel = exports.capital = exports.upper = exports.lower = exports.normal = void 0; | ||
function normal(str, fill) { | ||
@@ -4,0 +5,0 @@ if (fill === void 0) { fill = ' '; } |
{ | ||
"name": "cake-case", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "The simple utility methods that converts string case.", | ||
@@ -11,4 +11,4 @@ "main": "dist/cake-case.js", | ||
"prebuild": "tsc", | ||
"build": "webpack --hide-modules", | ||
"watch": "webpack --hide-modules --watch" | ||
"build": "webpack", | ||
"watch": "webpack --watch" | ||
}, | ||
@@ -30,16 +30,16 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/jest": "^24.0.23", | ||
"@types/node": "^12.12.17", | ||
"@typescript-eslint/eslint-plugin": "^2.11.0", | ||
"@typescript-eslint/parser": "^2.11.0", | ||
"eslint": "^6.7.2", | ||
"jest": "^24.9.0", | ||
"source-map-loader": "^0.2.4", | ||
"ts-jest": "^24.2.0", | ||
"ts-loader": "^6.2.1", | ||
"typescript": "^3.7.3", | ||
"webpack": "^4.41.2", | ||
"webpack-cli": "^3.3.10", | ||
"webpack-merge": "^4.2.2", | ||
"webpack-notifier": "^1.8.0" | ||
"@types/jest": "^26.0.23", | ||
"@types/node": "^15.0.2", | ||
"@typescript-eslint/eslint-plugin": "^4.22.1", | ||
"@typescript-eslint/parser": "^4.22.1", | ||
"eslint": "^7.25.0", | ||
"jest": "^26.6.3", | ||
"source-map-loader": "^2.0.1", | ||
"ts-jest": "^26.5.6", | ||
"ts-loader": "^9.1.2", | ||
"typescript": "^4.2.4", | ||
"webpack": "^5.36.2", | ||
"webpack-cli": "^4.7.0", | ||
"webpack-merge": "^5.7.3", | ||
"webpack-notifier": "^1.13.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "jest": { |
const path = require('path'); | ||
const merge = require('webpack-merge'); | ||
const { merge } = require('webpack-merge'); | ||
const WebpackNotifierPlugin = require('webpack-notifier'); | ||
@@ -4,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
20
22334
1
80
411