We have 153 possible forms:
Aerosol
Aerosol, foam
Aerosol, metered
Aerosol, powder
Aerosol, spray
Bar, chewable
Bead
Capsule
| import { set } from 'jsonpointer'; | |
| import { maxDate, minDate } from './date'; | |
| export function parseForm<T extends object>( | |
| data: FormData | URLSearchParams | |
| ): T { | |
| const obj = Object.create(null) as T; | |
| for (const [key, value] of data) { | |
| if (typeof value !== 'string') { | |
| throw new Error(`Unexpected value type: ${value}`); |
We have 153 possible forms:
Aerosol
Aerosol, foam
Aerosol, metered
Aerosol, powder
Aerosol, spray
Bar, chewable
Bead
Capsule
A GitHub action to optimize PNG files that were created/modified in a pull request.
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Path fitter</title> | |
| <style> | |
| form { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; |
| const { base64url } = await import('https://cdn.skypack.dev/rfc4648'); | |
| /** | |
| * @param {JsonWebKey} key | |
| */ | |
| async function generateThumbprint(key) { | |
| // https://datatracker.ietf.org/doc/html/rfc7638 | |
| const { e, kty, n } = key; | |
| const json = JSON.stringify({ e, kty, n }); | |
| const encoder = new TextEncoder(); | |
| const digest = await crypto.subtle.digest('SHA-256', encoder.encode(json)); |
package.json
{
"name": "xxxxxxx",
"version": "1.0.0",
"description": "Parcel reporter to emit bundle manifest",
"main": "index.js",
"repository": "xxxxxxx",
"author": "xxxxxxx",
"homepage": "xxxxxxx",| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>GistRun</title> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@microsoft/atlas-css/dist/index.css"> | |
| <!-- fake design system styles or application styles to illustrate styling the "public interface" of the web component (the component itself as well as "parts" it's exposed for styling) --> | |
| <style> |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>GistRun</title> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@microsoft/atlas-css/dist/index.css"> | |
| <!-- fake design system styles or application styles to illustrate styling the "public interface" of the web component (the component itself as well as "parts" it's exposed for styling) --> | |
| <style> |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>GistRun</title> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@microsoft/atlas-css/dist/index.css"> | |
| <!-- fake design system styles or application styles to illustrate styling the "public interface" of the web component (the component itself as well as "parts" it's exposed for styling) --> | |
| <style> |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>GistRun</title> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@microsoft/atlas-css/dist/index.css"> | |
| <!-- fake design system styles or application styles to illustrate styling the "public interface" of the web component (the component itself as well as "parts" it's exposed for styling) --> | |
| <style> |