Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-cssta

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-cssta - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

fixtures/boolean-attribute/expected.js

@@ -1,5 +0,5 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
_csstaLibWebCreateComponent('button', null, null, {
_csstaDistWebCreateComponent('button', null, null, {
'booleanAttribute': {

@@ -6,0 +6,0 @@ 'true': 'A'

@@ -1,5 +0,5 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
import Link from 'react-router';
_csstaLibWebCreateComponent(Link, null, 'A', {});
_csstaDistWebCreateComponent(Link, null, 'A', {});

@@ -1,5 +0,5 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
import Link from 'react-router';
_csstaLibWebCreateComponent(Link, null, 'A', {});
_csstaDistWebCreateComponent(Link, null, 'A', {});

@@ -1,5 +0,5 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
import Link from 'react-router';
_csstaLibWebCreateComponent(Link, null, 'A', {});
_csstaDistWebCreateComponent(Link, null, 'A', {});

@@ -1,5 +0,5 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
const button = 'button';
_csstaLibWebCreateComponent(button, null, 'A', {});
_csstaDistWebCreateComponent(button, null, 'A', {});

@@ -1,4 +0,4 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
_csstaLibWebCreateComponent('button', null, 'A', {});
_csstaDistWebCreateComponent('button', null, 'A', {});

@@ -1,4 +0,4 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
_csstaLibWebCreateComponent('button', null, 'A', {});
_csstaDistWebCreateComponent('button', null, 'A', {});

@@ -1,5 +0,5 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
_csstaLibWebCreateComponent('button', null, 'A', {
_csstaDistWebCreateComponent('button', null, 'A', {
'booleanAttribute': {

@@ -6,0 +6,0 @@ 'true': 'B'

@@ -1,8 +0,8 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
_csstaLibWebCreateComponent('button', null, 'A', {});
_csstaDistWebCreateComponent('button', null, 'A', {});
_csstaLibWebCreateComponent('span', null, 'B', {});
_csstaDistWebCreateComponent('span', null, 'B', {});
_csstaLibWebCreateComponent('div', null, 'C', {});
_csstaDistWebCreateComponent('div', null, 'C', {});
import { StyleSheet as _StyleSheet } from 'react-native';
import _csstaLibNativeCreateComponent from 'cssta/lib/native/createComponent';
import _csstaDistNativeCreateComponent from 'cssta/dist/native/createComponent';
import _cssToReactNative from 'css-to-react-native';

@@ -24,3 +24,3 @@

_csstaLibNativeCreateComponent(View, ['attr1', 'attr2', 'attr3'], [{
_csstaDistNativeCreateComponent(View, ['attr1', 'attr2', 'attr3'], [{
'validator': function (p) {

@@ -27,0 +27,0 @@ return !!p['attr1'];

import { StyleSheet as _StyleSheet } from 'react-native';
import _csstaLibNativeCreateComponent from 'cssta/lib/native/createComponent';
import _csstaDistNativeCreateComponent from 'cssta/dist/native/createComponent';

@@ -21,3 +21,3 @@ import { View } from 'react-native';

_csstaLibNativeCreateComponent(View, ['booleanAttribute', 'stringAttribute'], [{
_csstaDistNativeCreateComponent(View, ['booleanAttribute', 'stringAttribute'], [{
'validator': function (p) {

@@ -24,0 +24,0 @@ return true;

import { StyleSheet as _StyleSheet } from 'react-native';
import _csstaLibNativeCreateComponent from 'cssta/lib/native/createComponent';
import _csstaDistNativeCreateComponent from 'cssta/dist/native/createComponent';
import _cssToReactNative from 'css-to-react-native';

@@ -23,3 +23,3 @@

_csstaLibNativeCreateComponent(View, ['attr1', 'attr2', 'attr3'], [{
_csstaDistNativeCreateComponent(View, ['attr1', 'attr2', 'attr3'], [{
'validator': function (p) {

@@ -26,0 +26,0 @@ return !!p['attr1'];

import { StyleSheet as _StyleSheet } from 'react-native';
import _csstaLibNativeCreateComponent from 'cssta/lib/native/createComponent';
import _csstaDistNativeCreateComponent from 'cssta/dist/native/createComponent';

@@ -17,3 +17,3 @@ import { View } from 'react-native';

_csstaLibNativeCreateComponent(View, [], [{
_csstaDistNativeCreateComponent(View, [], [{
'validator': function (p) {

@@ -20,0 +20,0 @@ return true;

import { StyleSheet as _StyleSheet } from 'react-native';
import _csstaLibNativeCreateComponent from 'cssta/lib/native/createComponent';
import _csstaDistNativeCreateComponent from 'cssta/dist/native/createComponent';

@@ -24,3 +24,3 @@ import { View } from 'react-native';

_csstaLibNativeCreateComponent(View, ['attr1', 'attr2', 'attr3'], [{
_csstaDistNativeCreateComponent(View, ['attr1', 'attr2', 'attr3'], [{
'validator': function (p) {

@@ -27,0 +27,0 @@ return !!p['attr1'];

import { StyleSheet as _StyleSheet } from 'react-native';
import _csstaLibNativeCreateComponent from 'cssta/lib/native/createComponent';
import _csstaDistNativeCreateComponent from 'cssta/dist/native/createComponent';

@@ -12,3 +12,3 @@ import { View } from 'react-native';

_csstaLibNativeCreateComponent(View, [], [{
_csstaDistNativeCreateComponent(View, [], [{
'validator': function (p) {

@@ -15,0 +15,0 @@ return true;

@@ -1,5 +0,5 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
_csstaLibWebCreateComponent('button', null, null, {
_csstaDistWebCreateComponent('button', null, null, {
'stringAttribute': {

@@ -6,0 +6,0 @@ '1': 'A',

@@ -1,4 +0,4 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
_csstaLibWebCreateComponent('button', null, 'A', {});
_csstaDistWebCreateComponent('button', null, 'A', {});

@@ -1,4 +0,4 @@

import _csstaLibWebCreateComponent from 'cssta/lib/web/createComponent';
import _csstaDistWebCreateComponent from 'cssta/dist/web/createComponent';
_csstaLibWebCreateComponent('button', null, 'A', {});
_csstaDistWebCreateComponent('button', null, 'A', {});
{
"name": "babel-plugin-cssta",
"version": "0.2.1",
"version": "0.2.2",
"description": "",

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

@@ -234,3 +234,3 @@ /* eslint-disable no-param-reassign */

state,
'cssta/lib/native/createComponent',
'cssta/dist/native/createComponent',
'default'

@@ -237,0 +237,0 @@ );

@@ -113,3 +113,3 @@ /* eslint-disable no-param-reassign */

state,
'cssta/lib/web/createComponent',
'cssta/dist/web/createComponent',
'default'

@@ -116,0 +116,0 @@ );

@@ -78,4 +78,4 @@ /* eslint-disable no-param-reassign */

'css-to-react-native': ['default'],
'cssta/lib/web/createComponent': ['default'],
'cssta/lib/native/createComponent': ['default'],
'cssta/dist/web/createComponent': ['default'],
'cssta/dist/native/createComponent': ['default'],
};

@@ -82,0 +82,0 @@

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