babel-plugin-transform-jsx-stylesheet
Advanced tools
Comparing version 1.0.1 to 1.0.2-0
"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, |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
47958
1