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

babel-plugin-codegen

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

babel-plugin-codegen - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

6

dist/macro.js
'use strict';
// const printAST = require('ast-pretty-print')
var _require = require('babel-macros'),
createMacro = _require.createMacro;
var replace = require('./replace');
// this implements the babel-macros v0.5.2 API
module.exports = codegenMacros;
module.exports = createMacro(codegenMacros);

@@ -9,0 +11,0 @@ function codegenMacros(_ref) {

{
"name": "babel-plugin-codegen",
"version": "1.1.3",
"version": "1.2.0",
"description": "Generate code at build-time",

@@ -11,5 +11,9 @@ "main": "dist/index.js",

"scripts": {
"start": "nps",
"test": "nps test",
"precommit": "lint-staged && opt --in pre-commit --exec \"npm start validate\""
"add-contributor": "kcd-scripts contributors add",
"build": "kcd-scripts build",
"lint": "kcd-scripts lint",
"test": "kcd-scripts test",
"test:update": "kcd-scripts test --updateSnapshot",
"validate": "kcd-scripts validate",
"precommit": "kcd-scripts precommit"
},

@@ -29,34 +33,24 @@ "files": [

"dependencies": {
"babel-core": "^6.25.0",
"babel-register": "^6.25.0",
"babel-template": "^6.25.0",
"babel-core": "^6.26.0",
"babel-macros": "^1.0.0",
"babel-register": "^6.26.0",
"babel-template": "^6.26.0",
"require-from-string": "^1.2.1"
},
"devDependencies": {
"all-contributors-cli": "^4.3.0",
"ast-pretty-print": "^2.0.0",
"babel-cli": "^6.24.1",
"babel-jest": "^20.0.3",
"babel-macros": "^0.5.2",
"babel-plugin-tester": "^3.3.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-register": "^6.24.1",
"eslint": "^4.2.0",
"eslint-config-kentcdodds": "^12.4.1",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lint-staged": "^4.0.1",
"nps": "^5.4.0",
"nps-utils": "^1.2.0",
"opt-cli": "^1.5.1",
"prettier-eslint-cli": "^4.1.1"
"babel-plugin-tester": "^4.0.0",
"kcd-scripts": "^0.4.0"
},
"lint-staged": {
"*.+(js|json)": [
"prettier-eslint --write",
"git add"
]
"eslintConfig": {
"extends": "./node_modules/kcd-scripts/eslint.js"
},
"eslintIgnore": [
"node_modules",
"coverage",
"dist"
],
"babel": {
"presets": "kcd-scripts/babel"
},
"repository": {

@@ -63,0 +57,0 @@ "type": "git",

@@ -24,2 +24,4 @@ <div align="center">

<a href="https://app.codesponsor.io/link/PKGFLnhDiFvsUA5P4kAXfiPs/kentcdodds/babel-plugin-codegen" rel="nofollow"><img src="https://app.codesponsor.io/embed/PKGFLnhDiFvsUA5P4kAXfiPs/kentcdodds/babel-plugin-codegen.svg" style="width: 888px; height: 68px;" alt="Sponsor" /></a>
## The problem

@@ -26,0 +28,0 @@

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