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

babel-plugin-transform-es3-property-literals

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-es3-property-literals

Ensure that reserved words are quoted in object property keys

  • 7.0.0-alpha.16
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.4K
decreased by-74.78%
Maintainers
4
Weekly downloads
 
Created
Source

babel-plugin-transform-es3-property-literals

Ensure that reserved words are quoted in object property keys

Example

In

var foo = {
  catch: function () {}
};

Out

var foo = {
  "catch": function () {}
};

Installation

npm install --save-dev babel-plugin-transform-es3-property-literals

Usage

.babelrc

{
  "plugins": ["transform-es3-property-literals"]
}

Via CLI

babel --plugins transform-es3-property-literals script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-es3-property-literals"]
});

Keywords

FAQs

Package last updated on 25 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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