@journeyapps/core-xml
Advanced tools
Comparing version 0.0.0-dev.cc8889c to 0.0.0-dev.cc89366
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155535
39
1437
+ Added@journeyapps/domparser@0.4.1(transitive)
- Removed@journeyapps/domparser@0.3.0(transitive)