0xkobold 0.7.2 → 0.8.0
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.
- package/HEARTBEAT.md +239 -0
- package/IDENTITY.md +12 -0
- package/README.md +138 -4
- package/SOUL.md +21 -0
- package/dist/package.json +10 -5
- package/dist/src/agent/bootstrap-loader.js +295 -66
- package/dist/src/agent/bootstrap-loader.js.map +1 -1
- package/dist/src/agent/context-pruning.js +10 -5
- package/dist/src/agent/context-pruning.js.map +1 -1
- package/dist/src/agent/embedded-runner.js +29 -15
- package/dist/src/agent/embedded-runner.js.map +1 -1
- package/dist/src/agent/index.js +5 -2
- package/dist/src/agent/index.js.map +1 -1
- package/dist/src/agent/system-prompt.js +167 -20
- package/dist/src/agent/system-prompt.js.map +1 -1
- package/dist/src/agent/tools/spawn-agent.js +72 -5
- package/dist/src/agent/tools/spawn-agent.js.map +1 -1
- package/dist/src/channels/slack/webhook.js +2 -2
- package/dist/src/channels/slack/webhook.js.map +1 -1
- package/dist/src/channels/telegram/bot.js +4 -4
- package/dist/src/channels/telegram/bot.js.map +1 -1
- package/dist/src/channels/whatsapp/integration.js +4 -4
- package/dist/src/channels/whatsapp/integration.js.map +1 -1
- package/dist/src/cli/commands/gateway.js +9 -10
- package/dist/src/cli/commands/gateway.js.map +1 -1
- package/dist/src/cli/commands/init.js +90 -0
- package/dist/src/cli/commands/init.js.map +1 -1
- package/dist/src/cli/commands/setup.js +53 -0
- package/dist/src/cli/commands/setup.js.map +1 -1
- package/dist/src/cli/index.js +0 -0
- package/dist/src/config/unified-config.js +5 -0
- package/dist/src/config/unified-config.js.map +1 -1
- package/dist/src/cron/index.js +2 -0
- package/dist/src/cron/index.js.map +1 -1
- package/dist/src/cron/nl-parser.js +522 -0
- package/dist/src/cron/nl-parser.js.map +1 -0
- package/dist/src/cron/runner.js +6 -31
- package/dist/src/cron/runner.js.map +1 -1
- package/dist/src/event-bus/index.js.map +1 -1
- package/dist/src/extensions/core/agent-orchestrator-extension.js +200 -148
- package/dist/src/extensions/core/agent-orchestrator-extension.js.map +1 -1
- package/dist/src/extensions/core/diagnostics-extension.js +93 -56
- package/dist/src/extensions/core/diagnostics-extension.js.map +1 -1
- package/dist/src/extensions/core/draconic-safety-extension.js +256 -3
- package/dist/src/extensions/core/draconic-safety-extension.js.map +1 -1
- package/dist/src/extensions/core/heartbeat-extension.js +416 -150
- package/dist/src/extensions/core/heartbeat-extension.js.map +1 -1
- package/dist/src/extensions/core/{generative-agents-extension.js → learning-extension.js} +90 -128
- package/dist/src/extensions/core/learning-extension.js.map +1 -0
- package/dist/src/extensions/core/perennial-memory-extension.js +884 -87
- package/dist/src/extensions/core/perennial-memory-extension.js.map +1 -1
- package/dist/src/extensions/core/routed-ollama-extension.js +345 -0
- package/dist/src/extensions/core/routed-ollama-extension.js.map +1 -0
- package/dist/src/extensions/core/task-manager-extension.js +25 -2
- package/dist/src/extensions/core/task-manager-extension.js.map +1 -1
- package/dist/src/extensions/core/websearch-enhanced-extension.js +81 -23
- package/dist/src/extensions/core/websearch-enhanced-extension.js.map +1 -1
- package/dist/src/extensions/core/workspace-footer-extension.js +40 -63
- package/dist/src/extensions/core/workspace-footer-extension.js.map +1 -1
- package/dist/src/extensions/loader.js +5 -1
- package/dist/src/extensions/loader.js.map +1 -1
- package/dist/src/gateway/gateway-server.js +74 -3
- package/dist/src/gateway/gateway-server.js.map +1 -1
- package/dist/src/gateway/index.js +2 -2
- package/dist/src/gateway/index.js.map +1 -1
- package/dist/src/gateway/methods/agent.js +1 -1
- package/dist/src/gateway/methods/agent.js.map +1 -1
- package/dist/src/gateway/methods/index.js +4 -0
- package/dist/src/gateway/methods/index.js.map +1 -1
- package/dist/src/gateway/methods/node.js +261 -0
- package/dist/src/gateway/methods/node.js.map +1 -0
- package/dist/src/gateway/queue-modes.js +356 -0
- package/dist/src/gateway/queue-modes.js.map +1 -0
- package/dist/src/index.js +47 -6
- package/dist/src/index.js.map +1 -1
- package/dist/src/llm/community-analytics.js +569 -0
- package/dist/src/llm/community-analytics.js.map +1 -0
- package/dist/src/llm/index.js +28 -4
- package/dist/src/llm/index.js.map +1 -1
- package/dist/src/llm/model-discovery.js +335 -0
- package/dist/src/llm/model-discovery.js.map +1 -0
- package/dist/src/llm/model-popularity.js +566 -0
- package/dist/src/llm/model-popularity.js.map +1 -0
- package/dist/src/llm/model-scoring-db.js +553 -0
- package/dist/src/llm/model-scoring-db.js.map +1 -0
- package/dist/src/llm/multi-provider.js +258 -0
- package/dist/src/llm/multi-provider.js.map +1 -0
- package/dist/src/llm/ollama.js +133 -187
- package/dist/src/llm/ollama.js.map +1 -1
- package/dist/src/llm/router-commands.js +773 -0
- package/dist/src/llm/router-commands.js.map +1 -0
- package/dist/src/llm/router-core.js +600 -0
- package/dist/src/llm/router-core.js.map +1 -0
- package/dist/src/memory/checkpoint-manager.js +278 -0
- package/dist/src/memory/checkpoint-manager.js.map +1 -0
- package/dist/src/memory/conflict-detector.js +279 -0
- package/dist/src/memory/conflict-detector.js.map +1 -0
- package/dist/src/memory/context-graph.js +360 -0
- package/dist/src/memory/context-graph.js.map +1 -0
- package/dist/src/memory/dialectic/benchmark-cli.js +200 -0
- package/dist/src/memory/dialectic/benchmark-cli.js.map +1 -0
- package/dist/src/memory/dialectic/debug-reasoning.js +37 -0
- package/dist/src/memory/dialectic/debug-reasoning.js.map +1 -0
- package/dist/src/memory/dialectic/index.js +135 -0
- package/dist/src/memory/dialectic/index.js.map +1 -0
- package/dist/src/memory/dialectic/nudges.js +380 -0
- package/dist/src/memory/dialectic/nudges.js.map +1 -0
- package/dist/src/memory/dialectic/reasoning-engine.js +607 -0
- package/dist/src/memory/dialectic/reasoning-engine.js.map +1 -0
- package/dist/src/memory/dialectic/reasoning.js +390 -0
- package/dist/src/memory/dialectic/reasoning.js.map +1 -0
- package/dist/src/memory/dialectic/skill-creation.js +481 -0
- package/dist/src/memory/dialectic/skill-creation.js.map +1 -0
- package/dist/src/memory/dialectic/store.js +663 -0
- package/dist/src/memory/dialectic/store.js.map +1 -0
- package/dist/src/memory/dialectic/types.js +11 -0
- package/dist/src/memory/dialectic/types.js.map +1 -0
- package/dist/src/memory/index.js +24 -2
- package/dist/src/memory/index.js.map +1 -1
- package/dist/src/memory/memory-decay.js +350 -0
- package/dist/src/memory/memory-decay.js.map +1 -0
- package/dist/src/memory/memory-integration.js +5 -5
- package/dist/src/memory/memory-integration.js.map +1 -1
- package/dist/src/memory/migrate-memory-stream.js +97 -0
- package/dist/src/memory/migrate-memory-stream.js.map +1 -0
- package/dist/src/memory/session-memory-bridge.js +49 -5
- package/dist/src/memory/session-memory-bridge.js.map +1 -1
- package/dist/src/memory/session-store.js +123 -0
- package/dist/src/memory/session-store.js.map +1 -1
- package/dist/src/memory/smart-write-rules.js +164 -0
- package/dist/src/memory/smart-write-rules.js.map +1 -0
- package/dist/src/memory/tiered-memory.js +436 -0
- package/dist/src/memory/tiered-memory.js.map +1 -0
- package/dist/src/memory/types.js +6 -0
- package/dist/src/memory/types.js.map +1 -0
- package/dist/src/memory/verify-migration.js +99 -0
- package/dist/src/memory/verify-migration.js.map +1 -0
- package/dist/src/pi-config.js +11 -9
- package/dist/src/pi-config.js.map +1 -1
- package/dist/src/skills/conditional-skills.js +464 -0
- package/dist/src/skills/conditional-skills.js.map +1 -0
- package/dist/src/skills/index.js +5 -0
- package/dist/src/skills/index.js.map +1 -1
- package/dist/src/skills/loader.js +56 -0
- package/dist/src/skills/loader.js.map +1 -1
- package/dist/src/skills/skill-manage.js +417 -0
- package/dist/src/skills/skill-manage.js.map +1 -0
- package/dist/src/tui/commands/orchestration-commands.js +62 -0
- package/dist/src/tui/commands/orchestration-commands.js.map +1 -1
- package/package.json +10 -5
- package/skills/model-router-test.ts +65 -0
- package/dist/src/extensions/core/auto-security-scan-extension.js +0 -41
- package/dist/src/extensions/core/auto-security-scan-extension.js.map +0 -1
- package/dist/src/extensions/core/cloudflare-browser-extension.js +0 -389
- package/dist/src/extensions/core/cloudflare-browser-extension.js.map +0 -1
- package/dist/src/extensions/core/compaction-safeguard.js +0 -223
- package/dist/src/extensions/core/compaction-safeguard.js.map +0 -1
- package/dist/src/extensions/core/generative-agents-extension.js.map +0 -1
- package/dist/src/extensions/core/obsidian-bridge-extension.js +0 -488
- package/dist/src/extensions/core/obsidian-bridge-extension.js.map +0 -1
- package/dist/src/llm/router.js +0 -145
- package/dist/src/llm/router.js.map +0 -1
- package/skills/kobold-scan-skill/node_modules/.package-lock.json +0 -172
- package/skills/kobold-scan-skill/node_modules/ansi-styles/index.d.ts +0 -345
- package/skills/kobold-scan-skill/node_modules/ansi-styles/index.js +0 -163
- package/skills/kobold-scan-skill/node_modules/ansi-styles/license +0 -9
- package/skills/kobold-scan-skill/node_modules/ansi-styles/package.json +0 -56
- package/skills/kobold-scan-skill/node_modules/ansi-styles/readme.md +0 -152
- package/skills/kobold-scan-skill/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/skills/kobold-scan-skill/node_modules/balanced-match/LICENSE.md +0 -21
- package/skills/kobold-scan-skill/node_modules/balanced-match/README.md +0 -97
- package/skills/kobold-scan-skill/node_modules/balanced-match/index.js +0 -62
- package/skills/kobold-scan-skill/node_modules/balanced-match/package.json +0 -48
- package/skills/kobold-scan-skill/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
- package/skills/kobold-scan-skill/node_modules/brace-expansion/LICENSE +0 -21
- package/skills/kobold-scan-skill/node_modules/brace-expansion/README.md +0 -135
- package/skills/kobold-scan-skill/node_modules/brace-expansion/index.js +0 -203
- package/skills/kobold-scan-skill/node_modules/brace-expansion/package.json +0 -49
- package/skills/kobold-scan-skill/node_modules/chalk/index.d.ts +0 -415
- package/skills/kobold-scan-skill/node_modules/chalk/license +0 -9
- package/skills/kobold-scan-skill/node_modules/chalk/package.json +0 -68
- package/skills/kobold-scan-skill/node_modules/chalk/readme.md +0 -341
- package/skills/kobold-scan-skill/node_modules/chalk/source/index.js +0 -229
- package/skills/kobold-scan-skill/node_modules/chalk/source/templates.js +0 -134
- package/skills/kobold-scan-skill/node_modules/chalk/source/util.js +0 -39
- package/skills/kobold-scan-skill/node_modules/color-convert/CHANGELOG.md +0 -54
- package/skills/kobold-scan-skill/node_modules/color-convert/LICENSE +0 -21
- package/skills/kobold-scan-skill/node_modules/color-convert/README.md +0 -68
- package/skills/kobold-scan-skill/node_modules/color-convert/conversions.js +0 -839
- package/skills/kobold-scan-skill/node_modules/color-convert/index.js +0 -81
- package/skills/kobold-scan-skill/node_modules/color-convert/package.json +0 -48
- package/skills/kobold-scan-skill/node_modules/color-convert/route.js +0 -97
- package/skills/kobold-scan-skill/node_modules/color-name/LICENSE +0 -8
- package/skills/kobold-scan-skill/node_modules/color-name/README.md +0 -11
- package/skills/kobold-scan-skill/node_modules/color-name/index.js +0 -152
- package/skills/kobold-scan-skill/node_modules/color-name/package.json +0 -28
- package/skills/kobold-scan-skill/node_modules/commander/LICENSE +0 -22
- package/skills/kobold-scan-skill/node_modules/commander/Readme.md +0 -1129
- package/skills/kobold-scan-skill/node_modules/commander/esm.mjs +0 -16
- package/skills/kobold-scan-skill/node_modules/commander/index.js +0 -27
- package/skills/kobold-scan-skill/node_modules/commander/lib/argument.js +0 -147
- package/skills/kobold-scan-skill/node_modules/commander/lib/command.js +0 -2179
- package/skills/kobold-scan-skill/node_modules/commander/lib/error.js +0 -45
- package/skills/kobold-scan-skill/node_modules/commander/lib/help.js +0 -461
- package/skills/kobold-scan-skill/node_modules/commander/lib/option.js +0 -326
- package/skills/kobold-scan-skill/node_modules/commander/lib/suggestSimilar.js +0 -100
- package/skills/kobold-scan-skill/node_modules/commander/package-support.json +0 -16
- package/skills/kobold-scan-skill/node_modules/commander/package.json +0 -80
- package/skills/kobold-scan-skill/node_modules/commander/typings/index.d.ts +0 -891
- package/skills/kobold-scan-skill/node_modules/fs.realpath/LICENSE +0 -43
- package/skills/kobold-scan-skill/node_modules/fs.realpath/README.md +0 -33
- package/skills/kobold-scan-skill/node_modules/fs.realpath/index.js +0 -66
- package/skills/kobold-scan-skill/node_modules/fs.realpath/old.js +0 -303
- package/skills/kobold-scan-skill/node_modules/fs.realpath/package.json +0 -26
- package/skills/kobold-scan-skill/node_modules/glob/LICENSE +0 -15
- package/skills/kobold-scan-skill/node_modules/glob/README.md +0 -399
- package/skills/kobold-scan-skill/node_modules/glob/common.js +0 -244
- package/skills/kobold-scan-skill/node_modules/glob/glob.js +0 -790
- package/skills/kobold-scan-skill/node_modules/glob/package.json +0 -55
- package/skills/kobold-scan-skill/node_modules/glob/sync.js +0 -486
- package/skills/kobold-scan-skill/node_modules/has-flag/index.d.ts +0 -39
- package/skills/kobold-scan-skill/node_modules/has-flag/index.js +0 -8
- package/skills/kobold-scan-skill/node_modules/has-flag/license +0 -9
- package/skills/kobold-scan-skill/node_modules/has-flag/package.json +0 -46
- package/skills/kobold-scan-skill/node_modules/has-flag/readme.md +0 -89
- package/skills/kobold-scan-skill/node_modules/inflight/LICENSE +0 -15
- package/skills/kobold-scan-skill/node_modules/inflight/README.md +0 -37
- package/skills/kobold-scan-skill/node_modules/inflight/inflight.js +0 -54
- package/skills/kobold-scan-skill/node_modules/inflight/package.json +0 -29
- package/skills/kobold-scan-skill/node_modules/inherits/LICENSE +0 -16
- package/skills/kobold-scan-skill/node_modules/inherits/README.md +0 -42
- package/skills/kobold-scan-skill/node_modules/inherits/inherits.js +0 -9
- package/skills/kobold-scan-skill/node_modules/inherits/inherits_browser.js +0 -27
- package/skills/kobold-scan-skill/node_modules/inherits/package.json +0 -29
- package/skills/kobold-scan-skill/node_modules/minimatch/LICENSE +0 -15
- package/skills/kobold-scan-skill/node_modules/minimatch/README.md +0 -259
- package/skills/kobold-scan-skill/node_modules/minimatch/lib/path.js +0 -4
- package/skills/kobold-scan-skill/node_modules/minimatch/minimatch.js +0 -944
- package/skills/kobold-scan-skill/node_modules/minimatch/package.json +0 -35
- package/skills/kobold-scan-skill/node_modules/once/LICENSE +0 -15
- package/skills/kobold-scan-skill/node_modules/once/README.md +0 -79
- package/skills/kobold-scan-skill/node_modules/once/once.js +0 -42
- package/skills/kobold-scan-skill/node_modules/once/package.json +0 -33
- package/skills/kobold-scan-skill/node_modules/supports-color/browser.js +0 -5
- package/skills/kobold-scan-skill/node_modules/supports-color/index.js +0 -135
- package/skills/kobold-scan-skill/node_modules/supports-color/license +0 -9
- package/skills/kobold-scan-skill/node_modules/supports-color/package.json +0 -53
- package/skills/kobold-scan-skill/node_modules/supports-color/readme.md +0 -76
- package/skills/kobold-scan-skill/node_modules/wrappy/LICENSE +0 -15
- package/skills/kobold-scan-skill/node_modules/wrappy/README.md +0 -36
- package/skills/kobold-scan-skill/node_modules/wrappy/package.json +0 -29
- package/skills/kobold-scan-skill/node_modules/wrappy/wrappy.js +0 -33
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ansi-styles",
|
|
3
|
-
"version": "4.3.0",
|
|
4
|
-
"description": "ANSI escape codes for styling strings in the terminal",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "chalk/ansi-styles",
|
|
7
|
-
"funding": "https://github.com/chalk/ansi-styles?sponsor=1",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Sindre Sorhus",
|
|
10
|
-
"email": "sindresorhus@gmail.com",
|
|
11
|
-
"url": "sindresorhus.com"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=8"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "xo && ava && tsd",
|
|
18
|
-
"screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"index.js",
|
|
22
|
-
"index.d.ts"
|
|
23
|
-
],
|
|
24
|
-
"keywords": [
|
|
25
|
-
"ansi",
|
|
26
|
-
"styles",
|
|
27
|
-
"color",
|
|
28
|
-
"colour",
|
|
29
|
-
"colors",
|
|
30
|
-
"terminal",
|
|
31
|
-
"console",
|
|
32
|
-
"cli",
|
|
33
|
-
"string",
|
|
34
|
-
"tty",
|
|
35
|
-
"escape",
|
|
36
|
-
"formatting",
|
|
37
|
-
"rgb",
|
|
38
|
-
"256",
|
|
39
|
-
"shell",
|
|
40
|
-
"xterm",
|
|
41
|
-
"log",
|
|
42
|
-
"logging",
|
|
43
|
-
"command-line",
|
|
44
|
-
"text"
|
|
45
|
-
],
|
|
46
|
-
"dependencies": {
|
|
47
|
-
"color-convert": "^2.0.1"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@types/color-convert": "^1.9.0",
|
|
51
|
-
"ava": "^2.3.0",
|
|
52
|
-
"svg-term-cli": "^2.1.1",
|
|
53
|
-
"tsd": "^0.11.0",
|
|
54
|
-
"xo": "^0.25.3"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
# ansi-styles [](https://travis-ci.org/chalk/ansi-styles)
|
|
2
|
-
|
|
3
|
-
> [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
|
|
4
|
-
|
|
5
|
-
You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
|
|
6
|
-
|
|
7
|
-
<img src="screenshot.svg" width="900">
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
$ npm install ansi-styles
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
const style = require('ansi-styles');
|
|
19
|
-
|
|
20
|
-
console.log(`${style.green.open}Hello world!${style.green.close}`);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// Color conversion between 16/256/truecolor
|
|
24
|
-
// NOTE: If conversion goes to 16 colors or 256 colors, the original color
|
|
25
|
-
// may be degraded to fit that color palette. This means terminals
|
|
26
|
-
// that do not support 16 million colors will best-match the
|
|
27
|
-
// original color.
|
|
28
|
-
console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close);
|
|
29
|
-
console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close);
|
|
30
|
-
console.log(style.color.ansi16m.hex('#abcdef') + 'Hello world!' + style.color.close);
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## API
|
|
34
|
-
|
|
35
|
-
Each style has an `open` and `close` property.
|
|
36
|
-
|
|
37
|
-
## Styles
|
|
38
|
-
|
|
39
|
-
### Modifiers
|
|
40
|
-
|
|
41
|
-
- `reset`
|
|
42
|
-
- `bold`
|
|
43
|
-
- `dim`
|
|
44
|
-
- `italic` *(Not widely supported)*
|
|
45
|
-
- `underline`
|
|
46
|
-
- `inverse`
|
|
47
|
-
- `hidden`
|
|
48
|
-
- `strikethrough` *(Not widely supported)*
|
|
49
|
-
|
|
50
|
-
### Colors
|
|
51
|
-
|
|
52
|
-
- `black`
|
|
53
|
-
- `red`
|
|
54
|
-
- `green`
|
|
55
|
-
- `yellow`
|
|
56
|
-
- `blue`
|
|
57
|
-
- `magenta`
|
|
58
|
-
- `cyan`
|
|
59
|
-
- `white`
|
|
60
|
-
- `blackBright` (alias: `gray`, `grey`)
|
|
61
|
-
- `redBright`
|
|
62
|
-
- `greenBright`
|
|
63
|
-
- `yellowBright`
|
|
64
|
-
- `blueBright`
|
|
65
|
-
- `magentaBright`
|
|
66
|
-
- `cyanBright`
|
|
67
|
-
- `whiteBright`
|
|
68
|
-
|
|
69
|
-
### Background colors
|
|
70
|
-
|
|
71
|
-
- `bgBlack`
|
|
72
|
-
- `bgRed`
|
|
73
|
-
- `bgGreen`
|
|
74
|
-
- `bgYellow`
|
|
75
|
-
- `bgBlue`
|
|
76
|
-
- `bgMagenta`
|
|
77
|
-
- `bgCyan`
|
|
78
|
-
- `bgWhite`
|
|
79
|
-
- `bgBlackBright` (alias: `bgGray`, `bgGrey`)
|
|
80
|
-
- `bgRedBright`
|
|
81
|
-
- `bgGreenBright`
|
|
82
|
-
- `bgYellowBright`
|
|
83
|
-
- `bgBlueBright`
|
|
84
|
-
- `bgMagentaBright`
|
|
85
|
-
- `bgCyanBright`
|
|
86
|
-
- `bgWhiteBright`
|
|
87
|
-
|
|
88
|
-
## Advanced usage
|
|
89
|
-
|
|
90
|
-
By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
|
|
91
|
-
|
|
92
|
-
- `style.modifier`
|
|
93
|
-
- `style.color`
|
|
94
|
-
- `style.bgColor`
|
|
95
|
-
|
|
96
|
-
###### Example
|
|
97
|
-
|
|
98
|
-
```js
|
|
99
|
-
console.log(style.color.green.open);
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values.
|
|
103
|
-
|
|
104
|
-
###### Example
|
|
105
|
-
|
|
106
|
-
```js
|
|
107
|
-
console.log(style.codes.get(36));
|
|
108
|
-
//=> 39
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728)
|
|
112
|
-
|
|
113
|
-
`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors.
|
|
114
|
-
|
|
115
|
-
The following color spaces from `color-convert` are supported:
|
|
116
|
-
|
|
117
|
-
- `rgb`
|
|
118
|
-
- `hex`
|
|
119
|
-
- `keyword`
|
|
120
|
-
- `hsl`
|
|
121
|
-
- `hsv`
|
|
122
|
-
- `hwb`
|
|
123
|
-
- `ansi`
|
|
124
|
-
- `ansi256`
|
|
125
|
-
|
|
126
|
-
To use these, call the associated conversion function with the intended output, for example:
|
|
127
|
-
|
|
128
|
-
```js
|
|
129
|
-
style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code
|
|
130
|
-
style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code
|
|
131
|
-
|
|
132
|
-
style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
|
|
133
|
-
style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
|
|
134
|
-
|
|
135
|
-
style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code
|
|
136
|
-
style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
## Related
|
|
140
|
-
|
|
141
|
-
- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
|
|
142
|
-
|
|
143
|
-
## Maintainers
|
|
144
|
-
|
|
145
|
-
- [Sindre Sorhus](https://github.com/sindresorhus)
|
|
146
|
-
- [Josh Junon](https://github.com/qix-)
|
|
147
|
-
|
|
148
|
-
## For enterprise
|
|
149
|
-
|
|
150
|
-
Available as part of the Tidelift Subscription.
|
|
151
|
-
|
|
152
|
-
The maintainers of `ansi-styles` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-ansi-styles?utm_source=npm-ansi-styles&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
(MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
-
the Software without restriction, including without limitation the rights to
|
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
9
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
10
|
-
so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# balanced-match
|
|
2
|
-
|
|
3
|
-
Match balanced string pairs, like `{` and `}` or `<b>` and `</b>`. Supports regular expressions as well!
|
|
4
|
-
|
|
5
|
-
[](http://travis-ci.org/juliangruber/balanced-match)
|
|
6
|
-
[](https://www.npmjs.org/package/balanced-match)
|
|
7
|
-
|
|
8
|
-
[](https://ci.testling.com/juliangruber/balanced-match)
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
Get the first matching pair of braces:
|
|
13
|
-
|
|
14
|
-
```js
|
|
15
|
-
var balanced = require('balanced-match');
|
|
16
|
-
|
|
17
|
-
console.log(balanced('{', '}', 'pre{in{nested}}post'));
|
|
18
|
-
console.log(balanced('{', '}', 'pre{first}between{second}post'));
|
|
19
|
-
console.log(balanced(/\s+\{\s+/, /\s+\}\s+/, 'pre { in{nest} } post'));
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
The matches are:
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
$ node example.js
|
|
26
|
-
{ start: 3, end: 14, pre: 'pre', body: 'in{nested}', post: 'post' }
|
|
27
|
-
{ start: 3,
|
|
28
|
-
end: 9,
|
|
29
|
-
pre: 'pre',
|
|
30
|
-
body: 'first',
|
|
31
|
-
post: 'between{second}post' }
|
|
32
|
-
{ start: 3, end: 17, pre: 'pre', body: 'in{nest}', post: 'post' }
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## API
|
|
36
|
-
|
|
37
|
-
### var m = balanced(a, b, str)
|
|
38
|
-
|
|
39
|
-
For the first non-nested matching pair of `a` and `b` in `str`, return an
|
|
40
|
-
object with those keys:
|
|
41
|
-
|
|
42
|
-
* **start** the index of the first match of `a`
|
|
43
|
-
* **end** the index of the matching `b`
|
|
44
|
-
* **pre** the preamble, `a` and `b` not included
|
|
45
|
-
* **body** the match, `a` and `b` not included
|
|
46
|
-
* **post** the postscript, `a` and `b` not included
|
|
47
|
-
|
|
48
|
-
If there's no match, `undefined` will be returned.
|
|
49
|
-
|
|
50
|
-
If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']` and `{a}}` will match `['', 'a', '}']`.
|
|
51
|
-
|
|
52
|
-
### var r = balanced.range(a, b, str)
|
|
53
|
-
|
|
54
|
-
For the first non-nested matching pair of `a` and `b` in `str`, return an
|
|
55
|
-
array with indexes: `[ <a index>, <b index> ]`.
|
|
56
|
-
|
|
57
|
-
If there's no match, `undefined` will be returned.
|
|
58
|
-
|
|
59
|
-
If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `[ 1, 3 ]` and `{a}}` will match `[0, 2]`.
|
|
60
|
-
|
|
61
|
-
## Installation
|
|
62
|
-
|
|
63
|
-
With [npm](https://npmjs.org) do:
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
npm install balanced-match
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## Security contact information
|
|
70
|
-
|
|
71
|
-
To report a security vulnerability, please use the
|
|
72
|
-
[Tidelift security contact](https://tidelift.com/security).
|
|
73
|
-
Tidelift will coordinate the fix and disclosure.
|
|
74
|
-
|
|
75
|
-
## License
|
|
76
|
-
|
|
77
|
-
(MIT)
|
|
78
|
-
|
|
79
|
-
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
|
80
|
-
|
|
81
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
82
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
83
|
-
the Software without restriction, including without limitation the rights to
|
|
84
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
85
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
86
|
-
so, subject to the following conditions:
|
|
87
|
-
|
|
88
|
-
The above copyright notice and this permission notice shall be included in all
|
|
89
|
-
copies or substantial portions of the Software.
|
|
90
|
-
|
|
91
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
92
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
93
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
94
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
95
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
96
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
97
|
-
SOFTWARE.
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
module.exports = balanced;
|
|
3
|
-
function balanced(a, b, str) {
|
|
4
|
-
if (a instanceof RegExp) a = maybeMatch(a, str);
|
|
5
|
-
if (b instanceof RegExp) b = maybeMatch(b, str);
|
|
6
|
-
|
|
7
|
-
var r = range(a, b, str);
|
|
8
|
-
|
|
9
|
-
return r && {
|
|
10
|
-
start: r[0],
|
|
11
|
-
end: r[1],
|
|
12
|
-
pre: str.slice(0, r[0]),
|
|
13
|
-
body: str.slice(r[0] + a.length, r[1]),
|
|
14
|
-
post: str.slice(r[1] + b.length)
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
function maybeMatch(reg, str) {
|
|
19
|
-
var m = str.match(reg);
|
|
20
|
-
return m ? m[0] : null;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
balanced.range = range;
|
|
24
|
-
function range(a, b, str) {
|
|
25
|
-
var begs, beg, left, right, result;
|
|
26
|
-
var ai = str.indexOf(a);
|
|
27
|
-
var bi = str.indexOf(b, ai + 1);
|
|
28
|
-
var i = ai;
|
|
29
|
-
|
|
30
|
-
if (ai >= 0 && bi > 0) {
|
|
31
|
-
if(a===b) {
|
|
32
|
-
return [ai, bi];
|
|
33
|
-
}
|
|
34
|
-
begs = [];
|
|
35
|
-
left = str.length;
|
|
36
|
-
|
|
37
|
-
while (i >= 0 && !result) {
|
|
38
|
-
if (i == ai) {
|
|
39
|
-
begs.push(i);
|
|
40
|
-
ai = str.indexOf(a, i + 1);
|
|
41
|
-
} else if (begs.length == 1) {
|
|
42
|
-
result = [ begs.pop(), bi ];
|
|
43
|
-
} else {
|
|
44
|
-
beg = begs.pop();
|
|
45
|
-
if (beg < left) {
|
|
46
|
-
left = beg;
|
|
47
|
-
right = bi;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
bi = str.indexOf(b, i + 1);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
i = ai < bi && ai >= 0 ? ai : bi;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
if (begs.length) {
|
|
57
|
-
result = [ left, right ];
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return result;
|
|
62
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "balanced-match",
|
|
3
|
-
"description": "Match balanced character pairs, like \"{\" and \"}\"",
|
|
4
|
-
"version": "1.0.2",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git://github.com/juliangruber/balanced-match.git"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://github.com/juliangruber/balanced-match",
|
|
10
|
-
"main": "index.js",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"test": "tape test/test.js",
|
|
13
|
-
"bench": "matcha test/bench.js"
|
|
14
|
-
},
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"matcha": "^0.7.0",
|
|
17
|
-
"tape": "^4.6.0"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [
|
|
20
|
-
"match",
|
|
21
|
-
"regexp",
|
|
22
|
-
"test",
|
|
23
|
-
"balanced",
|
|
24
|
-
"parse"
|
|
25
|
-
],
|
|
26
|
-
"author": {
|
|
27
|
-
"name": "Julian Gruber",
|
|
28
|
-
"email": "mail@juliangruber.com",
|
|
29
|
-
"url": "http://juliangruber.com"
|
|
30
|
-
},
|
|
31
|
-
"license": "MIT",
|
|
32
|
-
"testling": {
|
|
33
|
-
"files": "test/*.js",
|
|
34
|
-
"browsers": [
|
|
35
|
-
"ie/8..latest",
|
|
36
|
-
"firefox/20..latest",
|
|
37
|
-
"firefox/nightly",
|
|
38
|
-
"chrome/25..latest",
|
|
39
|
-
"chrome/canary",
|
|
40
|
-
"opera/12..latest",
|
|
41
|
-
"opera/next",
|
|
42
|
-
"safari/5.1..latest",
|
|
43
|
-
"ipad/6.0..latest",
|
|
44
|
-
"iphone/6.0..latest",
|
|
45
|
-
"android-browser/4.2..latest"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
# brace-expansion
|
|
2
|
-
|
|
3
|
-
[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html),
|
|
4
|
-
as known from sh/bash, in JavaScript.
|
|
5
|
-
|
|
6
|
-
[](http://travis-ci.org/juliangruber/brace-expansion)
|
|
7
|
-
[](https://www.npmjs.org/package/brace-expansion)
|
|
8
|
-
[](https://greenkeeper.io/)
|
|
9
|
-
|
|
10
|
-
[](https://ci.testling.com/juliangruber/brace-expansion)
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```js
|
|
15
|
-
var expand = require('brace-expansion');
|
|
16
|
-
|
|
17
|
-
expand('file-{a,b,c}.jpg')
|
|
18
|
-
// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
|
|
19
|
-
|
|
20
|
-
expand('-v{,,}')
|
|
21
|
-
// => ['-v', '-v', '-v']
|
|
22
|
-
|
|
23
|
-
expand('file{0..2}.jpg')
|
|
24
|
-
// => ['file0.jpg', 'file1.jpg', 'file2.jpg']
|
|
25
|
-
|
|
26
|
-
expand('file-{a..c}.jpg')
|
|
27
|
-
// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
|
|
28
|
-
|
|
29
|
-
expand('file{2..0}.jpg')
|
|
30
|
-
// => ['file2.jpg', 'file1.jpg', 'file0.jpg']
|
|
31
|
-
|
|
32
|
-
expand('file{0..4..2}.jpg')
|
|
33
|
-
// => ['file0.jpg', 'file2.jpg', 'file4.jpg']
|
|
34
|
-
|
|
35
|
-
expand('file-{a..e..2}.jpg')
|
|
36
|
-
// => ['file-a.jpg', 'file-c.jpg', 'file-e.jpg']
|
|
37
|
-
|
|
38
|
-
expand('file{00..10..5}.jpg')
|
|
39
|
-
// => ['file00.jpg', 'file05.jpg', 'file10.jpg']
|
|
40
|
-
|
|
41
|
-
expand('{{A..C},{a..c}}')
|
|
42
|
-
// => ['A', 'B', 'C', 'a', 'b', 'c']
|
|
43
|
-
|
|
44
|
-
expand('ppp{,config,oe{,conf}}')
|
|
45
|
-
// => ['ppp', 'pppconfig', 'pppoe', 'pppoeconf']
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## API
|
|
49
|
-
|
|
50
|
-
```js
|
|
51
|
-
var expand = require('brace-expansion');
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### var expanded = expand(str)
|
|
55
|
-
|
|
56
|
-
Return an array of all possible and valid expansions of `str`. If none are
|
|
57
|
-
found, `[str]` is returned.
|
|
58
|
-
|
|
59
|
-
Valid expansions are:
|
|
60
|
-
|
|
61
|
-
```js
|
|
62
|
-
/^(.*,)+(.+)?$/
|
|
63
|
-
// {a,b,...}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
A comma separated list of options, like `{a,b}` or `{a,{b,c}}` or `{,a,}`.
|
|
67
|
-
|
|
68
|
-
```js
|
|
69
|
-
/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
|
|
70
|
-
// {x..y[..incr]}
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
A numeric sequence from `x` to `y` inclusive, with optional increment.
|
|
74
|
-
If `x` or `y` start with a leading `0`, all the numbers will be padded
|
|
75
|
-
to have equal length. Negative numbers and backwards iteration work too.
|
|
76
|
-
|
|
77
|
-
```js
|
|
78
|
-
/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
|
|
79
|
-
// {x..y[..incr]}
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
An alphabetic sequence from `x` to `y` inclusive, with optional increment.
|
|
83
|
-
`x` and `y` must be exactly one character, and if given, `incr` must be a
|
|
84
|
-
number.
|
|
85
|
-
|
|
86
|
-
For compatibility reasons, the string `${` is not eligible for brace expansion.
|
|
87
|
-
|
|
88
|
-
## Installation
|
|
89
|
-
|
|
90
|
-
With [npm](https://npmjs.org) do:
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
npm install brace-expansion
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
## Contributors
|
|
97
|
-
|
|
98
|
-
- [Julian Gruber](https://github.com/juliangruber)
|
|
99
|
-
- [Isaac Z. Schlueter](https://github.com/isaacs)
|
|
100
|
-
|
|
101
|
-
## Sponsors
|
|
102
|
-
|
|
103
|
-
This module is proudly supported by my [Sponsors](https://github.com/juliangruber/sponsors)!
|
|
104
|
-
|
|
105
|
-
Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my [Patreon](https://www.patreon.com/juliangruber). Not sure how much of my modules you're using? Try [feross/thanks](https://github.com/feross/thanks)!
|
|
106
|
-
|
|
107
|
-
## Security contact information
|
|
108
|
-
|
|
109
|
-
To report a security vulnerability, please use the
|
|
110
|
-
[Tidelift security contact](https://tidelift.com/security).
|
|
111
|
-
Tidelift will coordinate the fix and disclosure.
|
|
112
|
-
|
|
113
|
-
## License
|
|
114
|
-
|
|
115
|
-
(MIT)
|
|
116
|
-
|
|
117
|
-
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
|
118
|
-
|
|
119
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
120
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
121
|
-
the Software without restriction, including without limitation the rights to
|
|
122
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
123
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
124
|
-
so, subject to the following conditions:
|
|
125
|
-
|
|
126
|
-
The above copyright notice and this permission notice shall be included in all
|
|
127
|
-
copies or substantial portions of the Software.
|
|
128
|
-
|
|
129
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
130
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
131
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
132
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
133
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
134
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
135
|
-
SOFTWARE.
|