New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

codemirror-lang-log

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codemirror-lang-log - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

6

dist/index.d.ts
import { LRLanguage, LanguageSupport } from '@codemirror/language';
declare const EXAMPLELanguage: LRLanguage;
declare function EXAMPLE(): LanguageSupport;
export { EXAMPLELanguage, EXAMPLE };
declare const logLanguage: LRLanguage;
declare function log(): LanguageSupport;
export { logLanguage, log };
import { LRParser } from '@lezer/lr';
import { LRLanguage, indentNodeProp, delimitedIndent, foldNodeProp, foldInside, LanguageSupport } from '@codemirror/language';
import { LRLanguage, LanguageSupport } from '@codemirror/language';
import { styleTags, tags } from '@lezer/highlight';

@@ -8,46 +8,29 @@

version: 14,
states: "!WQYQPOOOhQPO'#CdOOQO'#Ci'#CiOOQO'#Ce'#CeQYQPOOOOQO,59O,59OOyQPO,59OOOQO-E6c-E6cOOQO1G.j1G.j",
stateData: "![~O[OSPOS~ORQOSQOTQOVPO~ORQOSQOTQOUTOVPO~ORQOSQOTQOUWOVPO~O",
goto: "u^PPPPPPPP_ePPPoXQOPSUQSOQUPTVSUXROPSU",
nodeNames: "⚠ LineComment Program Identifier String Boolean ) ( Application",
maxTerm: 13,
nodeProps: [
["openedBy", 6,"("],
["closedBy", 7,")"]
],
skippedNodes: [0,1],
states: "hQQOPOOQQOPOOOOOO'#C_'#C_OOOO-E6]-E6]",
stateData: "V~OQQO~O",
goto: "ZSPPPTQPORRP",
nodeNames: "⚠ Program Date",
maxTerm: 4,
skippedNodes: [0],
repeatNodeCount: 1,
tokenData: "%c~R^XY}YZ}]^}pq}rs!`st#|xy$[yz$a}!O$f!Q![$f!]!^$z!c!}$f#R#S$f#T#o$f~!SS[~XY}YZ}]^}pq}~!cVOr!`rs!xs#O!`#O#P!}#P;'S!`;'S;=`#v<%lO!`~!}OS~~#QRO;'S!`;'S;=`#Z;=`O!`~#^WOr!`rs!xs#O!`#O#P!}#P;'S!`;'S;=`#v;=`<%l!`<%lO!`~#yP;=`<%l!`~$PQ#Y#Z$V#h#i$V~$[OT~~$aOV~~$fOU~~$kTR~}!O$f!Q![$f!c!}$f#R#S$f#T#o$f~%PSP~OY$zZ;'S$z;'S;=`%]<%lO$z~%`P;=`<%l$z",
tokenData: "#k~RP!Q![U~XP!Q![[~_P!Q![b~eP!Q![h~kP}!On~qP!Q![t~wP!Q![z~}P}!O!Q~!TP!Q![!W~!ZP!Q![!^~!aPpq!d~!gP!Q![!j~!mP!Q![!p~!sP![!]!v~!yP!Q![!|~#PP!Q![#S~#VP![!]#Y~#]P!Q![#`~#cP!Q![#f~#kOQ~",
tokenizers: [0],
topRules: {"Program":[0,2]},
topRules: {"Program":[0,1]},
tokenPrec: 0
});
const EXAMPLELanguage = LRLanguage.define({
const logLanguage = LRLanguage.define({
name: 'log',
parser: parser.configure({
props: [
indentNodeProp.add({
Application: delimitedIndent({ closing: ')', align: false }),
}),
foldNodeProp.add({
Application: foldInside,
}),
styleTags({
Identifier: tags.variableName,
Boolean: tags.bool,
String: tags.string,
LineComment: tags.lineComment,
'( )': tags.paren,
Date: tags.string,
}),
],
}),
languageData: {
commentTokens: { line: ';' },
},
});
function EXAMPLE() {
return new LanguageSupport(EXAMPLELanguage);
function log() {
return new LanguageSupport(logLanguage);
}
export { EXAMPLE, EXAMPLELanguage };
export { log, logLanguage };
{
"name": "codemirror-lang-log",
"version": "0.1.0",
"version": "0.2.0",
"description": "log language support for CodeMirror",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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