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

xml-js

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xml-js - npm Package Compare versions

Comparing version 1.6.7 to 1.6.8

0

bin/cli-helper.js

@@ -0,0 +0,0 @@ module.exports = {

@@ -0,0 +0,0 @@ {

module.exports = require('./lib');

@@ -0,0 +0,0 @@ module.exports = {

@@ -0,0 +0,0 @@ /*jslint node:true */

@@ -0,0 +0,0 @@ var js2xml = require('./js2xml.js');

@@ -0,0 +0,0 @@ var helper = require('./options-helper');

2

package.json
{
"name": "xml-js",
"version": "1.6.7",
"version": "1.6.8",
"description": "A convertor between XML text and Javascript object / JSON text.",

@@ -5,0 +5,0 @@ "repository": {

@@ -56,2 +56,28 @@ export interface Attributes {

captureSpacesBetweenElements?: boolean
doctypeFn?: (value: string, parentElement: string) => void;
instructionFn?: (
instructionValue: string,
instructionName: string,
parentElement: string
) => void;
cdataFn?: (value: string, parentElement: string) => void;
commentFn?: (value: string, parentElement: string) => void;
textFn?: (value: string, parentElement: string) => void;
instructionNameFn?: (
instructionName: string,
instructionValue: string,
parentElement: string
) => void;
elementNameFn?: (value: string, parentElement: string) => void;
attributeNameFn?: (
attributeName: string,
attributeValue: string,
parentElement: string
) => void;
attributeValueFn?: (
attributeValue: string,
attributeName: string,
parentElement: string
) => void;
attributesFn?: (value: string, parentElement: string) => void;
}

@@ -68,2 +94,33 @@

noQuotesForNativeAttributes?: boolean
doctypeFn?: (value: string, currentElementName: string, currentElementObj: object) => void;
instructionFn?: (
instructionValue: string,
instructionName: string,
currentElementName: string,
currentElementObj: object
) => void;
cdataFn?: (value: string, currentElementName: string, currentElementObj: object) => void;
commentFn?: (value: string, currentElementName: string, currentElementObj: object) => void;
textFn?: (value: string, currentElementName: string, currentElementObj: object) => void;
instructionNameFn?: (
instructionName: string,
instructionValue: string,
currentElementName: string,
currentElementObj: object
) => void;
elementNameFn?: (value: string, currentElementName: string, currentElementObj: object) => void;
attributeNameFn?: (
attributeName: string,
attributeValue: string,
currentElementName: string,
currentElementObj: object
) => void;
attributeValueFn?: (
attributeValue: string,
attributeName: string,
currentElementName: string,
currentElementObj: object
) => void;
attributesFn?: (value: string, currentElementName: string, currentElementObj: object) => void;
fullTagEmptyElementFn?: (currentElementName: string, currentElementObj: object) => void;
}

@@ -70,0 +127,0 @@

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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