パッケージを公開するリポジトリにセキュリティ管理について扱う
- OIDC
- Trusted Publisher
パッケージを公開するリポジトリにセキュリティ管理について扱う
ts-blank-spacetags: TypeScript, type erasure, type stripping
As part of my work on the JavaScript Tooling team at Bloomberg I have implemented an experimental (not yet used in production) package to transform TypeScript into JavaScript using a somewhat novel approach.
This is a description of what I learned from implementing the idea. The source code will be open sourced soon - it just needs some regular IP approval.
| export type BaseEnvRecord = Record< | |
| string, | |
| { | |
| value: string | undefined; | |
| required: boolean; | |
| defaultValue?: string; | |
| } | |
| >; | |
| export type ReturnTypeOfCreateEnv<T extends BaseEnvRecord> = { | |
| // If the value is required, it should be a string, otherwise it should be a string or undefined |
Ref なぜ僕は公式ドキュメントを読むのが苦手なのか #初心者 - Qiita
次のようなセクションがあった場合、何を読むかというのはその目的によって異なるという印象。
| // ==UserScript== | |
| // @name Bluesky: auto refresh | |
| // @namespace https://efcl.info | |
| // @match https://bsky.app/* | |
| // @grant none | |
| // @version 1.0 | |
| // @author azu | |
| // @description Auto Refresh when notifications is shown | |
| // ==/UserScript== | |
| const origSetInterval = window.setInterval; |
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code.
It is a script to convert a TypeScript library project to a Node.js Dual CommonJS/ES module packages.
This script aim to convert following project:
| id: 2022.08.23-ubuntu-18.04 | |
| title: "CI: update ubuntu-18.04 to ubuntu-latest" | |
| adapter: | |
| type: github | |
| search_type: code | |
| search_query: org:{{user}} path:/.github/workflows | |
| hooks: | |
| should_migrate: | |
| - ls .github/workflows | |
| - find .github/workflows -type f -name "*.y*ml" -exec grep "ubuntu-18.04" {} +; |