index int64 0 0 | repo_id stringlengths 16 181 | file_path stringlengths 28 270 | content stringlengths 1 11.6M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/types | petrpan-code/web-infra-dev/modern.js/packages/toolkit/types/server/utils.d.ts | import type { IncomingMessage, ServerResponse } from 'http';
import type { Options as ProxyOptions } from 'http-proxy-middleware';
export type Metrics = {
emitCounter: (name: string, value: number, tags: Record<string, any>) => void;
emitTimer: (name: string, value: number, tags: Record<string, any>) => void;
ga... | 0 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/.eslintrc.js | module.exports = {
root: true,
extends: ['@modern-js'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
};
| 1 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/.npmignore | .DS_Store
.pnp
.pnp.js
.env.local
.env.*.local
*.log*
node_modules/
*.tsbuildinfo
.eslintcache
coverage/
output/
output_resource/
tests/
.vscode/**/*
!.vscode/settings.json
!.vscode/extensions.json
.idea/
src/
modern.config.*
jest.config.js
.eslintrc.js
.eslintrc
tsconfig.json
CHANGELOG.md
| 2 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/CHANGELOG.md | # @modern-js/upgrade
## 2.41.0
### Patch Changes
- c4d396a: chore(swc): bump swc and helpers
chore(swc): 升级 swc 以及 helpers
- Updated dependencies [c4d396a]
- @modern-js/plugin-i18n@2.41.0
- @modern-js/utils@2.41.0
## 2.40.0
### Patch Changes
- Updated dependencies [95f15d2]
- @modern-js/utils@2.40.0
- @... | 3 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/LICENSE | MIT License
Copyright (c) 2021-present Modern.js
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish,... | 4 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/README.md | <p align="center">
<a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png" width="300" alt="Modern.js Logo" /></a>
</p>
<h1 align="center">Modern.js</h1>
<p align="center">
A Progressive React Framework for modern web development.... | 5 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/jest.config.js | const sharedConfig = require('@scripts/jest-config');
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
...sharedConfig,
rootDir: __dirname,
};
| 6 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/modern.config.js | const { tscLikeBuildConfig } = require('@scripts/build');
module.exports = {
buildConfig: tscLikeBuildConfig,
};
| 7 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/package.json | {
"name": "@modern-js/upgrade",
"description": "A Progressive React Framework for modern web development.",
"homepage": "https://modernjs.dev",
"bugs": "https://github.com/web-infra-dev/modern.js/issues",
"repository": {
"type": "git",
"url": "https://github.com/web-infra-dev/modern.js",
"director... | 8 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/tsconfig.json | {
"extends": "@modern-js/tsconfig/base",
"compilerOptions": {
"declaration": false,
"jsx": "preserve",
"baseUrl": "./",
"isolatedModules": true,
"paths": {}
},
"include": ["src"]
}
| 9 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/bin/run.js | #!/usr/bin/env node
const fs = require('fs');
const path = require('path');
const pkgInfo = require(path.join(__dirname, '../package.json'));
const srcPath = pkgInfo['jsnext:source'];
const distPath = pkgInfo.main;
const project = path.join(__dirname, '../tsconfig.json');
let env = 'production';
if (fs.existsSync(pro... | 10 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/src/index.ts | import { getLocaleLanguage } from '@modern-js/plugin-i18n/language-detector';
import { Command } from '@modern-js/utils/commander';
import type { Options } from './upgrade';
import { i18n, localeKeys } from './locale';
export type { Options };
export function defineCommand(program: Command) {
const locale = getLoca... | 11 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/src/upgrade.ts | import { CodeSmith } from '@modern-js/codesmith';
export interface Options {
cwd?: string;
debug?: boolean;
distTag?: string;
registry?: string;
needInstall?: boolean;
}
const UPGRADE_GENERATOR = '@modern-js/upgrade-generator';
export async function upgradeAction(options: Options) {
const {
cwd = pro... | 12 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/src | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/src/locale/en.ts | export const EN_LOCALE = {
command: {
describe: 'upgrade modern package to latest',
distTag: `use specified tag version for it's generator`,
registry: 'set npm registry url to run npm command',
debug: 'using debug mode to log something',
cwd: 'project path',
noNeedInstall: 'not run install com... | 13 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/src | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/src/locale/index.ts | import { I18n } from '@modern-js/plugin-i18n';
import { ZH_LOCALE } from './zh';
import { EN_LOCALE } from './en';
const i18n = new I18n();
const localeKeys = i18n.init('en', { zh: ZH_LOCALE, en: EN_LOCALE });
export { i18n, localeKeys };
| 14 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/src | petrpan-code/web-infra-dev/modern.js/packages/toolkit/upgrade/src/locale/zh.ts | export const ZH_LOCALE = {
command: {
describe: '升级 Modern.js 到最新版本',
distTag: '升级时底层生成器使用特殊的 npm Tag',
registry: '定制 npm registry',
debug: '开启 Debug 模式,打印调试日志信息',
noNeedInstall: '无需安装依赖',
cwd: '项目路径',
},
};
| 15 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/.eslintrc.js | module.exports = {
root: true,
extends: ['@modern-js'],
ignorePatterns: ['compiled/'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
};
| 16 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/.npmignore | .DS_Store
.pnp
.pnp.js
.env.local
.env.*.local
*.log*
node_modules/
*.tsbuildinfo
.eslintcache
coverage/
output/
output_resource/
tests/
.vscode/**/*
!.vscode/settings.json
!.vscode/extensions.json
.idea/
src/
compiled/
modern.config.*
jest.config.js
.eslintrc.js
.eslintrc
tsconfig.json
CHANGELOG.md
| 17 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/CHANGELOG.md | # @modern-js/utils
## 2.41.0
### Patch Changes
- c4d396a: chore(swc): bump swc and helpers
chore(swc): 升级 swc 以及 helpers
## 2.40.0
### Minor Changes
- 95f15d2: chore: remove ajv schema verification of configuration
chore: 移除 ajv 对项目配置的校验
## 2.39.2
## 2.39.1
## 2.39.0
## 2.38.0
## 2.37.2
## 2.37.1
## 2.... | 18 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/LICENSE | MIT License
Copyright (c) 2021-present Modern.js
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish,... | 19 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/README.md | <p align="center">
<a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png" width="300" alt="Modern.js Logo" /></a>
</p>
<h1 align="center">Modern.js</h1>
<p align="center">
A Progressive React Framework for modern web development.... | 20 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/jest.config.js | const sharedConfig = require('@scripts/jest-config');
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
...sharedConfig,
rootDir: __dirname,
modulePathIgnorePatterns: ['<rootDir>/compiled/'],
};
| 21 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/modern.config.js | const { universalBuildConfig } = require('@scripts/build');
module.exports = {
buildConfig: universalBuildConfig.map((item, index) => {
if (index === 0) {
item.copy = {
patterns: [
{
from: './compiled',
context: __dirname,
to: '../compiled',
}... | 22 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/package.json | {
"name": "@modern-js/utils",
"description": "A Progressive React Framework for modern web development.",
"homepage": "https://modernjs.dev",
"bugs": "https://github.com/web-infra-dev/modern.js/issues",
"repository": {
"type": "git",
"url": "https://github.com/web-infra-dev/modern.js",
"directory"... | 23 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tsconfig.json | {
"extends": "@modern-js/tsconfig/base",
"compilerOptions": {
"target": "ES2019",
"declaration": true,
"outDir": "./dist",
"baseUrl": "./",
"isolatedModules": true,
"jsx": "react-jsx"
},
"include": ["src"]
}
| 24 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/address/index.js | (()=>{"use strict";var e={198:(e,r,a)=>{var n=a(37);var i=a(147);var t=a(81);var f="/etc/resolv.conf";function getInterfaceName(){var e="eth";var r=n.platform();if(r==="darwin"){e="en"}else if(r==="win32"){e=null}return e}function getIfconfigCMD(){if(n.platform()==="win32"){return"ipconfig/all"}return"/sbin/ifconfig"}f... | 25 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/address/package.json | {"name":"address","author":"fengmk2 <fengmk2@gmail.com>","version":"1.1.2","license":"MIT","types":"lib/address.d.ts"}
| 26 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/address | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/address/lib/address.d.ts | export = address;
declare interface Address {
ip: string;
ipv6: string;
mac: string;
}
declare type AddressCallback = (err: Error, addr: Address) => void;
declare type MacCallback = (err: Error, addr: string) => void;
declare type DnsCallback = (err: Error, servers: string[]) => void;
declare function address(... | 27 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/browserslist/index.d.ts | /**
* Return array of browsers by selection queries.
*
* ```js
* browserslist('IE >= 10, IE 8') //=> ['ie 11', 'ie 10', 'ie 8']
* ```
*
* @param queries Browser queries.
* @returns Array with browser names in Can I Use.
*/
declare function browserslist(
queries?: string | readonly string[] | null,
opts?: b... | 28 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/browserslist/index.js | (()=>{var e={923:e=>{function BrowserslistError(e){this.name="BrowserslistError";this.message=e;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;e.exports=BrowserslistError},751:(e,s,r)=>{var n=r(878);var t=r(768).agents;var ... | 29 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/browserslist/license | The MIT License (MIT)
Copyright 2014 Andrey Sitnik <andrey@sitnik.ru> and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the ... | 30 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/browserslist/package.json | {"name":"browserslist","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"4.20.2","funding":[{"type":"opencollective","url":"https://opencollective.com/browserslist"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/browserslist"}],"license":"MIT","types":"./index.d.ts"}
| 31 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chalk/index.d.ts | /**
Basic foreground colors.
[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
*/
declare type ForegroundColor =
| 'black'
| 'red'
| 'green'
| 'yellow'
| 'blue'
| 'magenta'
| 'cyan'
| 'white'
| 'gray'
| 'grey'
| 'blackBright'
| 'redBright'
| 'greenBr... | 32 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chalk/index.js | (()=>{var e={44:(e,t,n)=>{"use strict";e=n.nmd(e);const wrapAnsi16=(e,t)=>(...n)=>{const r=e(...n);return`[${r+t}m`};const wrapAnsi256=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};const ansi2ansi=e=>e;const rg... | 33 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chalk/license | MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to... | 34 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chalk/package.json | {"name":"chalk","version":"4.1.2","funding":"https://github.com/chalk/chalk?sponsor=1","license":"MIT"}
| 35 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chokidar/index.js | (()=>{var t={372:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});const r=s(700);const i=s(498);const n="!";const o={returnIndex:false};const arrify=t=>Array.isArray(t)?t:[t];const createPattern=(t,e)=>{if(typeof t==="function"){return t}if(typeof t==="string"){const s=r(t,e);return e=>t===e||s... | 36 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chokidar/license | The MIT License (MIT)
Copyright (c) 2012-2019 Paul Miller (https://paulmillr.com), Elan Shanker
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation t... | 37 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chokidar/package.json | {"name":"chokidar","author":"Paul Miller (https://paulmillr.com)","version":"3.5.3","funding":[{"type":"individual","url":"https://paulmillr.com/funding/"}],"license":"MIT","types":"./types/index.d.ts"}
| 38 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chokidar | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chokidar/anymatch/index.d.ts | type AnymatchFn = (testString: string) => boolean;
type AnymatchPattern = string|RegExp|AnymatchFn;
type AnymatchMatcher = AnymatchPattern|AnymatchPattern[]
type AnymatchTester = {
(testString: string|any[], returnIndex: true): number;
(testString: string|any[]): boolean;
}
type PicomatchOptions = {dot: boolean};
... | 39 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chokidar | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/chokidar/types/index.d.ts | // TypeScript Version: 3.0
/// <reference types="node" />
import * as fs from 'fs';
import { EventEmitter } from 'events';
import { Matcher } from '../anymatch';
export class FSWatcher extends EventEmitter implements fs.FSWatcher {
options: WatchOptions;
/**
* Constructs a new FSWatcher instance with optiona... | 40 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/commander/index.js | (()=>{var t={81:t=>{"use strict";t.exports=require("child_process")},361:t=>{"use strict";t.exports=require("events")},147:t=>{"use strict";t.exports=require("fs")},17:t=>{"use strict";t.exports=require("path")},282:t=>{"use strict";t.exports=require("process")},632:(t,e,i)=>{const{Argument:n}=i(535);const{Command:s}=i... | 41 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/commander/license | (The MIT License)
Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy,... | 42 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/commander/package.json | {"name":"commander","author":"TJ Holowaychuk <tj@vision-media.ca>","version":"10.0.0","license":"MIT","types":"typings/index.d.ts"}
| 43 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/commander | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/commander/typings/index.d.ts | // Type definitions for commander
// Original definitions by: Alan Agius <https://github.com/alan-agius4>, Marcelo Dezem <https://github.com/mdezem>, vvakame <https://github.com/vvakame>, Jules Randolph <https://github.com/sveinburne>
// Using method rather than property for method-signature-style, to document method ... | 44 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/debug/index.d.ts | // Type definitions for debug 4.1
// Project: https://github.com/visionmedia/debug
// Definitions by: Seon-Wook Park <https://github.com/swook>
// Gal Talmor <https://github.com/galtalmor>
// John McLaughlin <https://github.com/zamb3zi>
// Brasten Sager <https://github.co... | 45 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/debug/index.js | (()=>{var e={434:(e,t,r)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug... | 46 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/debug/license | (The MIT License)
Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
Copyright (c) 2018-2021 Josh Junon
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the 'Software'), to deal in the Software without restriction,
including wit... | 47 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/debug/package.json | {"name":"debug","author":"Josh Junon <josh.junon@protonmail.com>","version":"4.3.4","license":"MIT"}
| 48 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/debug | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/debug/ms/index.d.ts | // Type definitions for ms v0.7.1
// Project: https://github.com/zeit/ms
// Definitions by: Zhiyuan Wang <https://github.com/danny8002>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Short/Long format for `value`.
*
* @param {Number} value
* @param {{long: boolean}} options
* @return {Strin... | 49 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/dotenv-expand/index.d.ts | export = dotenv_expand;
interface DotenvResult {
error?: Error;
parsed?: {
[name: string]: string;
};
}
declare function dotenv_expand(config: DotenvResult): DotenvResult;
declare namespace dotenv_expand {
const prototype: {
};
}
| 50 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/dotenv-expand/index.js | (()=>{"use strict";var r={926:r=>{var dotenvExpand=function(r){var e=r.ignoreProcessEnv?{}:process.env;var interpolate=function(a){var _=a.match(/(.?\${?(?:[a-zA-Z0-9_]+)?}?)/g)||[];return _.reduce((function(a,_){var n=/(.?)\${?([a-zA-Z0-9_]+)?}?/g.exec(_);var t=n[1];var s,p;if(t==="\\"){p=n[0];s=p.replace("\\$","$")}e... | 51 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/dotenv-expand/license | Copyright (c) 2016, Scott Motte
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following discl... | 52 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/dotenv-expand/package.json | {"name":"dotenv-expand","author":"motdotla","version":"5.1.0","license":"BSD-2-Clause","types":"./index.d.ts"}
| 53 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/dotenv/index.js | (()=>{var e={608:(e,r,n)=>{const t=n(147);const o=n(17);const s=n(37);function log(e){console.log(`[dotenv][DEBUG] ${e}`)}const i="\n";const c=/^\s*([\w.-]+)\s*=\s*(.*)?\s*$/;const l=/\\n/g;const a=/\r\n|\n|\r/;function parse(e,r){const n=Boolean(r&&r.debug);const t={};e.toString().split(a).forEach((function(e,r){const... | 54 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/dotenv/license | Copyright (c) 2015, Scott Motte
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following discl... | 55 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/dotenv/package.json | {"name":"dotenv","version":"10.0.0","license":"BSD-2-Clause","types":"types/index.d.ts"}
| 56 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/dotenv | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/dotenv/types/index.d.ts | // TypeScript Version: 3.0
/// <reference types="node" />
export interface DotenvParseOptions {
/**
* You may turn on logging to help debug why certain keys or values are not being set as you expect.
*/
debug?: boolean;
}
export interface DotenvParseOutput {
[name: string]: string;
}
/**
* Parses a stri... | 57 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/execa/index.d.ts | /// <reference types="node"/>
import {ChildProcess} from 'child_process';
import {Stream, Readable as ReadableStream} from 'stream';
declare namespace execa {
type StdioOption =
| 'pipe'
| 'ipc'
| 'ignore'
| 'inherit'
| Stream
| number
| undefined;
interface CommonOptions<EncodingType> {
/**
Kill ... | 58 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/execa/index.js | (()=>{var e={328:(e,t,n)=>{"use strict";const r=n(81);const o=n(529);const s=n(170);function spawn(e,t,n){const i=o(e,t,n);const a=r.spawn(i.command,i.args,i.options);s.hookChildProcess(a,i);return a}function spawnSync(e,t,n){const i=o(e,t,n);const a=r.spawnSync(i.command,i.args,i.options);a.error=a.error||s.verifyENOE... | 59 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/execa/license | MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the r... | 60 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/execa/package.json | {"name":"execa","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"version":"5.1.1","funding":"https://github.com/sindresorhus/execa?sponsor=1","license":"MIT"}
| 61 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/index.js | (()=>{var t={6491:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const n=r(7147);e.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync};function createFileSy... | 62 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/license | The MIT License (MIT)
Copyright (c) Denis Malinochkin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | 63 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/package.json | {"name":"fast-glob","author":{"name":"Denis Malinochkin","url":"https://mrmlnc.com"},"version":"3.2.11","license":"MIT","typings":"out/index.d.ts"}
| 64 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts | import type { FileSystemAdapter, ReaddirAsynchronousMethod, ReaddirSynchronousMethod } from './adapters/fs';
import * as async from './providers/async';
import Settings, { Options } from './settings';
import type { Dirent, Entry } from './types';
declare type AsyncCallback = async.AsyncCallback;
declare function scandi... | 65 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts | import * as fsStat from '../../@nodelib/fs.stat';
import * as fs from './adapters/fs';
export interface Options {
followSymbolicLinks?: boolean;
fs?: Partial<fs.FileSystemAdapter>;
pathSegmentSeparator?: string;
stats?: boolean;
throwErrorOnBrokenSymbolicLink?: boolean;
}
export default class Settin... | 66 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts | import type * as fsStat from '../../../@nodelib/fs.stat';
import type { Dirent, ErrnoException } from '../types';
export interface ReaddirAsynchronousMethod {
(filepath: string, options: {
withFileTypes: true;
}, callback: (error: ErrnoException | null, files: Dirent[]) => void): void;
(filepath: st... | 67 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts | /// <reference types="node" />
import type Settings from '../settings';
import type { Entry } from '../types';
export declare type AsyncCallback = (error: NodeJS.ErrnoException, entries: Entry[]) => void;
export declare function read(directory: string, settings: Settings, callback: AsyncCallback): void;
export declare ... | 68 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts | /// <reference types="node" />
import type * as fs from 'fs';
export interface Entry {
dirent: Dirent;
name: string;
path: string;
stats?: Stats;
}
export declare type Stats = fs.Stats;
export declare type ErrnoException = NodeJS.ErrnoException;
export interface Dirent {
isBlockDevice: () => boolean... | 69 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts | import type { FileSystemAdapter, StatAsynchronousMethod, StatSynchronousMethod } from './adapters/fs';
import * as async from './providers/async';
import Settings, { Options } from './settings';
import type { Stats } from './types';
declare type AsyncCallback = async.AsyncCallback;
declare function stat(path: string, c... | 70 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts | import * as fs from './adapters/fs';
export interface Options {
followSymbolicLink?: boolean;
fs?: Partial<fs.FileSystemAdapter>;
markSymbolicLink?: boolean;
throwErrorOnBrokenSymbolicLink?: boolean;
}
export default class Settings {
private readonly _options;
readonly followSymbolicLink: boolea... | 71 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts | /// <reference types="node" />
import * as fs from 'fs';
import type { ErrnoException } from '../types';
export declare type StatAsynchronousMethod = (path: string, callback: (error: ErrnoException | null, stats: fs.Stats) => void) => void;
export declare type StatSynchronousMethod = (path: string) => fs.Stats;
export ... | 72 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts | import type Settings from '../settings';
import type { ErrnoException, Stats } from '../types';
export declare type AsyncCallback = (error: ErrnoException, stats: Stats) => void;
export declare function read(path: string, settings: Settings, callback: AsyncCallback): void;
| 73 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts | /// <reference types="node" />
import type * as fs from 'fs';
export declare type Stats = fs.Stats;
export declare type ErrnoException = NodeJS.ErrnoException;
| 74 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts | /// <reference types="node" />
import type { Readable } from 'stream';
import type { Dirent, FileSystemAdapter } from '../../@nodelib/fs.scandir';
import { AsyncCallback } from './providers/async';
import Settings, { DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction, Options } from './settings';
import type ... | 75 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts | import * as fsScandir from '../../@nodelib/fs.scandir';
import type { Entry, Errno } from './types';
export declare type FilterFunction<T> = (value: T) => boolean;
export declare type DeepFilterFunction = FilterFunction<Entry>;
export declare type EntryFilterFunction = FilterFunction<Entry>;
export declare type ErrorFi... | 76 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts | import AsyncReader from '../readers/async';
import type Settings from '../settings';
import type { Entry, Errno } from '../types';
export declare type AsyncCallback = (error: Errno, entries: Entry[]) => void;
export default class AsyncProvider {
private readonly _root;
private readonly _settings;
protected ... | 77 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts | /// <reference types="node" />
import { EventEmitter } from 'events';
import * as fsScandir from '../../../@nodelib/fs.scandir';
import type Settings from '../settings';
import type { Entry, Errno } from '../types';
import Reader from './reader';
declare type EntryEventCallback = (entry: Entry) => void;
declare type Er... | 78 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts | import type Settings from '../settings';
export default class Reader {
protected readonly _root: string;
protected readonly _settings: Settings;
constructor(_root: string, _settings: Settings);
}
| 79 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts | /// <reference types="node" />
import type * as scandir from '../../../@nodelib/fs.scandir';
export declare type Entry = scandir.Entry;
export declare type Errno = NodeJS.ErrnoException;
export interface QueueItem {
directory: string;
base?: string;
}
| 80 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/out/index.d.ts | /// <reference types="node" />
import * as taskManager from './managers/tasks';
import { Options as OptionsInternal } from './settings';
import { Entry as EntryInternal, FileSystemAdapter as FileSystemAdapterInternal, Pattern as PatternInternal } from './types';
declare type EntryObjectModePredicate = {
[TKey in ke... | 81 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/out/settings.d.ts | import { FileSystemAdapter, Pattern } from './types';
export declare const DEFAULT_FILE_SYSTEM_ADAPTER: FileSystemAdapter;
export declare type Options = {
/**
* Return the absolute path for entries.
*
* @default false
*/
absolute?: boolean;
/**
* If set to `true`, then patterns with... | 82 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/out/managers/tasks.d.ts | import Settings from '../settings';
import { Pattern, PatternsGroup } from '../types';
export declare type Task = {
base: string;
dynamic: boolean;
patterns: Pattern[];
positive: Pattern[];
negative: Pattern[];
};
export declare function generate(patterns: Pattern[], settings: Settings): Task[];
/**... | 83 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/out | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fast-glob/out/types/index.d.ts | /// <reference types="node" />
import * as fsWalk from '../../@nodelib/fs.walk';
export declare type ErrnoException = NodeJS.ErrnoException;
export declare type Entry = fsWalk.Entry;
export declare type EntryItem = string | Entry;
export declare type Pattern = string;
export declare type PatternRe = RegExp;
export decl... | 84 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/filesize/filesize.d.ts | // Type definitions for filesize 8.0.3
// Project: https://github.com/avoidwork/filesize.js, https://filesizejs.com
// Definitions by: Giedrius Grabauskas <https://github.com/GiedriusGrabauskas>
// Renaud Chaput <https://github.com/renchap>
// Roman Nuritdinov <https://github.com/Ky6uk>
... | 85 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/filesize/index.js | (()=>{var i={823:function(i){
/**
* filesize
*
* @copyright 2022 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 8.0.7
*/
(function(e,t){true?i.exports=t():0})(this,(function(){"use strict";var i=/^(b|B)$/,e={iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit"... | 86 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/filesize/license | Copyright (c) 2022, Jason Mulligan
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following di... | 87 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/filesize/package.json | {"name":"filesize","author":"Jason Mulligan <jason.mulligan@avoidwork.com>","version":"8.0.7","license":"BSD-3-Clause","types":"filesize.d.ts"}
| 88 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fs-extra/index.d.ts | // Type definitions for fs-extra 9.0
// Project: https://github.com/jprichardson/node-fs-extra
// Definitions by: Alan Agius <https://github.com/alan-agius4>,
// midknight41 <https://github.com/midknight41>,
// Brendan Forster <https://github.com/shiftkey>,
// Mees van Di... | 89 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fs-extra/index.js | (()=>{var e={571:(e,t,r)=>{"use strict";const n=r(127);const i=r(17);const o=r(971).mkdirsSync;const c=r(309).utimesMillisSync;const s=r(883);function copySync(e,t,r){if(typeof r==="function"){r={filter:r}}r=r||{};r.clobber="clobber"in r?!!r.clobber:true;r.overwrite="overwrite"in r?!!r.overwrite:r.clobber;if(r.preserve... | 90 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fs-extra/license | (The MIT License)
Copyright (c) 2011-2017 JP Richardson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
merge, ... | 91 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/fs-extra/package.json | {"name":"fs-extra","author":"JP Richardson <jprichardson@gmail.com>","version":"10.0.1","license":"MIT"}
| 92 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/glob/index.d.ts | // Type definitions for Glob 7.2
// Project: https://github.com/isaacs/node-glob
// Definitions by: vvakame <https://github.com/vvakame>
// voy <https://github.com/voy>
// Klaus Meinhardt <https://github.com/ajafff>
// Piotr Błażejewicz <https://github.com/peterblazejewic... | 93 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/glob/index.js | (()=>{var t={155:t=>{"use strict";t.exports=balanced;function balanced(t,e,r){if(t instanceof RegExp)t=maybeMatch(t,r);if(e instanceof RegExp)e=maybeMatch(e,r);var i=range(t,e,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+t.length,i[1]),post:r.slice(i[1]+e.length)}}function maybeMatch(t,e){var... | 94 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/glob/license | The ISC License
Copyright (c) Isaac Z. Schlueter and Contributors
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE ... | 95 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/glob/package.json | {"name":"glob","author":"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)","version":"7.2.0","funding":{"url":"https://github.com/sponsors/isaacs"},"license":"ISC"}
| 96 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/glob | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/glob/minimatch/index.d.ts | // Type definitions for Minimatch 3.0
// Project: https://github.com/isaacs/minimatch
// Definitions by: vvakame <https://github.com/vvakame>
// Shant Marouti <https://github.com/shantmarouti>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Tests a path against the pattern usi... | 97 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/globby/index.d.ts | import {Options as FastGlobOptions, Entry as FastGlobEntry} from '../fast-glob';
declare namespace globby {
type ExpandDirectoriesOption =
| boolean
| readonly string[]
| {files?: readonly string[]; extensions?: readonly string[]};
type Entry = FastGlobEntry;
interface GlobbyOptions extends FastGlobOptions ... | 98 |
0 | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled | petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/compiled/globby/index.js | (()=>{var t={337:t=>{"use strict";t.exports=(...t)=>[...new Set([].concat(...t))]},352:(t,e,r)=>{"use strict";const n=r(17);const s=r(223);const getExtensions=t=>t.length>1?`{${t.join(",")}}`:t[0];const getPath=(t,e)=>{const r=t[0]==="!"?t.slice(1):t;return n.isAbsolute(r)?r:n.join(e,r)};const addExtensions=(t,e)=>{if(... | 99 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.