@rip-lang/print 1.1.50 → 1.1.52

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 +0 -13
  2. package/package.json +2 -2
package/hljs-rip.js CHANGED
@@ -1,5 +1,4 @@
1
1
  // highlight.js language definition for Rip
2
- // https://github.com/nicholasgasior/ghljs
3
2
 
4
3
  export default function(hljs) {
5
4
  const KEYWORDS = [
@@ -170,18 +169,6 @@ export default function(hljs) {
170
169
  relevance: 0,
171
170
  };
172
171
 
173
- const TYPE_ANNOTATION = {
174
- className: 'type',
175
- begin: /::=?\s*/,
176
- end: /$/,
177
- excludeBegin: true,
178
- contains: [
179
- { className: 'type', begin: /\b(?:number|string|boolean|void|any|never|unknown|object|symbol|bigint)\b/ },
180
- { className: 'title.class', begin: /[A-Z][\w]*/ },
181
- ],
182
- relevance: 0,
183
- };
184
-
185
172
  const TYPE_KEYWORDS = {
186
173
  className: 'type',
187
174
  begin: /\b(?:number|string|boolean|void|any|never|unknown|object|symbol|bigint)\b/,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/print",
3
- "version": "1.1.50",
3
+ "version": "1.1.52",
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.70",
32
+ "rip-lang": ">=3.13.71",
33
33
  "highlight.js": "^11.11.1"
34
34
  },
35
35
  "files": [