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

babel-plugin-debug-macros

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-debug-macros - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## v0.3.3 (2019-08-26)
#### :bug: Bug Fix
* [#80](https://github.com/ember-cli/babel-plugin-debug-macros/pull/80) Fix bug when key attribute is a literal for debug macros (`deprecate`, `assert`, `warn`) ([@martony38](https://github.com/martony38))
#### Committers: 1
- Laurent Sehabiague ([@martony38](https://github.com/martony38))
# Changelog

@@ -2,0 +10,0 @@

22

package.json
{
"name": "babel-plugin-debug-macros",
"version": "0.3.2",
"version": "0.3.3",
"description": "Debug macros and feature flag stripping",

@@ -48,3 +48,5 @@ "keywords": [

"lerna-changelog": "^0.8.2",
"prettier": "^1.12.1"
"prettier": "^1.12.1",
"release-it": "^12.2.1",
"release-it-lerna-changelog": "^1.0.3"
},

@@ -56,3 +58,19 @@ "peerDependencies": {

"node": ">=6"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"release-it": {
"plugins": {
"release-it-lerna-changelog": {
"infile": "CHANGELOG.md"
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
}
}
}

@@ -160,7 +160,15 @@ 'use strict';

if (meta && meta.properties && !meta.properties.some(prop => prop.key.name === 'id')) {
if (
meta &&
meta.properties &&
!meta.properties.some(prop => prop.key.name === 'id' || prop.key.value === 'id')
) {
throw new ReferenceError(`deprecate's meta information requires an "id" field.`);
}
if (meta && meta.properties && !meta.properties.some(prop => prop.key.name === 'until')) {
if (
meta &&
meta.properties &&
!meta.properties.some(prop => prop.key.name === 'until' || prop.key.value === 'until')
) {
throw new ReferenceError(`deprecate's meta information requires an "until" field.`);

@@ -167,0 +175,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