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

react-native-syntax-highlighter

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-syntax-highlighter - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

dist/index.js

@@ -50,2 +50,4 @@ 'use strict';

newStyle.backgroundColor = value;
} else if (key === 'display') {
return newStyle;
} else {

@@ -52,0 +54,0 @@ newStyle[key] = value;

2

package.json
{
"name": "react-native-syntax-highlighter",
"version": "1.0.0",
"version": "1.1.0",
"description": "a react native component for syntax highlighting",

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

@@ -8,2 +8,4 @@ ## React Native Syntax Highlighter

You can try it out with <a href='https://expo.io'>Expo</a> <a href='https://expo.io/@conor/test-native-syntax'>here</a>
### Install

@@ -10,0 +12,0 @@

@@ -20,2 +20,5 @@ import React from 'react';

}
else if (key === 'display') {
return newStyle;
}
else {

@@ -48,4 +51,4 @@ newStyle[key] = value;

return (
<Text
key={key}
<Text
key={key}
style={Object.assign({ color: defaultColor }, startingStyle)}

@@ -61,4 +64,4 @@ >

Object.assign(
{ color: defaultColor },
properties.style,
{ color: defaultColor },
properties.style,
startingStyle

@@ -96,4 +99,4 @@ ),

horizontal={true}
renderer={(nativeRenderer({
defaultColor,
renderer={(nativeRenderer({
defaultColor,
fontFamily,

@@ -100,0 +103,0 @@ fontSize

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