Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-member-expression-literals

Package Overview
Dependencies
81
Maintainers
5
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-beta.46 to 7.0.0-beta.47

14

lib/index.js

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

function _helperPluginUtils() {
var data = require("@babel/helper-plugin-utils");
const data = require("@babel/helper-plugin-utils");

@@ -20,3 +20,3 @@ _helperPluginUtils = function _helperPluginUtils() {

function _core() {
var data = require("@babel/core");
const data = require("@babel/core");

@@ -30,3 +30,3 @@ _core = function _core() {

var _default = (0, _helperPluginUtils().declare)(function (api) {
var _default = (0, _helperPluginUtils().declare)(api => {
api.assertVersion(7);

@@ -36,5 +36,6 @@ return {

MemberExpression: {
exit: function exit(_ref) {
var node = _ref.node;
var prop = node.property;
exit({
node
}) {
const prop = node.property;

@@ -46,2 +47,3 @@ if (!node.computed && _core().types.isIdentifier(prop) && !_core().types.isValidES3Identifier(prop.name)) {

}
}

@@ -48,0 +50,0 @@ }

{
"name": "@babel/plugin-transform-member-expression-literals",
"version": "7.0.0-beta.46",
"version": "7.0.0-beta.47",
"description": "Ensure that reserved words are quoted in property accesses",

@@ -12,11 +12,11 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-member-expression-literals",

"dependencies": {
"@babel/helper-plugin-utils": "7.0.0-beta.46"
"@babel/helper-plugin-utils": "7.0.0-beta.47"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.46"
"@babel/core": "7.0.0-beta.47"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.46",
"@babel/helper-plugin-test-runner": "7.0.0-beta.46"
"@babel/core": "7.0.0-beta.47",
"@babel/helper-plugin-test-runner": "7.0.0-beta.47"
}
}
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