New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-metadata

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

babel-plugin-transform-metadata - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

11

dist/__tests__/data/Example.js

@@ -6,2 +6,3 @@ 'use strict';

exports.test2 = test2;
exports.ErrorableElement = ErrorableElement;

@@ -92,2 +93,12 @@ var _2 = require('../../_');

var types = [[(_3.default /*: R*/ /*: IT3*/), '213'], [(_3.default), '321']];
/*:: type ErrorableElementProps = {
/* @args *-/
children: React$Element;
error?: React$Element;
}*/
function ErrorableElement(_ref) {
var children = _ref.children;
var error = _ref.error;
}
//# sourceMappingURL=Example.js.map

@@ -5,2 +5,3 @@ 'use strict';

exports.test2 = test2;
exports.ErrorableElement = ErrorableElement;

@@ -117,2 +118,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var types = [['R', '213'], ['ITest.1013217576', '321']];
/*:: type ErrorableElementProps = {
/* @args *-/
children: React$Element;
error?: React$Element;
};*/
function ErrorableElement(_ref) {
var children = _ref.children;
var error = _ref.error;
}
_inject([{}], ErrorableElement);
//# sourceMappingURL=ExampleTranspiled.js.map

@@ -39,2 +39,7 @@ 'use strict';

}
if (hasComment(property, false)) {
break;
}
var val = typeForAnnotation(value);

@@ -41,0 +46,0 @@ if (val) {

2

package.json
{
"name": "babel-plugin-transform-metadata",
"version": "0.0.5",
"version": "0.0.6",
"description": "Reflection metadata support for classes and functions",

@@ -5,0 +5,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

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