@grammar/xml
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -16,3 +16,4 @@ import spellu from './spellu-engine'; | ||
CDataSection = "xml.CDataSection", | ||
CommentSection = "xml.CommentSection" | ||
CommentSection = "xml.CommentSection", | ||
Attribute = "xml.Attribute" | ||
} | ||
@@ -74,6 +75,6 @@ const enum Syntax { | ||
} | ||
type Attribute = { | ||
interface Attribute extends Node { | ||
name: Token; | ||
value: Token; | ||
}; | ||
} | ||
} | ||
@@ -86,11 +87,16 @@ /** | ||
} | ||
declare namespace grammar$xml.machines { | ||
const stacked: spellu.Machine; | ||
const flat: spellu.Machine; | ||
const extracted: spellu.Machine; | ||
const raw: spellu.Machine; | ||
declare namespace grammar$xml.processors { | ||
const stacked: spellu.Processor; | ||
const extracted: spellu.Processor; | ||
const raw: spellu.Processor; | ||
} | ||
declare namespace grammar$xml { | ||
function prepare(machine?: spellu.Machine): spellu.Module; | ||
function build(source: spellu.Source, machine?: spellu.Machine): Document | null; | ||
enum ProcessorKind { | ||
Stacked = "stacked", | ||
Extracted = "extracted", | ||
Raw = "raw" | ||
} | ||
function prepare(processor?: ProcessorKind): spellu.Board; | ||
function build<V = StyleSheet>(source: spellu.Source, processor?: ProcessorKind): V | null; | ||
function tokens(source: spellu.Source): Token[] | null; | ||
} | ||
@@ -97,0 +103,0 @@ declare namespace grammar$xml { |
{ | ||
"name": "@grammar/xml", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "XML 1.1 grammar.", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@spellu/engine": "*" | ||
"@spellu/engine": "^0.1.1" | ||
}, | ||
@@ -31,3 +31,3 @@ "scripts": { | ||
}, | ||
"gitHead": "22c3512b77ca6b04225feda783f9858b7f799ca7" | ||
"gitHead": "6a75afcfce0050588b0485785b3fee6719dfa0a6" | ||
} |
@@ -22,4 +22,4 @@ #!/usr/bin/env node | ||
if (!fs.existsSync(localPath)) { | ||
fs.linkSync(modulePath, localPath) | ||
console.log(`Create link "${localPath}".`) | ||
fs.symlinkSync(fspath.relative(localDir, modulePath), localPath) | ||
console.log(`Create symlink "${localPath}".`) | ||
} | ||
@@ -26,0 +26,0 @@ } |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
24024
7
2
415
+ Added@spellu/engine@0.1.1(transitive)
- Removed@spellu/engine@0.7.6(transitive)
Updated@spellu/engine@^0.1.1