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 4.0.0 to 4.0.1

11

CHANGELOG.md

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

## [4.0.1] - 2021-02-26
### Changed
- Remove optional chaining/nullish coalescing code from demo component
- Webpack 4 (used by vue-cli 4, and vue-cli 5 with cli-plugin-webpack-4) chokes on these, and babel/preset-env no longer transpiles them down. Best to not suggest them in demo components.
- Update README with note about babel/preset-env
### Known Issues
- Vue 3 tree-shaking is still broken
- Vue 2 is not affected
## [4.0.0] - 2021-01-07

@@ -9,0 +20,0 @@

8

package.json

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

"license": "ISC",
"version": "4.0.0",
"version": "4.0.1",
"bin": {

@@ -27,3 +27,7 @@ "sfc-init": "./sfc-init.js"

"scripts": {
"lint": "eslint ./**/*.js ./**/.*.js"
"lint": "eslint ./**/*.js ./**/.*.js",
"version": "npm --no-git-tag-version version",
"version:patch": "npm run version -- patch",
"version:minor": "npm run version -- minor",
"version:major": "npm run version -- major"
},

@@ -30,0 +34,0 @@ "husky": {

@@ -99,2 +99,6 @@ # vue-sfc-rollup

> **_NOTE:_** The code you write in your SFC will be transpiled by babel, allowing you to use of many modern features in your code. Babel is configured with babel/preset-env, so the code transpiled will target the environments specified in your `.browserslistrc` file. You should indicate supported environments in your component/library `README.md` file, as this requirement is passed on to users of your module, including those using bundlers. If this is a concern, you might suggest users add your component to their list of [transpileDependencies](https://cli.vuejs.org/config/#transpiledependencies) list.
>
> It is also possible to [configure babel/preset-env to always apply certain transofmrations](https://babeljs.io/docs/en/babel-preset-env#include) that fall outside those automatically applied. For example, webpack 4 is unable to handle optional chaining and nullish coalescing. Babel/preset-env might indicate it is widely supported by browsers, but build processes still running webpack 4 would crash when encountering this code.
## Packaging your SFC

@@ -101,0 +105,0 @@

Sorry, the diff of this file is not supported yet

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