New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tailwindcss-react-native

Package Overview
Dependencies
Maintainers
1
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwindcss-react-native - npm Package Compare versions

Comparing version
1.7.9
to
1.7.10
+9
-6
dist/babel/utils/has-named-import.js

@@ -9,10 +9,13 @@ "use strict";

function hasNamedImport(path, variable, source) {
if (path.node.source.value === source) {
if (path.node.source.value.startsWith(source)) {
return path.node.specifiers.some((specifier) => {
if (!(0, types_1.isImportSpecifier)(specifier)) {
return;
if ((0, types_1.isImportDefaultSpecifier)(specifier)) {
return specifier.local.name === variable;
}
return (0, types_1.isStringLiteral)(specifier.imported)
? specifier.imported.value === variable
: specifier.local.name === variable;
else if ((0, types_1.isImportSpecifier)(specifier)) {
return (0, types_1.isStringLiteral)(specifier.imported)
? specifier.imported.value === variable
: specifier.imported.name === variable;
}
return false;
});

@@ -19,0 +22,0 @@ }

+1
-1
{
"version": "1.7.9",
"version": "1.7.10",
"name": "tailwindcss-react-native",

@@ -4,0 +4,0 @@ "description": "Use Tailwindcss in your cross-platform React Native applications",