Aspekt | Before (Node.js + Bun) | After (Deno + Cliffy) | Status |
---|---|---|---|
Runtime | Node.js 20+ + Bun | Deno 2.0+ | ✅ MIGRATED |
Framework | Gluegun CLI | Cliffy CLI | ✅ MIGRATED |
Dependencies | 20+ npm packages | 0 packages (URL imports) | ✅ CLEANED |
Build System | TypeScript → JS compilation | Native TS execution | ✅ SIMPLIFIED |
Testing | Vitest framework | Deno native testing | ✅ MIGRATED |
Configuration | 5+ config files | 1 deno.json | ✅ MINIMIZED |
Binary Size | ~50MB | ~500MB (full runtime) | |
Security | npm audit | Permission-based | ✅ ENHANCED |
Poniższa tabela opisuje każde z głównych uprawnień dostępnych w Fine-grained PAT, wraz z przykładami operacji, które można dzięki nim wykonać, oraz potencjalnymi zagrożeniami w przypadku wycieku tokena.
Uprawnienie | Co można zrobić | Zagrożenia przy ujawnieniu |
---|---|---|
Repository metadata | Odczyt nazwy repozytoriów, opisów, listy współpracowników, informacj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class PimcoreTinkerwellDriver extends TinkerwellDriver | |
{ | |
public function canBootstrap($projectPath): bool | |
{ | |
return true; | |
} | |
public function bootstrap($projectPath): void |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# env php.ini | |
ENV PHP_MEMORY_LIMIT "256M" | |
ENV PHP_POST_MAX_SIZE "100M" | |
ENV PHP_UPLOAD_MAX_FILESIZE "100M" | |
ENV PHP_DISPLAY_STARTUP_ERRORS 1 | |
ENV PHP_MAX_EXECUTION_TIME "30" | |
ENV PHP_ERROR_REPORTING "E_ALL" | |
# opcache settings | |
ENV OPCACHE_ENABLE 1 |
Put file PimcoreTinkerwellDriver.php
in .tinkerwell
directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App\Provider\RepoDataProvider: | |
arguments: | |
$githubClient: !service | |
class: Symfony\Component\HttpClient\CachingHttpClient | |
arguments: | |
$client: '@github.client' | |
$store: !service | |
class: Symfony\Component\HttpKernel\HttpCache\Store | |
arguments: | |
$root: '%kernel.cache_dir%/http-client-github' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
["http://localhost", [ | |
["connect-src", "connect-src self http://localhost:23517/"] | |
]] | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Redmine: Safe Time Entry | |
// @include https://*/issues/* | |
// @include https://*/time_entries/* | |
// ==/UserScript== | |
jQuery(document).on( | |
"input change click focus blur", | |
"#time_entry_hours", | |
function () { |
NewerOlder