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

vue-module-class-generator

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-module-class-generator - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Change Log

<a name="0.3.0"></a>
# [0.3.0](https://github.com/dimensi/vue-module-class-generator/compare/v0.2.1...v0.3.0) (2018-10-25)
<a name="0.2.1"></a>

@@ -7,0 +12,0 @@ ## [0.2.1](https://github.com/dimensi/vue-module-class-generator/compare/v0.2.0...v0.2.1) (2018-10-25)

21

dist/index.cjs.js
/*!
* vue-module-class-generator v0.2.1
* vue-module-class-generator v0.3.0
* (c) 2018-present Nikita Nafranets <eddimensi@gmail.com>

@@ -10,6 +10,2 @@ * Released under the MIT License.

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var camelCase = _interopDefault(require('camelcase'));
function _typeof(obj) {

@@ -38,2 +34,17 @@ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {

};
var firstUpperCase = function firstUpperCase(text) {
return text.substring(0, 1).toUpperCase() + text.substring(1);
};
var firstLowerCase = function firstLowerCase(text) {
return text.substring(0, 1).toLowerCase() + text.substring(1);
};
var camelCase = function camelCase(inputs) {
return inputs.reduce(function (acc, text, i) {
if (i === 0) return acc + firstLowerCase(text);
return acc + firstUpperCase(text);
}, '');
};
var createJoinModeKey = function createJoinModeKey(config) {

@@ -40,0 +51,0 @@ return config.prefix.modKey ? function (key, value) {

/*!
* vue-module-class-generator v0.2.1
* vue-module-class-generator v0.3.0
* (c) 2018-present Nikita Nafranets <eddimensi@gmail.com>
* Released under the MIT License.
*/
import camelCase from 'camelcase';
function _typeof(obj) {

@@ -31,2 +29,17 @@ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {

};
var firstUpperCase = function firstUpperCase(text) {
return text.substring(0, 1).toUpperCase() + text.substring(1);
};
var firstLowerCase = function firstLowerCase(text) {
return text.substring(0, 1).toLowerCase() + text.substring(1);
};
var camelCase = function camelCase(inputs) {
return inputs.reduce(function (acc, text, i) {
if (i === 0) return acc + firstLowerCase(text);
return acc + firstUpperCase(text);
}, '');
};
var createJoinModeKey = function createJoinModeKey(config) {

@@ -33,0 +46,0 @@ return config.prefix.modKey ? function (key, value) {

{
"name": "vue-module-class-generator",
"version": "0.2.1",
"version": "0.3.0",
"description": "Vue class helper",

@@ -39,5 +39,3 @@ "main": "dist/index.cjs.js",

},
"dependencies": {
"camelcase": "^5.0.0"
}
"dependencies": {}
}
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