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

morphling

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

morphling - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json

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

"name": "morphling",
"version": "0.2.0",
"version": "0.2.1",
"description": "A collection of VueJs filters.",

@@ -9,0 +9,0 @@ "main": "index.js",

@@ -10,6 +10,7 @@ # Mophling

- [Installation](#Installation)
- [Usage](#Usage) (New updates as of July 29, 2017 PHT)
- [Usage](#Usage)
- [Filters](#Filters)
- [Directives](#Directives)
- [Updates](#Updates)
- [Updates](#Updates) (New updates as of July 29, 2017 PHT)
- [Debug](#Debug)
- [Contributing](https://github.com/jofftiquez/morphling/blob/master/CONTRIBUTING.md)

@@ -421,2 +422,38 @@ - [License](https://github.com/jofftiquez/morphling/blob/master/LICENSE)

## Debug
**ERROR in build.js from UglifyJs**
There is a known error when building a **vue cli x webpack** project that is using `morphling`.
> ERROR in build.js from UglifyJs
> Unexpected token: punc (() [../morphling/index.js:5,4][build.js:15630,10]
**Fix:**
1. Add `es2015` and `stage-2` presets to the `.babelrc`
2. Include `morphling` to the `babel-loader` in `build/webpack.base.conf.js`
*build/webpack.base.conf.js*
```javascript
...
module: {
rules: [
...
{
test: /\.js$/,
loader: 'babel-loader',
include: [resolve('src'), resolve('test'), resolve('node_modules/morphling')]
}
...
]
}
...
```
Helpful links :
- [Stackoverflow](https://stackoverflow.com/a/43893311/2889614)
- [GitHub](https://github.com/joeeames/WebpackFundamentalsCourse/issues/3)
*"When my time comes,

@@ -423,0 +460,0 @@ Forget the wrong that I've done,

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