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

docpad-plugin-babel

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docpad-plugin-babel - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

3

HISTORY.md
## History
v2.0.5 September 9, 2015
- Added opinionated default options to babel
v2.0.4 September 9, 2015

@@ -4,0 +7,0 @@ - Added compiled js in /out to make plugin functional out-of-the-box

7

package.json
{
"name": "docpad-plugin-babel",
"version": "2.0.4",
"version": "2.1.0",
"description": "DocPad plugin to compile es-next to es5 using babel",

@@ -24,3 +24,4 @@ "homepage": "https://github.com/williammalo/docpad-plugin-babel",

"contributors": [
"Jimmy King <hello@jimmyking.me> (http://jimmyking.me)"
"Jimmy King <hello@jimmyking.me> (http://jimmyking.me)",
"Michael Duane Mooring <mike@mdm.cc> (http://mikeum.us)"
],

@@ -41,3 +42,3 @@ "bugs": {

"dependencies": {
"babel-core": "^5.8.23"
"babel-core": "^6.7.5"
},

@@ -44,0 +45,0 @@ "devDependencies": {

@@ -17,3 +17,20 @@ # Babel Plugin for [DocPad](http://docpad.org)

<!-- ERRORS/ -->
### Common Errors
- ERROR: **`require is not defined`** error when using ES6 `import` statements:
- This is fixed easily with the [docplad-plugin-browserifydocs](https://github.com/docpad/docpad-plugin-browserifydocs) plugin:
- `docpad install browserifydocs`
- Add this to the top of your `.js.babel` file :
<pre>
```
---
browserify: true
---
```
</pre>
<!-- /ERRORS -->
<!-- HISTORY/ -->

@@ -60,2 +77,4 @@

- [Michael Duane Mooring](https://github.com/mikeumus) — [view contributions](https://github.com/williammalo/docpad-plugin-babel/commits?author=mikeumus)
[Become a contributor!](https://github.com/williammalo/docpad-plugin-babel/blob/master/CONTRIBUTING.md#files)

@@ -62,0 +81,0 @@

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