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

rexml

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rexml - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

build/index.js

@@ -35,4 +35,4 @@ const mismatch = require('mismatch');

const matches = mismatch(re, string, ['attributes', 'v', 'v1', 'v2', 'content'])
const res = matches.map(({ attributes = '', content = '' }) => {
const matches = mismatch(re, string, ['a', 'v', 'v1', 'v2', 'c'])
const res = matches.map(({ 'a': attributes = '', 'c': content = '' }) => {
const attrs = attributes.replace(/\/$/, '').trim()

@@ -53,3 +53,3 @@ const props = extractProps(attrs)

const props = m
.reduce((acc, { key, val }) => {
.reduce((acc, { 'key': key, 'val': val }) => {
if (!val) {

@@ -56,0 +56,0 @@ acc[key] = true

@@ -0,1 +1,7 @@

## 20 June 2019
### [2.0.2](https://github.com/artdecocode/rexml/compare/v2.0.1...v2.0.2)
- [fix] Quote `mismatch` properties for _Depack_.
## 14 June 2019

@@ -2,0 +8,0 @@

{
"name": "rexml",
"version": "2.0.1",
"version": "2.0.2",
"description": "Simple XML parsing with a regular expression.",

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

@@ -35,4 +35,4 @@ import mismatch from 'mismatch'

const matches = mismatch(re, string, ['attributes', 'v', 'v1', 'v2', 'content'])
const res = matches.map(({ attributes = '', content = '' }) => {
const matches = mismatch(re, string, ['a', 'v', 'v1', 'v2', 'c'])
const res = matches.map(({ 'a': attributes = '', 'c': content = '' }) => {
const attrs = attributes.replace(/\/$/, '').trim()

@@ -53,3 +53,3 @@ const props = extractProps(attrs)

const props = m
.reduce((acc, { key, val }) => {
.reduce((acc, { 'key': key, 'val': val }) => {
if (!val) {

@@ -56,0 +56,0 @@ acc[key] = true

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