パッケージを公開するリポジトリにセキュリティ管理について扱う
- OIDC
- Trusted Publisher
| POST / HTTP/1.1 | |
| Host: localhost | |
| User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 | |
| Next-Action: x | |
| Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryx8jO2oVc6SWP3Sad | |
| Content-Length: 459 | |
| ------WebKitFormBoundaryx8jO2oVc6SWP3Sad | |
| Content-Disposition: form-data; name="0" |
パッケージを公開するリポジトリにセキュリティ管理について扱う
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: