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

vue-sfc-rollup

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-sfc-rollup - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

17

CHANGELOG.md

@@ -7,2 +7,19 @@ # Changelog

## [2.0.1] - 2019-10-31
### Fixed
- Avoid bug introduced in [rollup-plugin-vue 5.1.2](https://github.com/vuejs/rollup-plugin-vue/issues/303) - lock in use of v5.1.1 in generated package.json until issue is resolved.
### Changed
- Rollup config updates in single/lib modes - 'external' missing from esm build config
- Update template dependencies
- cross-env 6.0.3
- rollup 1.26.1
- rollup-plugin-commonjs 10.1.0
- rollup-plugin-terser 5.1.2
- rollup-plugin-vue 5.1.1
### Added
- New/updated tooling for cli development
## [2.0.0] - 2019-05-17

@@ -9,0 +26,0 @@

19

package.json

@@ -6,3 +6,3 @@ {

"license": "ISC",
"version": "2.0.0",
"version": "2.0.1",
"bin": {

@@ -28,10 +28,17 @@ "sfc-init": "./sfc-init.js"

},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm audit"
}
},
"dependencies": {
"ejs": "^2.6.1",
"prompts": "^2.0.4"
"ejs": "^2.7.1",
"prompts": "^2.2.1"
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.2"
"eslint": "^6.6.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"husky": "^3.0.9"
},

@@ -38,0 +45,0 @@ "engines": {

@@ -10,6 +10,6 @@ #! /usr/bin/env node

const pascalify = (str) => {
const camelized = str.replace(/-([a-z])/g, c => c[1].toUpperCase());
const camelized = str.replace(/-([a-z])/g, (c) => c[1].toUpperCase());
return camelized.charAt(0).toUpperCase() + camelized.slice(1);
};
const kebabcase = string => string.replace(/([a-z])([A-Z])/g, '$1-$2').replace(/\s+/g, '-').toLowerCase();
const kebabcase = (string) => string.replace(/([a-z])([A-Z])/g, '$1-$2').replace(/\s+/g, '-').toLowerCase();

@@ -16,0 +16,0 @@ // Helper to replace vars in files

@@ -32,4 +32,4 @@ // rollup.config.js

// UMD/IIFE shared settings: externals and output.globals
// Refer to https://rollupjs.org/guide/en#output-globals for details
// ESM/UMD/IIFE shared settings: externals
// Refer to https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
const external = [

@@ -39,2 +39,5 @@ // list external dependencies, exactly the way it is written in the import statement.

];
// UMD/IIFE shared settings: output.globals
// Refer to https://rollupjs.org/guide/en#output-globals for details
const globals = {

@@ -50,2 +53,3 @@ // Provide global variable names to replace your external imports

...baseConfig,
external,
output: {

@@ -52,0 +56,0 @@ file: 'dist/<%-componentName%>.esm.js',

@@ -27,10 +27,10 @@ {

"devDependencies": {
"cross-env": "^5.2.0",
"cross-env": "^6.0.3",
"minimist": "^1.2.0",
"rollup": "^1.12.1",
"rollup-plugin-buble": "^0.19.6",
"rollup-plugin-commonjs": "^10.0.0",
"rollup": "^1.26.1",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-vue": "^5.0.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-vue": "5.1.1",
"vue": "^2.6.10",

@@ -37,0 +37,0 @@ "vue-template-compiler": "^2.6.10"

@@ -32,4 +32,4 @@ // rollup.config.js

// UMD/IIFE shared settings: externals and output.globals
// Refer to https://rollupjs.org/guide/en#output-globals for details
// ESM/UMD/IIFE shared settings: externals
// Refer to https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
const external = [

@@ -39,2 +39,5 @@ // list external dependencies, exactly the way it is written in the import statement.

];
// UMD/IIFE shared settings: output.globals
// Refer to https://rollupjs.org/guide/en#output-globals for details
const globals = {

@@ -50,2 +53,3 @@ // Provide global variable names to replace your external imports

...baseConfig,
external,
output: {

@@ -52,0 +56,0 @@ file: 'dist/<%-componentName%>.esm.js',

@@ -26,10 +26,10 @@ {

"devDependencies": {
"cross-env": "^5.2.0",
"cross-env": "^6.0.3",
"minimist": "^1.2.0",
"rollup": "^1.12.1",
"rollup-plugin-buble": "^0.19.6",
"rollup-plugin-commonjs": "^10.0.0",
"rollup": "^1.26.1",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-vue": "^5.0.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-vue": "5.1.1",
"vue": "^2.6.10",

@@ -36,0 +36,0 @@ "vue-template-compiler": "^2.6.10"

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