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/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/find-up/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... | 9,500 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/find-up/package.json | {"name":"find-up","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"version":"5.0.0","funding":"https://github.com/sponsors/sindresorhus","license":"MIT"}
| 9,501 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/find-up | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/find-up/locate-path/index.d.ts | declare namespace locatePath {
interface Options {
/**
Current working directory.
@default process.cwd()
*/
readonly cwd?: string;
/**
Type of path to match.
@default 'file'
*/
readonly type?: 'file' | 'directory';
/**
Allow symbolic links to match if they point to the requested path type.
... | 9,502 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/less/index.d.ts | // Type definitions for LESS 3.x
// Project: http://lesscss.org/
// Definitions by: Tom Hasner <https://github.com/thasner>
// Pranay Prakash <https://github.com/pranaygp>
// Daniel Waxweiler <https://github.com/dwaxweiler>
// Richard Lea <https://github.com/chigix>
// De... | 9,503 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/less/index.js | (()=>{var e={8132:e=>{"use strict";e.exports=clone;var t=Object.getPrototypeOf||function(e){return e.__proto__};function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var i={__proto__:t(e)};else var i=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(t){Object.definePropert... | 9,504 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/less/package.json | {"name":"less","author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"version":"4.1.3","license":"Apache-2.0"}
| 9,505 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/normalize-path/index.d.ts | // Type definitions for normalize-path 3.0
// Project: https://github.com/jonschlinkert/normalize-path
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = normalizePath;
declare function normalizePath(path: string, stripTraili... | 9,506 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/normalize-path/index.js | (()=>{var e={498:e=>{
/*!
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License.
*/
e.exports=function(e,r){if(typeof e!=="string"){throw new TypeError("expected path to be a string")}if(e==="\\"||e==="/")return"/";var t=e.l... | 9,507 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/normalize-path/license | The MIT License (MIT)
Copyright (c) 2014-2018, Jon Schlinkert.
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, m... | 9,508 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/normalize-path/package.json | {"name":"normalize-path","author":"Jon Schlinkert (https://github.com/jonschlinkert)","version":"3.0.0","license":"MIT"}
| 9,509 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/index.d.ts | declare namespace pMap {
interface Options {
/**
Number of concurrently pending promises returned by `mapper`.
Must be an integer from 1 and up or `Infinity`.
@default Infinity
*/
readonly concurrency?: number;
/**
When set to `false`, instead of stopping when a promise rejects, it will wait for all... | 9,510 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/index.js | (()=>{"use strict";var e={964:(e,r,t)=>{const n=t(841);const o=t(111);const cleanInternalStack=e=>e.replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g,"");class AggregateError extends Error{constructor(e){if(!Array.isArray(e)){throw new TypeError(`Expected input to be an Array, got ${typeof e}`)}e=[...e].map((e=>{... | 9,511 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/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... | 9,512 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/package.json | {"name":"p-map","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"version":"4.0.0","funding":"https://github.com/sponsors/sindresorhus","license":"MIT"}
| 9,513 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/@szmarczak/http-timer/dist | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/@szmarczak/http-timer/dist/source/index.d.ts | /// <reference types="node" />
import { ClientRequest, IncomingMessage } from 'http';
export interface Timings {
start: number;
socket?: number;
lookup?: number;
connect?: number;
secureConnect?: number;
upload?: number;
response?: number;
end?: number;
error?: number;
abort?: nu... | 9,514 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/cacheable-lookup/index.d.ts | import {Resolver, promises as dnsPromises, lookup} from 'dns';
import {Agent} from 'http';
type AsyncResolver = dnsPromises.Resolver;
export type IPFamily = 4 | 6;
type TPromise<T> = T | Promise<T>;
export interface CacheInstance {
set(hostname: string, entries: EntryObject[], ttl: number): TPromise<void | boolean... | 9,515 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/cacheable-request/index.d.ts | // Type definitions for cacheable-request 6.0
// Project: https://github.com/lukechilds/cacheable-request#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Paul Melnikow <https://github.com/paulmelnikow>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Ty... | 9,516 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/index.d.ts | declare const got: import('./types').Got;
export default got;
export * from './create';
export * from './as-promise';
| 9,517 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/types.d.ts | /// <reference types="node" />
import { URL } from 'url';
import { CancelError } from '../../../p-cancelable';
import { CancelableRequest, Response, Options, NormalizedOptions, Defaults as DefaultOptions, PaginationOptions, ParseError, RequestError, CacheError, ReadError, HTTPError, MaxRedirectsError, TimeoutError, Uns... | 9,518 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/as-promise/index.d.ts | import { NormalizedOptions, CancelableRequest } from './types';
export default function asPromise<T>(normalizedOptions: NormalizedOptions): CancelableRequest<T>;
export * from './types';
| 9,519 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/as-promise/types.d.ts | /// <reference types="node" />
import PCancelable = require('../../../../p-cancelable');
import Request, { Options, Response, RequestError, RequestEvents } from '../core';
/**
All parsing methods supported by Got.
*/
export declare type ResponseType = 'json' | 'buffer' | 'text';
export interface PaginationOptions<T, R>... | 9,520 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/core/index.d.ts | /// <reference types="node" />
import { Duplex, Readable } from 'stream';
import { URL, URLSearchParams } from 'url';
import { Socket } from 'net';
import { SecureContextOptions, DetailedPeerCertificate } from 'tls';
import http = require('http');
import { ClientRequest, RequestOptions, ServerResponse, request as httpR... | 9,521 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/core | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/core/utils/dns-ip-version.d.ts | export declare type DnsLookupIpVersion = 'auto' | 'ipv4' | 'ipv6';
declare type DnsIpFamily = 0 | 4 | 6;
export declare const isDnsLookupIpVersion: (value: any) => boolean;
export declare const dnsLookupIpVersionToFamily: (dnsLookupIpVersion: DnsLookupIpVersion) => DnsIpFamily;
export {};
| 9,522 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/core | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/core/utils/options-to-url.d.ts | import { URL } from 'url';
export interface URLOptions {
href?: string;
protocol?: string;
host?: string;
hostname?: string;
port?: string | number;
pathname?: string;
search?: string;
searchParams?: unknown;
path?: string;
}
declare const _default: (origin: string, options: URLOptio... | 9,523 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/core | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/got/dist/source/core/utils/timed-out.d.ts | import { ClientRequest } from 'http';
declare const reentry: unique symbol;
interface TimedOutOptions {
host?: string;
hostname?: string;
protocol?: string;
}
export interface Delays {
lookup?: number;
connect?: number;
secureConnect?: number;
socket?: number;
response?: number;
send... | 9,524 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/http-cache-semantics/index.d.ts | // Type definitions for http-cache-semantics 4.0
// Project: https://github.com/kornelski/http-cache-semantics#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = CachePolicy;
declare class CachePolicy {
constructor... | 9,525 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/keyv | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/keyv/src/index.d.ts | import {EventEmitter} from 'events';
type WithRequiredProperties<T, K extends keyof T> = T & Required<Pick<T, K>>;
declare class Keyv<Value = any, Options extends Record<string, any> = Record<string, unknown>> extends EventEmitter {
/**
* `this.opts` is an object containing at least the properties listed
*... | 9,526 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/p-cancelable/index.d.ts | declare class CancelErrorClass extends Error {
readonly name: 'CancelError';
readonly isCanceled: true;
constructor(reason?: string);
}
declare namespace PCancelable {
/**
Accepts a function that is called when the promise is canceled.
You're not required to call this function. You can call this function multi... | 9,527 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/p-map/responselike/index.d.ts | // Type definitions for responselike 1.0
// Project: https://github.com/lukechilds/responselike#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { IncomingMessage } from 'http';
import { ... | 9,528 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-custom-properties/index.d.ts | export = any;
| 9,529 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-custom-properties/index.js | (()=>{"use strict";var e={36:e=>{e.exports=require("../postcss-value-parser")},161:(e,n,o)=>{var t=o(484),r=o(317);class LayerName{parts;constructor(e){this.parts=e}tokens(){return[...this.parts]}slice(e,n){const o=[];for(let e=0;e<this.parts.length;e++)this.parts[e][0]===t.TokenType.Ident&&o.push(e);const r=o.slice(e,... | 9,530 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-custom-properties/package.json | {"name":"postcss-custom-properties","author":"Jonathan Neal <jonathantneal@hotmail.com>","version":"13.1.5","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"license":"MIT","types":"index.d.ts"}
| 9,531 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-flexbugs-fixes/index.d.ts | export = any;
| 9,532 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-flexbugs-fixes/index.js | (()=>{var e={750:(e,r,a)=>{var u=a(977);function shouldSetZeroBasis(e){if(!e){return false}return e==="0"||e.replace(/\s/g,"")==="0px"}function properBasis(e){if(shouldSetZeroBasis(e)){return"0%"}return e}e.exports=function(e){if(e.prop==="flex"){var r=u.list.space(e.value);var a="0";var s="1";var t="0%";if(r[0]){a=r[0... | 9,533 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-flexbugs-fixes/license | The MIT License (MIT)
Copyright 2015 Luis Rudge <luis@luisrudge.net>
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, mod... | 9,534 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-flexbugs-fixes/package.json | {"name":"postcss-flexbugs-fixes","author":"Luis Rudge <luis@luisrudge.net>","version":"5.0.2","license":"MIT","types":"index.d.ts"}
| 9,535 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-font-variant/index.d.ts | export = any;
| 9,536 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-font-variant/index.js | (()=>{var e={690:e=>{const n={"font-variant-ligatures":{"common-ligatures":'"liga", "clig"',"no-common-ligatures":'"liga", "clig off"',"discretionary-ligatures":'"dlig"',"no-discretionary-ligatures":'"dlig" off',"historical-ligatures":'"hlig"',"no-historical-ligatures":'"hlig" off',contextual:'"calt"',"no-contextual":'... | 9,537 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-font-variant/license | The MIT License (MIT)
Copyright (c) 2014 Maxime Thirouin & Ian Storm Taylor
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, co... | 9,538 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-font-variant/package.json | {"name":"postcss-font-variant","author":"Maxime Thirouin","version":"5.0.0","license":"MIT","types":"index.d.ts"}
| 9,539 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-initial/index.d.ts | export = any;
| 9,540 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-initial/index.js | (()=>{var i={986:(i,t,r)=>{var n=r(614);i.exports=function postcssInitial(i){i=i||{};i.reset=i.reset||"all";i.replace=i.replace||false;var t=n(i.reset==="inherited");var getPropPrevTo=function(i,t){var r=false;t.parent.walkDecls((function(i){if(i.prop===t.prop&&i.value!==t.value){r=true}}));return r};return{postcssPlug... | 9,541 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-initial/license | The MIT License (MIT)
Copyright 2015 Maksim Koretskiy <mr.green.tv@gmail.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
use, ... | 9,542 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-initial/package.json | {"name":"postcss-initial","author":"Maksim Koretskiy <mr.green.tv@gmail.com>","version":"4.0.1","license":"MIT","types":"index.d.ts"}
| 9,543 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-media-minmax/index.d.ts | export = any;
| 9,544 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-media-minmax/index.js | (()=>{var e={518:e=>{const r={width:"px",height:"px","device-width":"px","device-height":"px","aspect-ratio":"","device-aspect-ratio":"",color:"","color-index":"",monochrome:"",resolution:"dpi"};const t=Object.keys(r);const s=.001;const a={">":1,"<":-1};const n={">":"min","<":"max"};function create_query(e,t,i,o){retur... | 9,545 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-media-minmax/license | The MIT License (MIT)
Copyright (c) 2014 PostCSS
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,... | 9,546 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-media-minmax/package.json | {"name":"postcss-media-minmax","author":"yisi","version":"5.0.0","license":"MIT","types":"index.d.ts"}
| 9,547 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-nesting/index.d.ts | export = any;
| 9,548 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-nesting/index.js | (()=>{var e={811:e=>{"use strict";
/*! https://mths.be/cssesc v3.0.0 by @mathias */var t={};var r=t.hasOwnProperty;var n=function merge(e,t){if(!e){return t}var n={};for(var i in t){n[i]=r.call(e,i)?e[i]:t[i]}return n};var i=/[ -,\.\/:-@\[-\^`\{-~]/;var s=/[ -,\.\/:-@\[\]\^`\{-~]/;var o=/['"\\]/;var a=/(^|\\+)?(\\[A-F0... | 9,549 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-nesting/package.json | {"name":"postcss-nesting","version":"12.0.1","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"license":"MIT-0","types":"index.d.ts"}
| 9,550 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-page-break/index.d.ts | export = any;
| 9,551 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-page-break/index.js | (()=>{var e={772:e=>{e.exports=function(e){return{postcssPlugin:"postcss-page-break",Declaration(e){if(e.prop.startsWith("break-")&&/^break-(inside|before|after)/.test(e.prop)){if(e.value.search(/column|region/)>=0){return}let r;switch(e.value){case"page":r="always";break;case"avoid-page":r="avoid";break;default:r=e.va... | 9,552 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-page-break/license | The MIT License (MIT)
Copyright 2017 AUTHOR_NAME <AUTHOR_EMAIL>
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, ... | 9,553 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-page-break/package.json | {"name":"postcss-page-break","author":"shrpne <shrpne@gmail.com>","version":"3.0.4","license":"MIT","types":"index.d.ts"}
| 9,554 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-value-parser/index.d.ts | export = any;
| 9,555 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-value-parser/index.js | (()=>{var e={962:(e,r,t)=>{var a=t(97);var n=t(874);var o=t(617);function ValueParser(e){if(this instanceof ValueParser){this.nodes=a(e);return this}return new ValueParser(e)}ValueParser.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""};ValueParser.prototype.walk=function(e,r){n(this.node... | 9,556 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-value-parser/license | Copyright (c) Bogdan Chadkin <trysound@yandex.ru>
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,... | 9,557 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/postcss-value-parser/package.json | {"name":"postcss-value-parser","author":"Bogdan Chadkin <trysound@yandex.ru>","version":"4.2.0","license":"MIT","types":"index.d.ts"}
| 9,558 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup-plugin-dts/index.js | (()=>{var e={112:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";const t=",".charCodeAt(0);const r=";".charCodeAt(0);const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const i=new Uint8Array(64);const o=new Uint8Array(128);for(let e=0;e<n.length;e++){const t=n.charCodeA... | 9,559 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup-plugin-dts/package.json | {"name":"rollup-plugin-dts","author":"Arpad Borsos <arpad.borsos@googlemail.com>","version":"5.3.0","funding":{"url":"https://github.com/sponsors/Swatinem"},"license":"LGPL-3.0","types":"./dist/rollup-plugin-dts.d.ts"}
| 9,560 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup-plugin-dts | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup-plugin-dts/dist/rollup-plugin-dts.d.ts | import { PluginImpl } from '../rollup';
import ts from 'typescript';
interface Options {
/**
* The plugin will by default flag *all* external libraries as `external`,
* and thus prevent them from be bundled.
* If you set the `respectExternal` option to `true`, the plugin will not do
* any defau... | 9,561 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup-plugin-dts/rollup | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup-plugin-dts/rollup/dist/rollup.d.ts | export const VERSION: string;
// utils
type NullValue = null | undefined | void;
type MaybeArray<T> = T | T[];
type MaybePromise<T> = T | Promise<T>;
type PartialNull<T> = {
[P in keyof T]: T[P] | null;
};
export interface RollupError extends RollupLog {
name?: string;
stack?: string;
watchFiles?: string[];
}
e... | 9,562 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup/249.index.js | exports.id = 249;
exports.ids = [249];
exports.modules = {
/***/ 249:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/*
** © 2020 by Philipp Dunkel, Ben Noordhuis, Elan Shankar, Paul Miller
** Licensed under MIT License.
*/
/* jshint node:true */
if (process.platform !== "darw... | 9,563 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup/index.js | (()=>{"use strict";var e={10:(e,t,i)=>{
/*
@license
Rollup.js v3.23.0
Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
https://github.com/rollup/rollup
Released under the MIT License.
*/
Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const s=i(194);const n=i(12);i(74... | 9,564 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup/package.json | {"name":"rollup","author":"Rich Harris","version":"3.23.0","license":"MIT","types":"types/rollup.d.ts"}
| 9,565 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/rollup/types/rollup.d.ts | export const VERSION: string;
// utils
type NullValue = null | undefined | void;
type MaybeArray<T> = T | T[];
type MaybePromise<T> = T | Promise<T>;
type PartialNull<T> = {
[P in keyof T]: T[P] | null;
};
export interface RollupError extends RollupLog {
name?: string;
stack?: string;
watchFiles?: string[];
}
e... | 9,566 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/index.js | (()=>{var __webpack_modules__={158:function(e,r){(function(e,n){true?n(r):0})(this,(function(e){"use strict";var r="delete";var n=5;var i=1<<n;var s=i-1;var a={};function MakeRef(){return{value:false}}function SetRef(e){if(e){e.value=true}}function OwnerID(){}function ensureSize(e){if(e.size===undefined){e.size=e.__ite... | 9,567 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/license | Dart Sass license:
Copyright (c) 2016, Google Inc.
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, publis... | 9,568 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/package.json | {"name":"sass","author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"version":"1.54.4","license":"MIT","types":"types/index.d.ts"}
| 9,569 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/compile.d.ts | import {RawSourceMap} from 'source-map-js';
import {Options, StringOptions} from './options';
/**
* The result of compiling Sass to CSS. Returned by [[compile]],
* [[compileAsync]], [[compileString]], and [[compileStringAsync]].
*
* @category Compile
*/
export interface CompileResult {
/**
* The generated C... | 9,570 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/exception.d.ts | import {SourceSpan} from './logger';
/**
* An exception thrown because a Sass compilation failed.
*
* @category Other
*/
export class Exception extends Error {
private constructor();
/**
* A human-friendly representation of the exception.
*
* Because many tools simply print `Error.message` directly, ... | 9,571 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/importer.d.ts | import {Syntax} from './options';
import {PromiseOr} from './util/promise_or';
/**
* A special type of importer that redirects all loads to existing files on
* disk. Although this is less powerful than a full [[Importer]], it
* automatically takes care of Sass features like resolving partials and file
* extensions... | 9,572 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/index.d.ts | // This is a mirror of the JS API definitions in `spec/js-api`, but with comments
// written to provide user-facing documentation rather than to specify behavior for
// implementations.
export {
CompileResult,
compile,
compileAsync,
compileString,
compileStringAsync,
} from './compile';
export {Exception} fr... | 9,573 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/options.d.ts | import {FileImporter, Importer} from './importer';
import {Logger} from './logger';
import {Value} from './value';
import {PromiseOr} from './util/promise_or';
/**
* Syntaxes supported by Sass:
*
* - `'scss'` is the [SCSS
* syntax](https://sass-lang.com/documentation/syntax#scss).
* - `'indented'` is the [inden... | 9,574 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/legacy/exception.d.ts | /**
* The exception type thrown by [[renderSync]] and passed as the error to
* [[render]]'s callback.
*
* @category Legacy
* @deprecated This is only thrown by the legacy [[render]] and [[renderSync]]
* APIs. Use [[compile]], [[compileString]], [[compileAsync]], and
* [[compileStringAsync]] instead.
*/
export i... | 9,575 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/legacy/function.d.ts | import {LegacyPluginThis} from './plugin_this';
/**
* A synchronous callback that implements a custom Sass function. This can be
* passed to [[LegacySharedOptions.functions]] for either [[render]] or
* [[renderSync]].
*
* If this throws an error, Sass will treat that as the function failing with
* that error mes... | 9,576 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/legacy/importer.d.ts | import {LegacyPluginThis} from './plugin_this';
/**
* The value of `this` in the context of a [[LegacyImporter]] function.
*
* @category Legacy
* @deprecated This is only used by the legacy [[render]] and [[renderSync]]
* APIs. Use [[Importer]] with [[compile]], [[compileString]], [[compileAsync]],
* and [[compi... | 9,577 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/legacy/options.d.ts | import {Logger} from '../logger';
import {LegacyImporter} from './importer';
import {LegacyFunction} from './function';
/**
* Options for [[render]] and [[renderSync]] that are shared between
* [[LegacyFileOptions]] and [[LegacyStringOptions]].
*
* @typeParam sync - This lets the TypeScript checker verify that
* ... | 9,578 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/legacy/plugin_this.d.ts | /**
* The value of `this` in the context of a [[LegacyImporter]] or
* [[LegacyFunction]] callback.
*
* @category Legacy
* @deprecated This is only used by the legacy [[render]] and [[renderSync]]
* APIs. Use [[compile]], [[compileString]], [[compileAsync]], and
* [[compileStringAsync]] instead.
*/
export interf... | 9,579 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/legacy/render.d.ts | import {LegacyException} from './exception';
import {LegacyOptions} from './options';
/**
* The object returned by [[render]] and [[renderSync]] after a successful
* compilation.
*
* @category Legacy
* @deprecated This is only used by the legacy [[render]] and [[renderSync]]
* APIs. Use [[compile]], [[compileStr... | 9,580 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/logger/index.d.ts | import {SourceSpan} from './source_span';
export {SourceLocation} from './source_location';
export {SourceSpan} from './source_span';
/**
* An object that can be passed to [[LegacySharedOptions.logger]] to control how
* Sass emits warnings and debug messages.
*
* @example
*
* ```js
* const fs = require('fs');
... | 9,581 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/logger/source_location.d.ts | /**
* A specific location within a source file.
*
* This is always associated with a [[SourceSpan]] which indicates *which* file
* it refers to.
*
* @category Logger
*/
export interface SourceLocation {
/**
* The 0-based index of this location within its source file, in terms of
* UTF-16 code units.
*... | 9,582 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/logger/source_span.d.ts | import {SourceLocation} from './source_location';
/**
* A span of text within a source file.
*
* @category Logger
*/
export interface SourceSpan {
/** The beginning of this span, inclusive. */
start: SourceLocation;
/**
* The end of this span, exclusive.
*
* If [[start]] and [[end]] refer to the sa... | 9,583 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/util/promise_or.d.ts | /**
* A utility type for choosing between synchronous and asynchronous return
* values.
*
* This is used as the return value for plugins like [[CustomFunction]],
* [[Importer]], and [[FileImporter]] so that TypeScript enforces that
* asynchronous plugins are only passed to [[compileAsync]] and
* [[compileStringA... | 9,584 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/value/argument_list.d.ts | import {List, OrderedMap} from 'immutable';
import {Value} from './index';
import {SassList, ListSeparator} from './list';
/**
* Sass's [argument list
* type](https://sass-lang.com/documentation/values/lists#argument-lists).
*
* An argument list comes from a rest argument. It's distinct from a normal
* [[SassLis... | 9,585 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/value/boolean.d.ts | import {Value} from './index';
/**
* Sass's [`true` value](https://sass-lang.com/documentation/values/booleans).
*
* @category Custom Function
*/
export const sassTrue: SassBoolean;
/**
* Sass's [`false` value](https://sass-lang.com/documentation/values/booleans).
*
* @category Custom Function
*/
export const... | 9,586 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/value/color.d.ts | import {Value} from './index';
/**
* Sass's [color type](https://sass-lang.com/documentation/values/colors).
*
* No matter what representation was originally used to create this color, all
* of its channels are accessible.
*
* @category Custom Function
*/
export class SassColor extends Value {
/**
* Create... | 9,587 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/value/function.d.ts | import {Value} from './index';
/**
* Sass's [function type](https://sass-lang.com/documentation/values/functions).
*
* **Heads up!** Although first-class Sass functions can be processed by custom
* functions, there's no way to invoke them outside of a Sass stylesheet.
*
* @category Custom Function
*/
export cla... | 9,588 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/value/index.d.ts | import {List, ValueObject} from 'immutable';
import {SassBoolean} from './boolean';
import {SassColor} from './color';
import {SassFunction} from './function';
import {ListSeparator} from './list';
import {SassMap} from './map';
import {SassNumber} from './number';
import {SassString} from './string';
export {SassArg... | 9,589 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/value/list.d.ts | import {List} from 'immutable';
import {Value} from './index';
/**
* Possible separators used by Sass lists. The special separator `null` is only
* used for lists with fewer than two elements, and indicates that the separator
* has not yet been decided for this list.
*
* @category Custom Function
*/
export type... | 9,590 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/value/map.d.ts | import {OrderedMap} from 'immutable';
import {SassList} from './list';
import {Value} from './index';
/**
* Sass's [map type](https://sass-lang.com/documentation/values/maps).
*
* @category Custom Function
*/
export class SassMap extends Value {
/**
* Creates a new map.
*
* @param contents - The conten... | 9,591 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/value/number.d.ts | import {List} from 'immutable';
import {Value} from './index';
/**
* Sass's [number type](https://sass-lang.com/documentation/values/numbers).
*
* @category Custom Function
*/
export class SassNumber extends Value {
/**
* Creates a new number with more complex units than just a single numerator.
*
* Up... | 9,592 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/sass/types/value/string.d.ts | import {Value} from './index';
/**
* Sass's [string type](https://sass-lang.com/documentation/values/strings).
*
* @category Custom Function
*/
export class SassString extends Value {
/**
* Creates a new string.
*
* @param text - The contents of the string. For quoted strings, this is the
* semantic ... | 9,593 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/signal-exit/index.d.ts | // Type definitions for signal-exit 3.0
// Project: https://github.com/tapjs/signal-exit
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
export = signalExit;
declare function signalExit(
callback: (co... | 9,594 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/signal-exit/index.js | (()=>{var e={580:(e,t,r)=>{var i=global.process;const processOk=function(e){return e&&typeof e==="object"&&typeof e.removeListener==="function"&&typeof e.emit==="function"&&typeof e.reallyExit==="function"&&typeof e.listeners==="function"&&typeof e.kill==="function"&&typeof e.pid==="number"&&typeof e.on==="function"};i... | 9,595 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/compiled/signal-exit/package.json | {"name":"signal-exit","author":"Ben Coe <ben@npmjs.com>","version":"3.0.7","license":"ISC"}
| 9,596 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/lib/types.d.ts | /// <reference types="node" />
declare namespace NodeJS {
interface ProcessEnv {
readonly NODE_ENV: 'development' | 'production' | 'test';
readonly PUBLIC_URL: string;
}
}
declare module '*.gif' {
const src: string;
export default src;
}
declare module '*.jpg' {
const src: string;
export default ... | 9,597 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/shims/cjs.js | /* eslint-disable node/prefer-global/url */
/* eslint-disable no-undef */
// taking from https://github.com/egoist/tsup/blob/dev/assets/cjs_shims.js
// Shim globals in cjs bundle
// There's a weird bug that esbuild will always inject importMetaUrl
// if we export it as `const importMetaUrl = ... __filename ...`
// But... | 9,598 |
0 | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools | petrpan-code/web-infra-dev/modern.js/packages/solutions/module-tools/shims/esm.js | // Shim globals in esm bundle
import { fileURLToPath } from 'url';
import path from 'path';
const getFilename = () => fileURLToPath(import.meta.url);
const getDirname = () => path.dirname(getFilename());
export const __dirname = /* @__PURE__ */ getDirname();
export const __filename = /* @__PURE__ */ getFilename();
| 9,599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.