New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-hydroxide

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-hydroxide - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

dist/index.d.ts

11

dist/index.js

@@ -1,2 +0,2 @@

// babel-plugin-hydroxide v1.1.0
// babel-plugin-hydroxide v1.1.1
'use strict';

@@ -314,7 +314,10 @@

}
// obj.key = value (expr)
// obj[key] = value or
// obj.key = value
function memberAssign(obj, key, value) {
return t__namespace.assignmentExpression('=', t__namespace.memberExpression(obj, t__namespace.identifier(key)), value);
const computed = key.includes('-');
const keyExpr = computed ? t__namespace.stringLiteral(key) : t__namespace.identifier(key);
return t__namespace.assignmentExpression('=', t__namespace.memberExpression(obj, keyExpr, computed), value);
}
// obj.key = value (statement)
// obj[key] = value (statement)
function memberAssignStatement(obj, key, value) {

@@ -321,0 +324,0 @@ return t__namespace.expressionStatement(memberAssign(obj, key, value));

{
"name": "babel-plugin-hydroxide",
"description": "Compiler for Hydroxide Framework",
"version": "1.1.0",
"version": "1.1.1",
"author": "Manan Tank",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {

@@ -33,2 +34,3 @@ "build": "rollup -c",

"rollup": "^2.69.0",
"rollup-plugin-cleaner": "^1.0.0",
"rollup-plugin-ts": "^3.0.1",

@@ -35,0 +37,0 @@ "ts-jest": "^27.1.3",

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