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

babel-plugin-transform-jsx-stylesheet

Package Overview
Dependencies
Maintainers
5
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-jsx-stylesheet - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2-0

4

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var path = require("path");
var camelcase_1 = require("camelcase");
var camelcase = require("camelcase");
var constants_1 = require("./constants");

@@ -193,3 +193,3 @@ function default_1(_a, opts) {

var cssParamIdentifiers = file.get('cssParamIdentifiers') || [];
var cssFileBaseName = camelcase_1.default(path.basename(sourceValue, extname));
var cssFileBaseName = camelcase(path.basename(sourceValue, extname));
var styleSheetIdentifier = t.identifier("" + (cssFileBaseName + constants_1.NAME_SUFFIX));

@@ -196,0 +196,0 @@ node.specifiers = [t.importDefaultSpecifier(styleSheetIdentifier)];

{
"name": "babel-plugin-transform-jsx-stylesheet",
"version": "1.0.1",
"version": "1.0.2-0",
"description": "Transform stylesheet selector to style in JSX Elements.",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

import * as path from 'path';
import camelcase from 'camelcase';
import * as camelcase from 'camelcase';
import {

@@ -4,0 +4,0 @@ GET_STYLE_FUNC_NAME,

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