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

njsx

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

njsx - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

package.json
{
"name": "njsx",
"version": "2.0.0",
"version": "2.0.1",
"description": "No-JSX: A customizable interface for creating React and React-Native components without JSX syntax.",

@@ -8,3 +8,3 @@ "repository": "uqbar-project/njsx",

"test": "mocha --compilers js:babel-register",
"release": "rm -r lib && babel --presets react-native src -d lib && cp -t ./lib/ ./package.json ./README.md && cd lib && npm publish ./"
"release": "rm -rf lib && babel --presets react-native src -d lib && cp -t ./lib/ ./package.json ./README.md && cd lib && npm publish ./"
},

@@ -11,0 +11,0 @@ "dependencies": {

@@ -16,3 +16,3 @@ Object.defineProperty(exports,"__esModule",{value:true});exports.ViewPagerAndroid=exports.View=exports.TouchableWithoutFeedback=exports.TouchableOpacity=exports.TouchableNativeFeedback=exports.TouchableHighlight=exports.ToolbarAndroid=exports.TextInput=exports.Text=exports.TabBarIOSItem=exports.TabBarIOS=exports.Switch=exports.StatusBar=exports.SnapshotViewIOS=exports.Slider=exports.SegmentedControlIOS=exports.ScrollView=exports.RefreshControl=exports.ProgressViewIOS=exports.ProgressBarAndroid=exports.PickerIOS=exports.Picker=exports.NavigatorIOS=exports.Navigator=exports.Modal=exports.MapView=exports.ListView=exports.KeyboardAvoidingView=exports.Image=exports.DrawerLayoutAndroid=exports.DatePickerIOS=exports.Button=exports.ActivityIndicator=exports.DEFAULT_REACT_NATIVE_RULES=undefined;var _reactNative=require('react-native');var _reactNative2=_interopRequireDefault(_reactNative);

_njsx2.default.rules=DEFAULT_REACT_NATIVE_RULES;
_njsx2.default.rules=_njsx2.default.rules||DEFAULT_REACT_NATIVE_RULES;

@@ -19,0 +19,0 @@ var ActivityIndicator=exports.ActivityIndicator=(0,_njsx2.default)(_reactNative2.default.ActivityIndicator);

@@ -16,4 +16,4 @@ Object.defineProperty(exports,"__esModule",{value:true});exports.tspan=exports.text=exports.svg=exports.stop=exports.rect=exports.radialGradient=exports.polyline=exports.polygon=exports.pattern=exports.path=exports.mask=exports.linearGradient=exports.line=exports.image=exports.g=exports.ellipse=exports.defs=exports.clipPath=exports.circle=exports.wbr=exports.video=exports.variable=exports.ul=exports.u=exports.track=exports.tr=exports.title=exports.time=exports.thead=exports.th=exports.tfoot=exports.textarea=exports.td=undefined;exports.tbody=exports.table=exports.sup=exports.summary=exports.sub=exports.style=exports.strong=exports.span=exports.source=exports.small=exports.select=exports.section=exports.script=exports.samp=exports.s=exports.ruby=exports.rt=exports.rp=exports.q=exports.progress=exports.pre=exports.picture=exports.param=exports.p=exports.output=exports.option=exports.optgroup=exports.ol=exports.object=exports.noscript=exports.nav=exports.meter=exports.meta=exports.menuitem=exports.menu=exports.mark=exports.map=exports.main=exports.link=exports.li=exports.legend=exports.label=exports.keygen=exports.kbd=exports.ins=exports.input=exports.img=exports.iframe=exports.i=exports.html=exports.hr=exports.hgroup=exports.header=exports.head=exports.h6=exports.h5=exports.h4=exports.h3=exports.h2=exports.h1=exports.form=exports.footer=exports.figure=exports.figcaption=exports.fieldset=exports.embed=exports.em=exports.dt=exports.dl=exports.div=exports.dialog=exports.dfn=exports.details=exports.del=exports.dd=exports.datalist=exports.data=exports.colgroup=exports.col=exports.code=exports.cite=exports.caption=exports.canvas=exports.button=exports.br=exports.body=exports.blockquote=exports.big=exports.bdo=exports.bdi=exports.base=exports.b=exports.audio=exports.aside=exports.article=exports.area=exports.address=exports.abbr=exports.a=exports.DEFAULT_REACT_RULES=undefined;var _njsx=require('./njsx');var _njsx2=_interopRequireDefault(_njsx);

_njsx2.default.rules=DEFAULT_REACT_RULES;
_njsx2.default.dynamicSelectorHandler=_rules2.default.STRING_AS_CLASS.apply;
_njsx2.default.rules=_njsx2.default.rules||DEFAULT_REACT_RULES;
_njsx2.default.dynamicSelectorHandler=_njsx2.default.dynamicSelectorHandler||_rules2.default.STRING_AS_CLASS.apply;

@@ -20,0 +20,0 @@

@@ -107,5 +107,5 @@ No-JSX

//all these yield the same component
p('.highlighted.small')("hello!")
p.highlighted.small("hello!")
p("hello!").highlighted.small
p['highlighted small']("hello!")
p("hello!").highlighted['.small']
<p className="highlighted small">hello!</p>

@@ -112,0 +112,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