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

@grammar/xml

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grammar/xml - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

LICENSE.txt

26

modules/grammar-xml.d.ts

@@ -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

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