File tree Expand file tree Collapse file tree 12 files changed +13
-4
lines changed Expand file tree Collapse file tree 12 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ export type ParseScriptSubtag<
258258> = Result
259259
260260/**
261- * parser unicode script subtag (EBNF: = alpha{4};)
261+ * parse unicode script subtag (EBNF: = alpha{4};)
262262 * https://unicode.org/reports/tr35/#unicode_script_subtag
263263 */
264264// TODO: Check if the script subtag is in CLDR
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import test from 'node:test'
33import { createServer } from 'node:http'
44import playwright from 'playwright'
55import handler from 'serve-handler'
6+ import process from 'node:process'
67
78const sleep = ( ms ) => new Promise ( ( resolve ) => setTimeout ( resolve , ms ) )
89
Original file line number Diff line number Diff line change 1- <!doctype html>
1+ <!DOCTYPE html>
22< html lang ="en ">
33 < head >
44 < meta charset ="UTF-8 " />
Original file line number Diff line number Diff line change 11import { createServer } from 'node:http'
22import { getHeaderLanguages } from '@intlify/utils/node'
3+ import process from 'node:process'
34
45const server = createServer ( ( req , res ) => {
56 const languages = getHeaderLanguages ( req )
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import assert from 'node:assert'
22import test from 'node:test'
33import { spawn } from 'node:child_process'
44import { fetch } from 'ofetch'
5+ import process from 'node:process'
56
67const sleep = ( ms ) => new Promise ( ( resolve ) => setTimeout ( resolve , ms ) )
78
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import semver from 'semver'
55import { readPackageJSON } from 'pkg-types'
66
77import type { ParseError } from 'jsonc-parser'
8+ import process from 'node:process'
89
910async function main ( ) {
1011 const npmPath = resolve ( process . cwd ( ) , 'package.json' )
Original file line number Diff line number Diff line change 11import { execSync } from 'node:child_process'
22import { promises as fs } from 'node:fs'
33import { resolve } from 'node:path'
4+ import process from 'node:process'
45
56async function main ( ) {
67 const commit = execSync ( 'git rev-parse --short HEAD' ) . toString ( 'utf-8' ) . trim ( )
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { resolve } from 'node:path'
33import { fileURLToPath } from 'node:url'
44import { isExists } from './utils.ts'
55import { readPackageJSON } from 'pkg-types'
6+ import process from 'node:process'
67
78const __dirname = fileURLToPath ( new URL ( '.' , import . meta. url ) )
89
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { resolve } from 'node:path'
22import { fileURLToPath } from 'node:url'
33import { readPackageJSON } from 'pkg-types'
44import { isExists } from './utils.ts'
5+ import process from 'node:process'
56
67const __dirname = fileURLToPath ( new URL ( '.' , import . meta. url ) )
78
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { resolve } from 'node:path'
33import { fileURLToPath } from 'node:url'
44import { readPackageJSON , writePackageJSON } from 'pkg-types'
55import { isExists } from './utils.ts'
6+ import process from 'node:process'
67
78const __dirname = fileURLToPath ( new URL ( '.' , import . meta. url ) )
89
You can’t perform that action at this time.
0 commit comments