@journeyapps/core-xml
Advanced tools
Comparing version 0.0.0-dev.bb22ffe to 0.0.0-dev.bc44788
@@ -1,3 +0,3 @@ | ||
import { XMLSerializer } from '@journeyapps/domparser'; | ||
import { DOMImplementation, XMLDocument, XMLDOMParser, XMLElement, XMLPosition } from '@journeyapps/domparser/types'; | ||
import { XMLElement, XMLPosition, XMLDocument } from '@journeyapps/domparser/types'; | ||
import { XMLDOMParser, XMLSerializer, DOMImplementation } from '@journeyapps/domparser/types'; | ||
import { AttributeNode } from './utils'; | ||
@@ -4,0 +4,0 @@ export interface ConfiguredParser { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.childContent = exports.childNode = exports.documentToText = exports.createDocument = exports.parse = exports.configureParser = exports.getParser = exports.validateChildren = exports.children = exports.attribute = exports.parseElement = exports.warning = exports.error = exports.attributeNode = exports.elementTextPosition = exports.attributeValuePosition = exports.getPosition = exports.getAttribute = void 0; | ||
const domparser_1 = require("@journeyapps/domparser"); | ||
const utils_1 = require("./utils"); | ||
@@ -386,3 +385,3 @@ let configuredParser = null; | ||
parser: new DOMParser(), | ||
serializer: new domparser_1.XMLSerializer() | ||
serializer: new XMLSerializer() | ||
}); | ||
@@ -389,0 +388,0 @@ } |
{ | ||
"name": "@journeyapps/core-xml", | ||
"version": "0.0.0-dev.bb22ffe", | ||
"version": "0.0.0-dev.bc44788", | ||
"description": "Journey XML library", | ||
@@ -8,7 +8,2 @@ "main": "./dist/src/node.js", | ||
"typings": "./dist/@types/src/index", | ||
"files": [ | ||
"dist/src", | ||
"dist/@types", | ||
"domparser.js" | ||
], | ||
"dependencies": { | ||
@@ -19,12 +14,15 @@ "@journeyapps/domparser": "^0.4.1", | ||
"devDependencies": { | ||
"jsdom": "^24.0.0", | ||
"stream-browserify": "^3.0.0" | ||
"@journeyapps/core-test-helpers": "^0.0.0-dev.bc44788" | ||
}, | ||
"files": [ | ||
"dist/src", | ||
"dist/@types", | ||
"domparser.js" | ||
], | ||
"scripts": { | ||
"build": "../node_modules/.bin/tsc --build", | ||
"clean": "tsc -b --clean && rm -rf ./dist", | ||
"test": "pnpm build && pnpm test:node && pnpm test:browser", | ||
"test:browser": "vitest --run --config vitest.config.browser.ts ", | ||
"test:node": "vitest --run --config vitest.config.unit.ts" | ||
"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
1
153467
37
1394