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

babel-plugin-transform-typescript-metadata

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.3.0 to 0.3.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [0.3.1](https://github.com/leonardfactory/babel-plugin-transform-typescript-metadata/compare/v0.3.0...v0.3.1) (2020-10-12)
### 🐛 Bug Fixes
* Use cloneDeep to keep reference linked ([869a913](https://github.com/leonardfactory/babel-plugin-transform-typescript-metadata/commit/869a913))
# [0.3.0](https://github.com/leonardfactory/babel-plugin-transform-typescript-metadata/compare/v0.2.2...v0.3.0) (2020-03-05)

@@ -2,0 +9,0 @@

2

lib/metadata/serializeType.js

@@ -66,3 +66,3 @@ "use strict";

return _core.types.conditionalExpression(_core.types.binaryExpression('===', _core.types.unaryExpression('typeof', reference), _core.types.stringLiteral('undefined')), _core.types.identifier('Object'), _core.types.clone(reference));
return _core.types.conditionalExpression(_core.types.binaryExpression('===', _core.types.unaryExpression('typeof', reference), _core.types.stringLiteral('undefined')), _core.types.identifier('Object'), _core.types.cloneDeep(reference));
}

@@ -69,0 +69,0 @@ /**

{
"name": "babel-plugin-transform-typescript-metadata",
"version": "0.3.0",
"version": "0.3.1",
"description": "Babel plugin to emit decorator metadata like typescript compiler",

@@ -59,2 +59,3 @@ "main": "lib/plugin.js",

"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/preset-env": "^7.6.3",

@@ -72,3 +73,3 @@ "@babel/preset-typescript": "^7.6.0",

"jest-file-snapshot": "^0.3.7",
"release-it": "^12.6.3",
"release-it": "13.7.1",
"typescript": "^3.6.4"

@@ -75,0 +76,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