Socket
Socket
Sign inDemoInstall

babel-plugin-fuck-optimization

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-fuck-optimization - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "babel-plugin-fuck-optimization",
"version": "2.1.0",
"version": "2.1.1",
"description": "Plugin for Babel which fucks all the optimizations in your code",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -25,5 +25,5 @@ # babel-plugin-fuck-optimization

It traverses all the `BlockStatement` and if its parent is `FunctionDeclaration` or `ClassMethod`
It traverses all the `BlockStatement` and if its parent is `FunctionDeclaration`, `ClassMethod`, `FunctionExpression` or `ArrowFunctionExpression` (basically all functions in your code)
~~it pushes the new `TryStatement` with `CatchClause` within the `BlockStatement`~~ (optimized in V8 5.3.1)
it adds an object literal declaration with modified `__proto__` property.
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