@rip-lang/print 1.1.74 → 1.1.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/hljs-rip.js +2 -2
  2. package/package.json +2 -2
package/hljs-rip.js CHANGED
@@ -14,7 +14,7 @@ export default function(hljs) {
14
14
  'delete', 'typeof', 'instanceof', 'new', 'super',
15
15
  'and', 'or', 'not', 'is', 'isnt',
16
16
  // Declarations
17
- 'class', 'def', 'enum', 'interface', 'extends', 'own',
17
+ 'class', 'def', 'enum', 'interface', 'type', 'extends', 'own',
18
18
  // Iteration
19
19
  'in', 'of', 'by', 'as',
20
20
  // Component system
@@ -165,7 +165,7 @@ export default function(hljs) {
165
165
 
166
166
  const OPERATORS = {
167
167
  className: 'operator',
168
- begin: /\|>|::=|::|:=|~=|~>|<=>|\.=|=!|!\?|\?!|=~|\?\?=|\?\?|\?\.|\.\.\.|\.\.|=>|->|\*\*|\/\/|%%|===|!==|==|!=|<=|>=|&&|\|\||[+\-*\/%&|^~<>=!?]/,
168
+ begin: /\|>|::|:=|~=|~>|<=>|\.=|=!|!\?|\?!|=~|\?\?=|\?\?|\?\.|\.\.\.|\.\.|=>|->|\*\*|\/\/|%%|===|!==|==|!=|<=|>=|&&|\|\||[+\-*\/%&|^~<>=!?]/,
169
169
  relevance: 0,
170
170
  };
171
171
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/print",
3
- "version": "1.1.74",
3
+ "version": "1.1.76",
4
4
  "description": "Syntax-highlighted source code printer - highlight.js-powered, serves once, auto-opens browser",
5
5
  "type": "module",
6
6
  "main": "print.rip",
@@ -29,7 +29,7 @@
29
29
  "author": "Steve Shreeve <steve.shreeve@gmail.com>",
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "rip-lang": ">=3.13.92",
32
+ "rip-lang": ">=3.13.94",
33
33
  "highlight.js": "^11.11.1"
34
34
  },
35
35
  "files": [