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

@journeyapps/core-xml

Package Overview
Dependencies
Maintainers
2
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@journeyapps/core-xml - npm Package Compare versions

Comparing version 0.0.0-dev.cc8889c to 0.0.0-dev.cc89366

./dist/src/index.js

2

dist/@types/src/ElementBuilder.d.ts

@@ -16,2 +16,2 @@ import { XMLElement } from '@journeyapps/domparser/types';

}
export declare type UpdateFunction = (element: XMLElement) => void;
export type UpdateFunction = (element: XMLElement) => void;
import { XMLNode, XMLSerializer } from '@journeyapps/domparser/types';
import { XMLNodeLike } from '@journeyapps/domparser/lib/XMLNode';
declare type NodeFilter = (node: XMLNodeLike) => XMLNode | string;
type NodeFilter = (node: XMLNodeLike) => XMLNode | string;
export declare const serializer: XMLSerializer;
export declare function serialize(node: XMLNodeLike, nodeFilter?: NodeFilter): string;
export {};

@@ -30,3 +30,3 @@ import { XMLElement, XMLPosition, XMLDocument } from '@journeyapps/domparser/types';

export declare function getAttribute(elem: XMLElement, key: string): string | null;
export declare type XMLPositional = XMLElement | AttributeNode | [XMLElement | AttributeNode, number, number] | XMLRange;
export type XMLPositional = XMLElement | AttributeNode | [XMLElement | AttributeNode, number, number] | XMLRange;
export declare function getPosition(input: XMLPositional): XMLRange;

@@ -36,3 +36,3 @@ export declare function attributeValuePosition(element: XMLElement, attributeName: string, start: number, end: number): XMLRange;

export declare function attributeNode(element: XMLElement, attributeName: string): AttributeNode;
export declare type ErrorType = 'warning' | 'error';
export type ErrorType = 'warning' | 'error';
export declare function error(element: XMLPositional, message: string, type?: ErrorType): ValidationError;

@@ -39,0 +39,0 @@ export declare function warning(element: XMLPositional, message: string): ValidationError;

{
"name": "@journeyapps/core-xml",
"version": "0.0.0-dev.cc8889c",
"description": "Journey JS library",
"version": "0.0.0-dev.cc89366",
"description": "Journey XML library",
"main": "./dist/src/node.js",
"browser": "./dist/src/index.js",
"typings": "./dist/@types/src/index",
"scripts": {
"build": "../node_modules/.bin/tsc --build",
"test": "pnpm build && pnpm test:node && pnpm test:browser",
"test:browser": "karma start karma.conf.js --single-run",
"test:node": "jasmine dist/test/unit/all.js"
},
"dependencies": {
"@journeyapps/domparser": "^0.3.0",
"@journeyapps/domparser": "^0.4.1",
"xmldom": "^0.6.0"
},
"devDependencies": {
"@journeyapps/core-test-helpers": "^4.1.1"
"@journeyapps/core-test-helpers": "^0.0.0-dev.cc89366"
},

@@ -26,7 +20,8 @@ "files": [

],
"pnpm": {
"overrides": {
"@journeyapps/core-test-helpers": "link:../test-helpers"
}
"scripts": {
"build": "../node_modules/.bin/tsc --build",
"test": "pnpm build && pnpm test:node && pnpm test:browser",
"test:browser": "karma start karma.conf.js --single-run",
"test:node": "jasmine dist/test/unit/all.js"
}
}
}

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