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

@a-la/jsx

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a-la/jsx - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

1

build/lib/extract.js

@@ -26,2 +26,3 @@ const { SyncReplaceable, makeMarkers, makeCutRule } = require('restream');

const isSelfClosing = selfClosing.startsWith('/')
|| p.endsWith('/') // non-greedy regex is greedy for (/>|>)
if (!contentStart) {

@@ -28,0 +29,0 @@ contentStart = m.length

4

build/lib/index.js

@@ -177,4 +177,4 @@ let mismatch = require('mismatch'); if (mismatch && mismatch.__esModule) mismatch = mismatch.default;

const ld = length - chunk.length
if (ld < 0)
console.warn('The chunks length is more that replaced input')
// if (ld < 0)
// console.warn('The chunks length is more that replaced input')
// throw new Error('The length of the chunk cannot be more than of the replaced value.')

@@ -181,0 +181,0 @@ let p = chunk

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

## 12 December 2018
### 1.1.1
- [fix] Process self-closing with a space before `/`.
- [fix] Disable length warning.
## 11 December 2018

@@ -2,0 +9,0 @@

{
"name": "@a-la/jsx",
"version": "1.1.0",
"version": "1.1.1",
"description": "The JSX Transform For ÀLaMode And Other Packages.",

@@ -5,0 +5,0 @@ "main": "build",

@@ -57,2 +57,4 @@ # @a-la/jsx

```jsx
import RichTextArea from 'richtext'
const Title = <title>Example</title>

@@ -71,2 +73,3 @@

<Title/>
<RichTextArea />
<p {...props} align={align}>

@@ -81,2 +84,4 @@ Hello World!

```js
import RichTextArea from 'richtext'
const Title = h('title',{},`Example`)

@@ -95,2 +100,3 @@

`,h(Title),`
`,h(RichTextArea),`
`,h('p',{...props,align:align},`

@@ -97,0 +103,0 @@ Hello World!

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