jupyterlab-git-syntax-extension 1.0.6__py3-none-any.whl
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.
- jupyterlab_git_syntax_extension/__init__.py +16 -0
- jupyterlab_git_syntax_extension/_version.py +4 -0
- jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/install.json +5 -0
- jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/package.json +204 -0
- jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/200.fbca87403fcfaeeebc52.js +1 -0
- jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/728.484defc75a337949b294.js +1 -0
- jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/remoteEntry.906a423986be554c3fea.js +1 -0
- jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/style.js +4 -0
- jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/third-party-licenses.json +16 -0
- jupyterlab_git_syntax_extension-1.0.6.dist-info/METADATA +103 -0
- jupyterlab_git_syntax_extension-1.0.6.dist-info/RECORD +13 -0
- jupyterlab_git_syntax_extension-1.0.6.dist-info/WHEEL +4 -0
- jupyterlab_git_syntax_extension-1.0.6.dist-info/licenses/LICENSE +29 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
try:
|
|
2
|
+
from ._version import __version__
|
|
3
|
+
except ImportError:
|
|
4
|
+
# Fallback when using the package in dev mode without installing
|
|
5
|
+
# in editable mode with pip. It is highly recommended to install
|
|
6
|
+
# the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
|
|
7
|
+
import warnings
|
|
8
|
+
warnings.warn("Importing 'jupyterlab_git_syntax_extension' outside a proper installation.")
|
|
9
|
+
__version__ = "dev"
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _jupyter_labextension_paths():
|
|
13
|
+
return [{
|
|
14
|
+
"src": "labextension",
|
|
15
|
+
"dest": "jupyterlab_git_syntax_extension"
|
|
16
|
+
}]
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jupyterlab_git_syntax_extension",
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Jupyterlab extension to add syntax highlighting to various git files such as gitmodules, gitignore etc",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"jupyter",
|
|
7
|
+
"jupyterlab",
|
|
8
|
+
"jupyterlab-extension"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/stellarshenson/jupyterlab_git_syntax_extension",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/stellarshenson/jupyterlab_git_syntax_extension/issues"
|
|
13
|
+
},
|
|
14
|
+
"license": "BSD-3-Clause",
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "Stellars Henson",
|
|
17
|
+
"email": "konrad.jelen@gmail.com"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
|
|
21
|
+
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
|
|
22
|
+
"src/**/*.{ts,tsx}"
|
|
23
|
+
],
|
|
24
|
+
"main": "lib/index.js",
|
|
25
|
+
"types": "lib/index.d.ts",
|
|
26
|
+
"style": "style/index.css",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/stellarshenson/jupyterlab_git_syntax_extension.git"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "jlpm build:lib && jlpm build:labextension:dev",
|
|
33
|
+
"build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
|
|
34
|
+
"build:labextension": "jupyter labextension build .",
|
|
35
|
+
"build:labextension:dev": "jupyter labextension build --development True .",
|
|
36
|
+
"build:lib": "tsc --sourceMap",
|
|
37
|
+
"build:lib:prod": "tsc",
|
|
38
|
+
"clean": "jlpm clean:lib",
|
|
39
|
+
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
|
|
40
|
+
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
|
|
41
|
+
"clean:labextension": "rimraf jupyterlab_git_syntax_extension/labextension jupyterlab_git_syntax_extension/_version.py",
|
|
42
|
+
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
|
|
43
|
+
"eslint": "jlpm eslint:check --fix",
|
|
44
|
+
"eslint:check": "eslint . --cache --ext .ts,.tsx",
|
|
45
|
+
"install:extension": "jlpm build",
|
|
46
|
+
"lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
|
|
47
|
+
"lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
|
|
48
|
+
"prettier": "jlpm prettier:base --write --list-different",
|
|
49
|
+
"prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
|
|
50
|
+
"prettier:check": "jlpm prettier:base --check",
|
|
51
|
+
"stylelint": "jlpm stylelint:check --fix",
|
|
52
|
+
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
|
|
53
|
+
"test": "jest --coverage",
|
|
54
|
+
"watch": "run-p watch:src watch:labextension",
|
|
55
|
+
"watch:src": "tsc -w --sourceMap",
|
|
56
|
+
"watch:labextension": "jupyter labextension watch ."
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@codemirror/language": "^6.0.0",
|
|
60
|
+
"@jupyterlab/application": "^4.0.0",
|
|
61
|
+
"@jupyterlab/codemirror": "^4.0.0"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@jupyterlab/builder": "^4.0.0",
|
|
65
|
+
"@jupyterlab/testutils": "^4.0.0",
|
|
66
|
+
"@types/jest": "^29.2.0",
|
|
67
|
+
"@types/json-schema": "^7.0.11",
|
|
68
|
+
"@types/react": "^18.0.26",
|
|
69
|
+
"@types/react-addons-linked-state-mixin": "^0.14.22",
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
71
|
+
"@typescript-eslint/parser": "^6.1.0",
|
|
72
|
+
"css-loader": "^6.7.1",
|
|
73
|
+
"eslint": "^8.36.0",
|
|
74
|
+
"eslint-config-prettier": "^8.8.0",
|
|
75
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
76
|
+
"jest": "^29.2.0",
|
|
77
|
+
"npm-run-all2": "^7.0.1",
|
|
78
|
+
"prettier": "^3.0.0",
|
|
79
|
+
"rimraf": "^5.0.1",
|
|
80
|
+
"source-map-loader": "^1.0.2",
|
|
81
|
+
"style-loader": "^3.3.1",
|
|
82
|
+
"stylelint": "^15.10.1",
|
|
83
|
+
"stylelint-config-recommended": "^13.0.0",
|
|
84
|
+
"stylelint-config-standard": "^34.0.0",
|
|
85
|
+
"stylelint-csstree-validator": "^3.0.0",
|
|
86
|
+
"stylelint-prettier": "^4.0.0",
|
|
87
|
+
"typescript": "~5.8.0",
|
|
88
|
+
"yjs": "^13.5.0"
|
|
89
|
+
},
|
|
90
|
+
"resolutions": {
|
|
91
|
+
"lib0": "0.2.111"
|
|
92
|
+
},
|
|
93
|
+
"sideEffects": [
|
|
94
|
+
"style/*.css",
|
|
95
|
+
"style/index.js"
|
|
96
|
+
],
|
|
97
|
+
"styleModule": "style/index.js",
|
|
98
|
+
"publishConfig": {
|
|
99
|
+
"access": "public"
|
|
100
|
+
},
|
|
101
|
+
"jupyterlab": {
|
|
102
|
+
"extension": true,
|
|
103
|
+
"outputDir": "jupyterlab_git_syntax_extension/labextension",
|
|
104
|
+
"_build": {
|
|
105
|
+
"load": "static/remoteEntry.906a423986be554c3fea.js",
|
|
106
|
+
"extension": "./extension",
|
|
107
|
+
"style": "./style"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"eslintIgnore": [
|
|
111
|
+
"node_modules",
|
|
112
|
+
"dist",
|
|
113
|
+
"coverage",
|
|
114
|
+
"**/*.d.ts",
|
|
115
|
+
"tests",
|
|
116
|
+
"**/__tests__",
|
|
117
|
+
"ui-tests"
|
|
118
|
+
],
|
|
119
|
+
"eslintConfig": {
|
|
120
|
+
"extends": [
|
|
121
|
+
"eslint:recommended",
|
|
122
|
+
"plugin:@typescript-eslint/eslint-recommended",
|
|
123
|
+
"plugin:@typescript-eslint/recommended",
|
|
124
|
+
"plugin:prettier/recommended"
|
|
125
|
+
],
|
|
126
|
+
"parser": "@typescript-eslint/parser",
|
|
127
|
+
"parserOptions": {
|
|
128
|
+
"project": "tsconfig.json",
|
|
129
|
+
"sourceType": "module"
|
|
130
|
+
},
|
|
131
|
+
"plugins": [
|
|
132
|
+
"@typescript-eslint"
|
|
133
|
+
],
|
|
134
|
+
"rules": {
|
|
135
|
+
"@typescript-eslint/naming-convention": [
|
|
136
|
+
"error",
|
|
137
|
+
{
|
|
138
|
+
"selector": "interface",
|
|
139
|
+
"format": [
|
|
140
|
+
"PascalCase"
|
|
141
|
+
],
|
|
142
|
+
"custom": {
|
|
143
|
+
"regex": "^I[A-Z]",
|
|
144
|
+
"match": true
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"@typescript-eslint/no-unused-vars": [
|
|
149
|
+
"warn",
|
|
150
|
+
{
|
|
151
|
+
"args": "none"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
155
|
+
"@typescript-eslint/no-namespace": "off",
|
|
156
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
157
|
+
"@typescript-eslint/quotes": [
|
|
158
|
+
"error",
|
|
159
|
+
"single",
|
|
160
|
+
{
|
|
161
|
+
"avoidEscape": true,
|
|
162
|
+
"allowTemplateLiterals": false
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"curly": [
|
|
166
|
+
"error",
|
|
167
|
+
"all"
|
|
168
|
+
],
|
|
169
|
+
"eqeqeq": "error",
|
|
170
|
+
"prefer-arrow-callback": "error"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"prettier": {
|
|
174
|
+
"singleQuote": true,
|
|
175
|
+
"trailingComma": "none",
|
|
176
|
+
"arrowParens": "avoid",
|
|
177
|
+
"endOfLine": "auto",
|
|
178
|
+
"overrides": [
|
|
179
|
+
{
|
|
180
|
+
"files": "package.json",
|
|
181
|
+
"options": {
|
|
182
|
+
"tabWidth": 4
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
"stylelint": {
|
|
188
|
+
"extends": [
|
|
189
|
+
"stylelint-config-recommended",
|
|
190
|
+
"stylelint-config-standard",
|
|
191
|
+
"stylelint-prettier/recommended"
|
|
192
|
+
],
|
|
193
|
+
"plugins": [
|
|
194
|
+
"stylelint-csstree-validator"
|
|
195
|
+
],
|
|
196
|
+
"rules": {
|
|
197
|
+
"csstree/validator": true,
|
|
198
|
+
"property-no-vendor-prefix": null,
|
|
199
|
+
"selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
|
|
200
|
+
"selector-no-vendor-prefix": null,
|
|
201
|
+
"value-no-vendor-prefix": null
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkjupyterlab_git_syntax_extension=self.webpackChunkjupyterlab_git_syntax_extension||[]).push([[200],{200(e,t,n){n.r(t),n.d(t,{default:()=>g});var i=n(321),a=n(84);const r={name:"gitignore",startState:()=>({}),token:e=>{if(e.sol()&&"#"===e.peek())return e.skipToEnd(),"comment";if(e.sol()&&e.eat(/!/))return"keyword";if(e.eat(/\\/))return e.next(),"string";if("["===e.peek()){for(e.next();!e.eol();){if("]"===e.peek())return e.next(),"string.special";e.next()}return"string.special"}return e.match("**")||e.eat(/[*?]/)||e.eat(/\//)?"string.special":(e.next(),"string")}},o=new Set(["true","false","yes","no","on","off"]),s={name:"gitconfig",startState:()=>({inSectionHeader:!1,inValue:!1,continuationLine:!1}),token:(e,t)=>{if(e.sol()&&(t.continuationLine||(t.inValue=!1),t.continuationLine=!1),e.eatSpace())return null;if(t.inSectionHeader){if(e.eat(/]/))return t.inSectionHeader=!1,"bracket";if('"'===e.peek()){for(e.next();!e.eol();)if(e.eat(/\\/))e.next();else{if('"'===e.peek())return e.next(),"string";e.next()}return"string"}return e.match(/[a-zA-Z0-9._-]+/),"keyword"}if(e.sol()&&e.eat(/[#;]/))return e.skipToEnd(),"comment";if(!t.inValue&&e.eat(/[#;]/))return e.skipToEnd(),"comment";if(e.sol()&&e.eat(/\[/))return t.inSectionHeader=!0,"bracket";if(!t.inValue&&!t.inSectionHeader&&e.match(/[a-zA-Z][a-zA-Z0-9-]*/))return"property";if(!t.inValue&&e.eat(/=/))return t.inValue=!0,"operator";if(t.inValue){if(e.eol())return null;if('"'===e.peek()){for(e.next();!e.eol();)if(e.eat(/\\/))e.next();else{if('"'===e.peek())return e.next(),"string";e.next()}return"string"}if(e.match(/\s+[#;]/,!1)&&(e.eatSpace(),e.eat(/[#;]/)))return e.skipToEnd(),"comment";if(e.match(/\b(true|false|yes|no|on|off)\b/i)){const t=e.current().trim().toLowerCase();if(o.has(t))return"atom"}return e.match(/\d+[kKmMgG]?\b/)?"number":e.match(/\\$/)?(t.continuationLine=!0,"string"):(e.next(),"string")}return e.next(),null}},u={name:"gitattributes",startState:()=>({patternConsumed:!1}),token:(e,t)=>(e.sol()&&(t.patternConsumed=!1),t.patternConsumed&&e.eatSpace()?null:e.sol()&&"#"===e.peek()?(e.skipToEnd(),"comment"):e.sol()&&e.eol()?null:t.patternConsumed?e.eat(/-/)||e.eat(/!/)?(e.match(/[a-zA-Z0-9_][-a-zA-Z0-9_.]*/),"keyword"):e.match(/[a-zA-Z0-9_][-a-zA-Z0-9_.]*/)?e.eat(/=/)?(e.match(/\S*/),"string"):"keyword":(e.next(),null):e.sol()&&e.match(/\[attr\]/)?"keyword":(e.match(/\S+/),t.patternConsumed=!0,"string"))},g={id:"jupyterlab_git_syntax_extension:plugin",description:"Jupyterlab extension to add syntax highlighting to various git files such as gitmodules, gitignore etc",autoStart:!0,requires:[i.IEditorLanguageRegistry],activate:(e,t)=>{console.log("[jupyterlab_git_syntax_extension] Extension activated!"),t.addLanguage({name:"gitignore",displayName:"Gitignore",mime:"text/x-gitignore",extensions:[".gitignore"],filename:/^\.gitignore$/,support:new a.LanguageSupport(a.StreamLanguage.define(r))}),t.addLanguage({name:"gitconfig",displayName:"Git Config",mime:"text/x-gitconfig",extensions:[".gitconfig",".gitmodules"],filename:/^(\.gitconfig|\.gitmodules|config)$/,support:new a.LanguageSupport(a.StreamLanguage.define(s))}),t.addLanguage({name:"gitattributes",displayName:"Git Attributes",mime:"text/x-gitattributes",extensions:[".gitattributes"],filename:/^\.gitattributes$/,support:new a.LanguageSupport(a.StreamLanguage.define(u))})}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkjupyterlab_git_syntax_extension=self.webpackChunkjupyterlab_git_syntax_extension||[]).push([[728],{475(e,t,n){n.d(t,{A:()=>i});var r=n(601),o=n.n(r),a=n(314),s=n.n(a)()(o());s.push([e.id,"/*\n See the JupyterLab Developer Guide for useful CSS Patterns:\n\n https://jupyterlab.readthedocs.io/en/stable/developer/css.html\n*/\n",""]);const i=s},314(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&s[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},601(e){e.exports=function(e){return e[1]}},72(e){var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},s=[],i=0;i<e.length;i++){var c=e[i],u=r.base?c[0]+r.base:c[0],l=a[u]||0,p="".concat(u," ").concat(l);a[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var v=o(d,r);r.byIndex=i,t.splice(i,0,{identifier:p,updater:v,references:1})}s.push(p)}return s}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var s=0;s<a.length;s++){var i=n(a[s]);t[i].references--}for(var c=r(e,o),u=0;u<a.length;u++){var l=n(a[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=c}}},659(e){var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56(e,t,n){e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},728(e,t,n){var r=n(72),o=n.n(r),a=n(825),s=n.n(a),i=n(659),c=n.n(i),u=n(56),l=n.n(u),p=n(540),f=n.n(p),d=n(113),v=n.n(d),h=n(475),m={};m.styleTagTransform=v(),m.setAttributes=l(),m.insert=c().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=f(),o()(h.A,m),h.A&&h.A.locals&&h.A.locals}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,a,i,u,l,s,f,d,p,c,h,v,g,b,y,m={643(e,r,t){var n={"./index":()=>t.e(200).then(()=>()=>t(200)),"./extension":()=>t.e(200).then(()=>()=>t(200)),"./style":()=>t.e(728).then(()=>()=>t(728))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},_={};function w(e){var r=_[e];if(void 0!==r)return r.exports;var t=_[e]={id:e,exports:{}};return m[e](t,t.exports,w),t.exports}w.m=m,w.c=_,w.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return w.d(r,{a:r}),r},w.d=(e,r)=>{for(var t in r)w.o(r,t)&&!w.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce((r,t)=>(w.f[t](e,r),r),[])),w.u=e=>e+"."+{200:"fbca87403fcfaeeebc52",728:"484defc75a337949b294"}[e]+".js?v="+{200:"fbca87403fcfaeeebc52",728:"484defc75a337949b294"}[e],w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="jupyterlab_git_syntax_extension:",w.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var f=l[s];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+o){i=f;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var d=(r,n)=>{i.onerror=i.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),u&&document.head.appendChild(i)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{w.S={};var e={},r={};w.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];w.o(w.S,t)||(w.S[t]={});var a=w.S[t],i="jupyterlab_git_syntax_extension",u=[];return"default"===t&&((e,r,t,n)=>{var o=a[e]=a[e]||{},u=o[r];(!u||!u.loaded&&(1!=!u.eager?n:i>u.from))&&(o[r]={get:()=>w.e(200).then(()=>()=>w(200)),from:i,eager:!1})})("jupyterlab_git_syntax_extension","1.0.6"),e[t]=u.length?Promise.all(u).then(()=>e[t]=1):1}}})(),(()=>{var e;w.g.importScripts&&(e=w.g.location+"");var r=w.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),w.p=e})(),t=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],u=(typeof i)[0];if(a!=u)return"o"==a&&"n"==u||"s"==u||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(u=e[a]))[0]?"-":(n>0?".":"")+(n=2,u);return t}var i=[];for(a=1;a<e.length;a++){var u=e[a];i.push(0===u?"not("+l()+")":1===u?"("+l()+" || "+l()+")":2===u?i.pop()+" "+i.pop():o(u))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,u=1,l=!0;;u++,i++){var s,f,d=u<e.length?(typeof e[u])[0]:"";if(i>=r.length||"o"==(f=(typeof(s=r[i]))[0]))return!l||("u"==d?u>n&&!o:""==d!=o);if("u"==f){if(!l||"u"!=d)return!1}else if(l)if(d==f)if(u<=n){if(s!=e[u])return!1}else{if(o?s>e[u]:s<e[u])return!1;s!=e[u]&&(l=!1)}else if("s"!=d&&"n"!=d){if(o||u<=n)return!1;l=!1,u--}else{if(u<=n||f<d!=o)return!1;l=!1}else"s"!=d&&"n"!=d&&(l=!1,u--)}}var p=[],c=p.pop.bind(p);for(i=1;i<e.length;i++){var h=e[i];p.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>e&&w.o(e,r),u=e=>(e.loaded=1,e.get()),l=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),s=(e,r,t)=>{var o=t?l(e[r]):e[r];return Object.keys(o).reduce((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e,0)},f=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",d=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},c=(e,r,t)=>t?t():((e,r)=>d("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,a){var i=w.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,w.S[r],t,!1,o,a)):e(r,w.S[r],t,n,o,a)})((e,r,t,n,o,l)=>{if(!i(r,t))return c(e,t,l);var d=s(r,t,n);return a(o,d)||p(f(r,t,d,o)),u(r[t][d])}),v={},g={84:()=>h("default","@codemirror/language",!1,[1,6,0,0]),321:()=>h("default","@jupyterlab/codemirror",!1,[1,4,5,6])},b={200:[84,321]},y={},w.f.consumes=(e,r)=>{w.o(b,e)&&b[e].forEach(e=>{if(w.o(v,e))return r.push(v[e]);if(!y[e]){var t=r=>{v[e]=0,w.m[e]=t=>{delete w.c[e],t.exports=r()}};y[e]=!0;var n=r=>{delete v[e],w.m[e]=t=>{throw delete w.c[e],r}};try{var o=g[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={518:0};w.f.j=(r,t)=>{var n=w.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=w.p+w.u(r),i=new Error;w.l(a,t=>{if(w.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,u]=t,l=0;if(a.some(r=>0!==e[r])){for(n in i)w.o(i,n)&&(w.m[n]=i[n]);u&&u(w)}for(r&&r(t);l<a.length;l++)o=a[l],w.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunkjupyterlab_git_syntax_extension=self.webpackChunkjupyterlab_git_syntax_extension||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),w.nc=void 0;var x=w(643);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB).jupyterlab_git_syntax_extension=x})();
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"packages": [
|
|
3
|
+
{
|
|
4
|
+
"name": "css-loader",
|
|
5
|
+
"versionInfo": "6.11.0",
|
|
6
|
+
"licenseId": "MIT",
|
|
7
|
+
"extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "style-loader",
|
|
11
|
+
"versionInfo": "3.3.4",
|
|
12
|
+
"licenseId": "MIT",
|
|
13
|
+
"extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: jupyterlab_git_syntax_extension
|
|
3
|
+
Version: 1.0.6
|
|
4
|
+
Summary: Jupyterlab extension to add syntax highlighting to various git files such as gitmodules, gitignore etc
|
|
5
|
+
Project-URL: Homepage, https://github.com/stellarshenson/jupyterlab_git_syntax_extension
|
|
6
|
+
Project-URL: Bug Tracker, https://github.com/stellarshenson/jupyterlab_git_syntax_extension/issues
|
|
7
|
+
Project-URL: Repository, https://github.com/stellarshenson/jupyterlab_git_syntax_extension.git
|
|
8
|
+
Author-email: Stellars Henson <konrad.jelen@gmail.com>
|
|
9
|
+
License: BSD 3-Clause License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2026, Stellars Henson
|
|
12
|
+
All rights reserved.
|
|
13
|
+
|
|
14
|
+
Redistribution and use in source and binary forms, with or without
|
|
15
|
+
modification, are permitted provided that the following conditions are met:
|
|
16
|
+
|
|
17
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
18
|
+
list of conditions and the following disclaimer.
|
|
19
|
+
|
|
20
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
21
|
+
this list of conditions and the following disclaimer in the documentation
|
|
22
|
+
and/or other materials provided with the distribution.
|
|
23
|
+
|
|
24
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
25
|
+
contributors may be used to endorse or promote products derived from
|
|
26
|
+
this software without specific prior written permission.
|
|
27
|
+
|
|
28
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
29
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
30
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
31
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
32
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
33
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
34
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
35
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
36
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
37
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
38
|
+
License-File: LICENSE
|
|
39
|
+
Keywords: jupyter,jupyterlab,jupyterlab-extension
|
|
40
|
+
Classifier: Framework :: Jupyter
|
|
41
|
+
Classifier: Framework :: Jupyter :: JupyterLab
|
|
42
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: 4
|
|
43
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
|
|
44
|
+
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
|
|
45
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
46
|
+
Classifier: Programming Language :: Python
|
|
47
|
+
Classifier: Programming Language :: Python :: 3
|
|
48
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
49
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
50
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
51
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
52
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
53
|
+
Requires-Python: >=3.10
|
|
54
|
+
Description-Content-Type: text/markdown
|
|
55
|
+
|
|
56
|
+
# jupyterlab_git_syntax_extension
|
|
57
|
+
|
|
58
|
+
[](https://github.com/stellarshenson/jupyterlab_git_syntax_extension/actions/workflows/build.yml)
|
|
59
|
+
[](https://www.npmjs.com/package/jupyterlab_git_syntax_extension)
|
|
60
|
+
[](https://pypi.org/project/jupyterlab-git-syntax-extension/)
|
|
61
|
+
[](https://pepy.tech/project/jupyterlab-git-syntax-extension)
|
|
62
|
+
[](https://jupyterlab.readthedocs.io/en/stable/)
|
|
63
|
+
[](https://kolomolo.com)
|
|
64
|
+
[](https://www.paypal.com/donate/?hosted_button_id=B4KPBJDLLXTSA)
|
|
65
|
+
|
|
66
|
+
> [!TIP]
|
|
67
|
+
> This extension is part of the [stellars_jupyterlab_extensions](https://github.com/stellarshenson/stellars_jupyterlab_extensions) metapackage. Install all Stellars extensions at once: `pip install stellars_jupyterlab_extensions`
|
|
68
|
+
|
|
69
|
+
Syntax highlighting for git configuration files in JupyterLab. Open `.gitignore`, `.gitmodules`, `.gitattributes`, `.gitconfig` and other git files with proper syntax colouring instead of plain text.
|
|
70
|
+
|
|
71
|
+

|
|
72
|
+
|
|
73
|
+
## Features
|
|
74
|
+
|
|
75
|
+
- **Gitignore highlighting** - comments, negation patterns (`!`), glob wildcards (`*`, `**`, `?`), character classes (`[...]`), path separators
|
|
76
|
+
- **Gitconfig / Gitmodules highlighting** - INI-style section headers (`[remote "origin"]`), key-value pairs, booleans (`true`/`false`/`yes`/`no`/`on`/`off`), numbers with size suffixes, comments (`#`, `;`), continuation lines
|
|
77
|
+
- **Gitattributes highlighting** - file patterns, macro definitions (`[attr]`), set/unset/unspecify attributes, attribute values
|
|
78
|
+
- **Automatic file detection** - files matched by name (`.gitignore`, `.gitconfig`, `.gitmodules`, `.gitattributes`) and extension
|
|
79
|
+
- **Icon-safe** - registers only language support, does not override file type icons set by other extensions (e.g. [jupyterlab_vscode_icons_extension](https://github.com/stellarshenson/jupyterlab_vscode_icons_extension))
|
|
80
|
+
|
|
81
|
+
## Supported Files
|
|
82
|
+
|
|
83
|
+
| Language | Files | MIME Type |
|
|
84
|
+
| -------------- | ------------------------------------- | ---------------------- |
|
|
85
|
+
| Gitignore | `.gitignore` | `text/x-gitignore` |
|
|
86
|
+
| Git Config | `.gitconfig`, `.gitmodules`, `config` | `text/x-gitconfig` |
|
|
87
|
+
| Git Attributes | `.gitattributes` | `text/x-gitattributes` |
|
|
88
|
+
|
|
89
|
+
## Requirements
|
|
90
|
+
|
|
91
|
+
- JupyterLab >= 4.0.0
|
|
92
|
+
|
|
93
|
+
## Install
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
pip install jupyterlab_git_syntax_extension
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Uninstall
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
pip uninstall jupyterlab_git_syntax_extension
|
|
103
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
jupyterlab_git_syntax_extension/__init__.py,sha256=43dizZQJz536-hQ3OrrmvN2jIOHvY5pMq5PmE5DXhFA,620
|
|
2
|
+
jupyterlab_git_syntax_extension/_version.py,sha256=nX_4J4dOszjhxliYW-9BCM6PEk_5XTKPp2rgzPkFkjg,171
|
|
3
|
+
jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/package.json,sha256=6YzAEGIz71wqwqcQu_hbNedusKdC-99hY-W5jXdXV0w,6069
|
|
4
|
+
jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/200.fbca87403fcfaeeebc52.js,sha256=-8qHQD_Pru68UiCDxkdJfOhJTy3PuaUj8jIEs6SYF_w,3369
|
|
5
|
+
jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/728.484defc75a337949b294.js,sha256=SE3vx1ozeUmylMVLt-M15N56ZjufiLyu3bWHoRiYdck,4015
|
|
6
|
+
jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/remoteEntry.906a423986be554c3fea.js,sha256=kGpCOYa-VUw_6k1TxZgZW733pwDy8VqlqvKuHYJr6hI,6724
|
|
7
|
+
jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/style.js,sha256=1VcPo6QA8LOI-qIWFTFgWsW5z_vQQxCpAG7ET84t0PA,174
|
|
8
|
+
jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453
|
|
9
|
+
jupyterlab_git_syntax_extension-1.0.6.data/data/share/jupyter/labextensions/jupyterlab_git_syntax_extension/install.json,sha256=WaaLCvdRwk1esn9rBkBCS1hK0lV1XOg3gJZN-mAyl9I,223
|
|
10
|
+
jupyterlab_git_syntax_extension-1.0.6.dist-info/METADATA,sha256=PKyz68Af4pkr6QoIMq7ogoQSPKoTHdRINYKc2_ZbZTA,6194
|
|
11
|
+
jupyterlab_git_syntax_extension-1.0.6.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
12
|
+
jupyterlab_git_syntax_extension-1.0.6.dist-info/licenses/LICENSE,sha256=5WO6BCE6llvhQT-r4BgmmbzCtABwpeGuJse1ab3HXFo,1523
|
|
13
|
+
jupyterlab_git_syntax_extension-1.0.6.dist-info/RECORD,,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, Stellars Henson
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|