Socket
Socket
Sign inDemoInstall

babel-plugin-transform-jsdoced

Package Overview
Dependencies
32
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.3 to 1.2.4

5

CHANGELOG.md

@@ -0,1 +1,4 @@

# v1.2.4
- removed silly debug log
# v1.2.3

@@ -13,3 +16,3 @@ - wrote example for eslint jsdoc - http://eslint.org/docs/rules/valid-jsdoc

# v1.1.0
- wrote a testsuite with mocha
- wrote a test suite with mocha
- support for es2015 arrow function

@@ -16,0 +19,0 @@

2

examples/browser-sourcemaps-build.js

@@ -11,4 +11,2 @@ /**

console.log('hello');
var _returnValue = myString1 + myString2;

@@ -15,0 +13,0 @@

{
"name": "babel-plugin-transform-jsdoced",
"version": "1.2.3",
"version": "1.2.4",
"description": "It implements jsdoced javascript as a babel plugin",

@@ -5,0 +5,0 @@ "main": "transform-jsdoced.js",

@@ -12,5 +12,9 @@ # babel-plugin-transform-jsdoced

Check it out!
Check it out!
## JSDoced Javascript in a single image
## What is JSDoced Javascript ?
Here is a [Youtube video "JSDoced JS in 1min"](https://youtu.be/W-cdPCNxNJ8), it worth the whole minute :)
or in a single image
![jsdoced javascript in a single image](https://cloud.githubusercontent.com/assets/252962/14639163/e53f682a-0632-11e6-9a06-33b577118e53.jpg)

@@ -17,0 +21,0 @@

@@ -10,4 +10,5 @@ - TODO complete the clean return

```
- how to handle the function without return at all. aka the one returning undefined
- DONE how to handle the function without return at all. aka the one returning undefined
- what if undefined is allowed ? what if undefined is not allowed ?
- ANSWER: let eslint handle it.
- write something on how to use it with webpack

@@ -14,0 +15,0 @@ - Webpack plugin for Babel - https://github.com/babel/babel-loader

@@ -105,3 +105,3 @@ var jsdocParse = require('./vendor/jsdocParse.js')

// get jsdocJson for this node
console.log('node', path.node)
// console.log('node', path.node)
var lineNumber = path.node.loc.start.line-1

@@ -108,0 +108,0 @@ var jsdocJson = jsdocParse.extractJsdocJson(contentLines, lineNumber)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc