text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
import { Component } from "@angular/core"; import { PolicyType } from "jslib-common/enums/policyType"; import { BasePolicy, BasePolicyComponent } from "./base-policy.component"; export class DisableSendPolicy extends BasePolicy { name = "disableSend"; description = "disableSendPolicyDesc"; type = PolicyType.Di...
bitwarden/web/src/app/organizations/policies/disable-send.component.ts/0
{ "file_path": "bitwarden/web/src/app/organizations/policies/disable-send.component.ts", "repo_id": "bitwarden", "token_count": 146 }
145
import { Component } from "@angular/core"; import { PolicyType } from "jslib-common/enums/policyType"; import { BasePolicy, BasePolicyComponent } from "./base-policy.component"; export class TwoFactorAuthenticationPolicy extends BasePolicy { name = "twoStepLogin"; description = "twoStepLoginPolicyDesc"; type =...
bitwarden/web/src/app/organizations/policies/two-factor-authentication.component.ts/0
{ "file_path": "bitwarden/web/src/app/organizations/policies/two-factor-authentication.component.ts", "repo_id": "bitwarden", "token_count": 162 }
146
<div class="page-header d-flex"> <h1> {{ "billing" | i18n }} </h1> <button (click)="load()" class="btn btn-sm btn-outline-primary ml-auto" *ngIf="firstLoaded" [disabled]="loading" > <i class="bwi bwi-refresh bwi-fw" [ngClass]="{ 'bwi-spin': loading }" aria-hidden="true"></i> {{ "refr...
bitwarden/web/src/app/organizations/settings/organization-billing.component.html/0
{ "file_path": "bitwarden/web/src/app/organizations/settings/organization-billing.component.html", "repo_id": "bitwarden", "token_count": 3580 }
147
<div class="container page-content"> <ng-container *ngIf="loading"> <i class="bwi bwi-spinner bwi-spin text-muted" title="{{ 'loading' | i18n }}" aria-hidden="true" ></i> <span class="sr-only">{{ "loading" | i18n }}</span> </ng-container> <ng-container *ngIf="!loading"> <div clas...
bitwarden/web/src/app/organizations/tools/tools.component.html/0
{ "file_path": "bitwarden/web/src/app/organizations/tools/tools.component.html", "repo_id": "bitwarden", "token_count": 1458 }
148
<div class="page-header"> <h1>{{ "exposedPasswordsReport" | i18n }}</h1> </div> <p>{{ "exposedPasswordsReportDesc" | i18n }}</p> <button bitButton buttonType="primary" type="button" class="btn-submit" [disabled]="loading" (click)="load()" > <i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n ...
bitwarden/web/src/app/reports/exposed-passwords-report.component.html/0
{ "file_path": "bitwarden/web/src/app/reports/exposed-passwords-report.component.html", "repo_id": "bitwarden", "token_count": 1313 }
149
import { Component, OnInit } from "@angular/core"; import { ModalService } from "jslib-angular/services/modal.service"; import { CipherService } from "jslib-common/abstractions/cipher.service"; import { MessagingService } from "jslib-common/abstractions/messaging.service"; import { PasswordGenerationService } from "js...
bitwarden/web/src/app/reports/weak-passwords-report.component.ts/0
{ "file_path": "bitwarden/web/src/app/reports/weak-passwords-report.component.ts", "repo_id": "bitwarden", "token_count": 1707 }
150
import { Component, ViewChild, ViewContainerRef } from "@angular/core"; import { ModalService } from "jslib-angular/services/modal.service"; import { ApiService } from "jslib-common/abstractions/api.service"; import { KeyConnectorService } from "jslib-common/abstractions/keyConnector.service"; import { StateService } ...
bitwarden/web/src/app/settings/account.component.ts/0
{ "file_path": "bitwarden/web/src/app/settings/account.component.ts", "repo_id": "bitwarden", "token_count": 527 }
151
import { Component } from "@angular/core"; import { Router } from "@angular/router"; import { ChangePasswordComponent as BaseChangePasswordComponent } from "jslib-angular/components/change-password.component"; import { ApiService } from "jslib-common/abstractions/api.service"; import { CipherService } from "jslib-comm...
bitwarden/web/src/app/settings/change-password.component.ts/0
{ "file_path": "bitwarden/web/src/app/settings/change-password.component.ts", "repo_id": "bitwarden", "token_count": 3746 }
152
<div class="page-header"> <h1>{{ "vault" | i18n }}</h1> </div> <div class="mt-4"> <ng-container *ngIf="ciphers.length"> <table class="table table-hover table-list table-ciphers"> <tbody> <tr *ngFor="let c of ciphers"> <td class="table-list-icon"> <app-vault-icon [cipher]="c">...
bitwarden/web/src/app/settings/emergency-access-view.component.html/0
{ "file_path": "bitwarden/web/src/app/settings/emergency-access-view.component.html", "repo_id": "bitwarden", "token_count": 1461 }
153
import { Component, OnInit } from "@angular/core"; import { ApiService } from "jslib-common/abstractions/api.service"; import { CryptoService } from "jslib-common/abstractions/crypto.service"; import { I18nService } from "jslib-common/abstractions/i18n.service"; import { KeyConnectorService } from "jslib-common/abstra...
bitwarden/web/src/app/settings/profile.component.ts/0
{ "file_path": "bitwarden/web/src/app/settings/profile.component.ts", "repo_id": "bitwarden", "token_count": 677 }
154
import { Component } from "@angular/core"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; import { TokenService } from "jslib-common/abstractions/token.service"; @Component({ selector: "app-subscription", templateUrl: "subscription.component.html", }) export class Subscrip...
bitwarden/web/src/app/settings/subscription.component.ts/0
{ "file_path": "bitwarden/web/src/app/settings/subscription.component.ts", "repo_id": "bitwarden", "token_count": 229 }
155
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="2faU2fTitle"> <div class="modal-dialog modal-lg" role="document"> <div class="modal-content"> <div class="modal-header"> <h2 class="modal-title" id="2faU2fTitle"> {{ "twoStepLogin" | i18n }} <small>{{ "webAu...
bitwarden/web/src/app/settings/two-factor-webauthn.component.html/0
{ "file_path": "bitwarden/web/src/app/settings/two-factor-webauthn.component.html", "repo_id": "bitwarden", "token_count": 3353 }
156
<form #form (ngSubmit)="submit()" ngNativeValidate [appApiAction]="formPromise" [formGroup]="exportForm" > <div class="page-header"> <h1>{{ "exportVault" | i18n }}</h1> </div> <app-callout type="error" title="{{ 'vaultExportDisabled' | i18n }}" *ngIf="disabledByPolicy"> {{ "personalVaultExportP...
bitwarden/web/src/app/tools/export.component.html/0
{ "file_path": "bitwarden/web/src/app/tools/export.component.html", "repo_id": "bitwarden", "token_count": 526 }
157
<div class="dropdown mr-2" appListDropdown> <button class="btn btn-sm btn-outline-secondary dropdown-toggle" type="button" id="bulkActionsButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" appA11yTitle="{{ 'options' | i18n }}" > <i class="bwi bwi-cog" aria-hidd...
bitwarden/web/src/app/vault/bulk-actions.component.html/0
{ "file_path": "bitwarden/web/src/app/vault/bulk-actions.component.html", "repo_id": "bitwarden", "token_count": 862 }
158
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="shareTitle"> <div class="modal-dialog modal-dialog-scrollable" role="document"> <form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise"> <div class="modal-header"> <h2 class="modal-title" id="shareT...
bitwarden/web/src/app/vault/share.component.html/0
{ "file_path": "bitwarden/web/src/app/vault/share.component.html", "repo_id": "bitwarden", "token_count": 1787 }
159
import { getQsParam } from "./common"; require("./sso.scss"); document.addEventListener("DOMContentLoaded", () => { const code = getQsParam("code"); const state = getQsParam("state"); if (state != null && state.includes(":clientId=browser")) { initiateBrowserSso(code, state); } else { window.locatio...
bitwarden/web/src/connectors/sso.ts/0
{ "file_path": "bitwarden/web/src/connectors/sso.ts", "repo_id": "bitwarden", "token_count": 527 }
160
{ "pageTitle": { "message": "$APP_NAME$ ವೆಬ್ ವಾಲ್ಟ್", "description": "The title of the website in the browser window.", "placeholders": { "app_name": { "content": "$1", "example": "Bitwarden" } } }, "whatTypeOfItem": { "message": "ಇದು ಯಾವ ರೀತಿಯ ಐಟಂ?" }, "name": ...
bitwarden/web/src/locales/kn/messages.json/0
{ "file_path": "bitwarden/web/src/locales/kn/messages.json", "repo_id": "bitwarden", "token_count": 172095 }
161
{ "pageTitle": { "message": "$APP_NAME$ webbvalv", "description": "The title of the website in the browser window.", "placeholders": { "app_name": { "content": "$1", "example": "Bitwarden" } } }, "whatTypeOfItem": { "message": "Vilken typ av objekt är detta?" }, ...
bitwarden/web/src/locales/sv/messages.json/0
{ "file_path": "bitwarden/web/src/locales/sv/messages.json", "repo_id": "bitwarden", "token_count": 59400 }
162
.modal-content { border: none; border-radius: none; @include themify($themes) { background-color: themed("backgroundColor"); } } .modal-dialog { border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 0.3rem; width: $modal-md; } .modal-sm { width: $modal-sm; } .modal-lg { width: $modal-lg; } .mod...
bitwarden/web/src/scss/modals.scss/0
{ "file_path": "bitwarden/web/src/scss/modals.scss", "repo_id": "bitwarden", "token_count": 1227 }
163
import { StateMigrationService as BaseStateMigrationService } from "jslib-common/services/stateMigration.service"; import { Account } from "../models/account"; import { GlobalState } from "../models/globalState"; export class StateMigrationService extends BaseStateMigrationService<GlobalState, Account> { protected ...
bitwarden/web/src/services/stateMigration.service.ts/0
{ "file_path": "bitwarden/web/src/services/stateMigration.service.ts", "repo_id": "bitwarden", "token_count": 191 }
164
package com.aitongyi.web.bean; import java.util.Date; /** * Created by admin on 16/8/8. */ public class User { private Integer id; private String username; private String password; private boolean enabled; private Date createDate; public Date getCreateDate() { return createDate; ...
chwshuang/web/bean/src/main/java/com/aitongyi/web/bean/User.java/0
{ "file_path": "chwshuang/web/bean/src/main/java/com/aitongyi/web/bean/User.java", "repo_id": "chwshuang", "token_count": 572 }
165
package web import ( "fmt" "testing" ) func (c *Context) A(w ResponseWriter, r *Request) { fmt.Fprintf(w, "context-A") } func (c *Context) Z(w ResponseWriter, r *Request) { fmt.Fprintf(w, "context-Z") } func (c *AdminContext) B(w ResponseWriter, r *Request) { fmt.Fprintf(w, "admin-B") } func (c *APIContext) C...
gocraft/web/middleware_test.go/0
{ "file_path": "gocraft/web/middleware_test.go", "repo_id": "gocraft", "token_count": 3248 }
166
package web import ( "regexp" "strings" ) type pathNode struct { // Given the next segment s, if edges[s] exists, then we'll look there first. edges map[string]*pathNode // If set, failure to match on edges will match on wildcard wildcard *pathNode // If set, and we have nothing left to match, then we match...
gocraft/web/tree.go/0
{ "file_path": "gocraft/web/tree.go", "repo_id": "gocraft", "token_count": 2323 }
167
<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="824.000000pt" height="824.000000pt" viewBox="0 0 824.000000 824.000000" preserveAspectRatio="xMidYMid meet...
modernweb-dev/web/docs/_assets/_static/icons/safari-pinned-tab.svg/0
{ "file_path": "modernweb-dev/web/docs/_assets/_static/icons/safari-pinned-tab.svg", "repo_id": "modernweb-dev", "token_count": 6160 }
168
--- title: 'Introducing: Modern Web' pageTitle: 'Introducing: Modern Web' published: true canonical_url: https://modern-web.dev/blog/introducing-modern-web/ description: 'Our goal is to provide developers with the guides and tools they need to build for the modern web. We aim to work closely with the browser, and avoid...
modernweb-dev/web/docs/blog/introducing-modern-web/index.md/0
{ "file_path": "modernweb-dev/web/docs/blog/introducing-modern-web/index.md", "repo_id": "modernweb-dev", "token_count": 2793 }
169
# Dev Server >> Middleware ||5 You can add your own middleware to the dev server using the `middleware` property. The middleware should be a standard koa middleware. [Read more about koa here.](https://koajs.com/) You can use middleware to modify responses to any request from the browser, for example, to rewrite a UR...
modernweb-dev/web/docs/docs/dev-server/middleware.md/0
{ "file_path": "modernweb-dev/web/docs/docs/dev-server/middleware.md", "repo_id": "modernweb-dev", "token_count": 575 }
170
--- eleventyNavigation: key: Docs order: 20 --- # Documentation Our documentation is hand crafted and optimized to serve as a dictionary to look up details once the need arises. For a more guided learning experience please visit our [Guides](../guides/index.md). Documentation for the following packages is avail...
modernweb-dev/web/docs/docs/index.md/0
{ "file_path": "modernweb-dev/web/docs/docs/index.md", "repo_id": "modernweb-dev", "token_count": 118 }
171
# Test Runner >> CLI and Configuration ||2 The test runner can be configured using CLI flags, or with a configuration file. ## CLI flags | name | type | description | | --------------...
modernweb-dev/web/docs/docs/test-runner/cli-and-configuration.md/0
{ "file_path": "modernweb-dev/web/docs/docs/test-runner/cli-and-configuration.md", "repo_id": "modernweb-dev", "token_count": 5732 }
172
# Test Runner >> Writing Tests >> Helper Libraries ||30 Not all helper libraries ship es modules which are usable in the browser. On this page we collect libraries which are available as es modules. If need to use a library with another module format, you can follow the instructions at the bottom of the [es modules pa...
modernweb-dev/web/docs/docs/test-runner/writing-tests/helper-libraries.md/0
{ "file_path": "modernweb-dev/web/docs/docs/test-runner/writing-tests/helper-libraries.md", "repo_id": "modernweb-dev", "token_count": 483 }
173
# Going Buildless >> ES Modules ||60 All modern browsers support standard es modules. These are javascript files using `import` and `export` statements: ```js import foo from './foo.js'; export function doBar() { return foo + 'bar'; } ``` In contrast to classic scripts, variables declared inside modules are scope...
modernweb-dev/web/docs/guides/going-buildless/es-modules.md/0
{ "file_path": "modernweb-dev/web/docs/guides/going-buildless/es-modules.md", "repo_id": "modernweb-dev", "token_count": 2640 }
174
--- title: Modern Web layout: layout-home-background slogan: Guides, tools and libraries for modern web development. callToActionItems: [{ text: 'Follow Guides', href: '/guides/' }, { text: 'Browse Docs', href: '/docs/' }] reasonHeader: Why Modern Web? reasons: [ { header: Built on web standards, te...
modernweb-dev/web/docs/index.md/0
{ "file_path": "modernweb-dev/web/docs/index.md", "repo_id": "modernweb-dev", "token_count": 447 }
175
import { throwErrorB } from './fail-stack-trace-b.js'; export function throwErrorA() { return throwErrorB(); }
modernweb-dev/web/integration/test-runner/tests/test-failure/browser-tests/fail-stack-trace-a.js/0
{ "file_path": "modernweb-dev/web/integration/test-runner/tests/test-failure/browser-tests/fail-stack-trace-a.js", "repo_id": "modernweb-dev", "token_count": 38 }
176
import { ParseStackTraceOptions, parseStackTrace } from './parseStackTrace.js'; const KEY_WTR_TYPE = '__WTR_TYPE__'; const KEY_CONSTRUCTOR_NAME = '__WTR_CONSTRUCTOR_NAME__'; const ASYNC_DESERIALIZE_WRAPPER = Symbol('ASYNC_DESERIALIZE_WRAPPER'); const BOUND_NAME_FUNCTION_REGEX = /^bound\s+/; function createReviver(p...
modernweb-dev/web/packages/browser-logs/src/deserialize.ts/0
{ "file_path": "modernweb-dev/web/packages/browser-logs/src/deserialize.ts", "repo_id": "modernweb-dev", "token_count": 2066 }
177
const getPackageType = require('./getPackageType'); const path = require('path'); const requireConfig = require('./requireConfig'); /** * @param {string} configPath */ function importConfig(configPath) { // Conditionally requires importConfig function to avoid logging a warning on node v12 // when not using an e...
modernweb-dev/web/packages/config-loader/src/importOrRequireConfig.js/0
{ "file_path": "modernweb-dev/web/packages/config-loader/src/importOrRequireConfig.js", "repo_id": "modernweb-dev", "token_count": 279 }
178
{ "type": "module" }
modernweb-dev/web/packages/config-loader/test/fixtures/package-mjs/package.json/0
{ "file_path": "modernweb-dev/web/packages/config-loader/test/fixtures/package-mjs/package.json", "repo_id": "modernweb-dev", "token_count": 12 }
179
const open = require('open'); const { DevServer } = require('../../dist/index'); const server = new DevServer( { port: 8080, rootDir: process.cwd(), http2: true, plugins: [], }, { log: console.log, debug: () => { // no debug }, error: console.error, warn: console.warn, ...
modernweb-dev/web/packages/dev-server-core/demo/http2/start-server.js/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/demo/http2/start-server.js", "repo_id": "modernweb-dev", "token_count": 192 }
180
export interface ErrorWithLocation { name: string; message: string; filePath: string; code: string; line: number; column: number; } export interface Logger { log(...messages: unknown[]): void; debug(...messages: unknown[]): void; error(...messages: unknown[]): void; warn(...messages: unknown[]): vo...
modernweb-dev/web/packages/dev-server-core/src/logger/Logger.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/src/logger/Logger.ts", "repo_id": "modernweb-dev", "token_count": 135 }
181
/* eslint-disable @typescript-eslint/ban-ts-comment */ import path from 'path'; import { Context } from 'koa'; // @ts-ignore import { parse, ParsedImport } from 'es-module-lexer'; import { queryAll, predicates, getTextContent, setTextContent } from '../dom5/index.js'; import { parse as parseHtml, serialize as serializ...
modernweb-dev/web/packages/dev-server-core/src/plugins/transformModuleImportsPlugin.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/src/plugins/transformModuleImportsPlugin.ts", "repo_id": "modernweb-dev", "token_count": 3649 }
182
<html> <head> <title>My app</title> </head> <body> <p>Hello world</p> <script type="module"> import { message } from 'my-module'; import './src/local-module.js'; console.log(message); </script> </body> </html>
modernweb-dev/web/packages/dev-server-core/test/fixtures/basic/index.html/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/test/fixtures/basic/index.html", "repo_id": "modernweb-dev", "token_count": 114 }
183
import { expect } from 'chai'; import { createTestServer } from '../helpers.js'; describe('mimeTypesPLugin', () => { it('can configure mime types for files', async () => { const { server, host } = await createTestServer({ mimeTypes: { '**/*.css': 'js', }, plugins: [ { ...
modernweb-dev/web/packages/dev-server-core/test/plugins/mimeTypesPlugin.test.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/test/plugins/mimeTypesPlugin.test.ts", "repo_id": "modernweb-dev", "token_count": 798 }
184
{ "compilerOptions": { "experimentalDecorators": true } }
modernweb-dev/web/packages/dev-server-esbuild/demo/ts/tsconfig.json/0
{ "file_path": "modernweb-dev/web/packages/dev-server-esbuild/demo/ts/tsconfig.json", "repo_id": "modernweb-dev", "token_count": 27 }
185
import 'some-lib/some-file.js'; import '../../x.js'; import '../y.js'; import './z.js'; import '../../1.js'; import '../2.js'; import './3.js'; import '../../non-existing-a.js'; import '../non-existing-b.js'; import './non-existing-c.js';
modernweb-dev/web/packages/dev-server-esbuild/test/fixture/a/b/bar.js/0
{ "file_path": "modernweb-dev/web/packages/dev-server-esbuild/test/fixture/a/b/bar.js", "repo_id": "modernweb-dev", "token_count": 102 }
186
<html> <body> <todo-list></todo-list> <script type="module" src="./hot-elements/patch-custom-element.js"></script> <script type="module" src="./src/todo-list.js"></script> </body> </html>
modernweb-dev/web/packages/dev-server-hmr/demo/lit-html/index.html/0
{ "file_path": "modernweb-dev/web/packages/dev-server-hmr/demo/lit-html/index.html", "repo_id": "modernweb-dev", "token_count": 87 }
187
import { expect } from 'chai'; import { stubMethod, restore as restoreStubs } from 'hanbi'; import { createTestServer, fetchText, expectIncludes } from '@web/dev-server-core/test-helpers'; import { posix as pathUtil } from 'path'; import { hmrPlugin } from '../src/index.js'; import { NAME_HMR_CLIENT_IMPORT } from '../...
modernweb-dev/web/packages/dev-server-hmr/test/HmrPlugin.test.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-hmr/test/HmrPlugin.test.ts", "repo_id": "modernweb-dev", "token_count": 5297 }
188
<html> <body> <script type="module"> import { runTests } from '@web/test-runner-mocha'; import { expect } from '@esm-bundle/chai'; import { postData, __importMeta } from '../src/postData.js'; runTests(() => { describe('sendMessage()', () => { it('serves a mocked module',...
modernweb-dev/web/packages/dev-server-import-maps/test-browser/test/import-map-b.test.html/0
{ "file_path": "modernweb-dev/web/packages/dev-server-import-maps/test-browser/test/import-map-b.test.html", "repo_id": "modernweb-dev", "token_count": 263 }
189
export const PARAM_TRANSFORM_SYSTEMJS = 'systemjs';
modernweb-dev/web/packages/dev-server-legacy/src/constants.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-legacy/src/constants.ts", "repo_id": "modernweb-dev", "token_count": 18 }
190
# @web/dev-server-rollup ## 0.6.1 ### Patch Changes - 1c0088de: Update Rollup to version 4. ## 0.6.0 ### Minor Changes - c185cbaa: Set minimum node version to 18 ### Patch Changes - Updated dependencies [c185cbaa] - @web/dev-server-core@0.7.0 ## 0.5.4 ### Patch Changes - 640ba85f: added types for main entr...
modernweb-dev/web/packages/dev-server-rollup/CHANGELOG.md/0
{ "file_path": "modernweb-dev/web/packages/dev-server-rollup/CHANGELOG.md", "repo_id": "modernweb-dev", "token_count": 3297 }
191
<html> <body> <script type="module"> console.log("asd"); </script> <script type="module"> console.log("bar"); </script> </body> </html>
modernweb-dev/web/packages/dev-server-rollup/test/node/fixtures/basic/multiple-inline.html/0
{ "file_path": "modernweb-dev/web/packages/dev-server-rollup/test/node/fixtures/basic/multiple-inline.html", "repo_id": "modernweb-dev", "token_count": 77 }
192
// exports.__esModule = true; const compiledEsmFoo = 'foo'; exports.compiledEsmFoo = compiledEsmFoo; const compiledEsmBar = 'bar'; exports.compiledEsmBar = compiledEsmBar;
modernweb-dev/web/packages/dev-server-rollup/test/node/fixtures/commonjs/modules/compiled-esm-named-exports.js/0
{ "file_path": "modernweb-dev/web/packages/dev-server-rollup/test/node/fixtures/commonjs/modules/compiled-esm-named-exports.js", "repo_id": "modernweb-dev", "token_count": 65 }
193
# @web/dev-server-storybook ## 2.0.1 ### Patch Changes - c796648c: fix: create a require for mdx stories ## 2.0.0 ### Major Changes - 1c0088de: Update Rollup to version 4. ### Patch Changes - Updated dependencies [1c0088de] - @web/rollup-plugin-polyfills-loader@2.1.1 - @web/rollup-plugin-html@2.1.2 ## 1.1....
modernweb-dev/web/packages/dev-server-storybook/CHANGELOG.md/0
{ "file_path": "modernweb-dev/web/packages/dev-server-storybook/CHANGELOG.md", "repo_id": "modernweb-dev", "token_count": 2098 }
194
import { Button } from '../src/Button.js'; export default { title: 'Example/Button', argTypes: { backgroundColor: { control: 'color' }, onClick: { action: 'onClick' }, }, }; const Template = args => Button(args); export const Primary = Template.bind({}); Primary.args = { primary: true, label: 'Butt...
modernweb-dev/web/packages/dev-server-storybook/demo/wc/stories/Button.stories.js/0
{ "file_path": "modernweb-dev/web/packages/dev-server-storybook/demo/wc/stories/Button.stories.js", "repo_id": "modernweb-dev", "token_count": 204 }
195
import { StorybookPluginConfig } from '../config/StorybookPluginConfig.js'; import { createError } from '../utils.js'; const types = ['preact', 'web-components']; export function validatePluginConfig(pluginConfig: StorybookPluginConfig) { if (!pluginConfig) { throw createError('Missing plugin configuration.'); ...
modernweb-dev/web/packages/dev-server-storybook/src/shared/config/validatePluginConfig.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-storybook/src/shared/config/validatePluginConfig.ts", "repo_id": "modernweb-dev", "token_count": 169 }
196
import { fileURLToPath } from 'url'; import { resolve } from 'path'; export default { rootDir: resolve(fileURLToPath(import.meta.url), '..', '..', '..'), appIndex: '/demo/export-conditions/index.html', nodeResolve: { exportConditions: ['default'] }, };
modernweb-dev/web/packages/dev-server/demo/export-conditions/config.mjs/0
{ "file_path": "modernweb-dev/web/packages/dev-server/demo/export-conditions/config.mjs", "repo_id": "modernweb-dev", "token_count": 94 }
197
<html> <body> <img width="100" src="../logo.png" /> <h1>Node resolve demo</h1> <p>A demo which resolves bare module imports</p> <div id="test"></div> <script type="module"> // inline bare modules are resolved import { render, html } from 'lit-html'; window.__inlineNodeResolve...
modernweb-dev/web/packages/dev-server/demo/node-resolve/index.html/0
{ "file_path": "modernweb-dev/web/packages/dev-server/demo/node-resolve/index.html", "repo_id": "modernweb-dev", "token_count": 455 }
198
class PrivateClassFields { #foo = 'bar'; #bar() { return this.#foo; } bar() { return this.#bar(); } }
modernweb-dev/web/packages/dev-server/demo/syntax/stage-3-private-class-fields.js/0
{ "file_path": "modernweb-dev/web/packages/dev-server/demo/syntax/stage-3-private-class-fields.js", "repo_id": "modernweb-dev", "token_count": 52 }
199
import openBrowserWindow from 'open'; import path from 'path'; import { DevServerConfig } from './config/DevServerConfig.js'; function isValidURL(str: string) { try { return !!new URL(str); } catch (error) { return false; } } function getBasePath(basePath?: string) { if (!basePath) { return ''; ...
modernweb-dev/web/packages/dev-server/src/openBrowser.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server/src/openBrowser.ts", "repo_id": "modernweb-dev", "token_count": 532 }
200
import { setupServer } from 'msw/node'; import { _registerMockRoutes } from './registerMockRoutes.js'; export const server = setupServer(); server.listen(); /** * Mock the given mocked routes using a Service Worker. * * @param {import('./types.js').Mock[]} mocks */ export function registerMockRoutes(...mocks) { ...
modernweb-dev/web/packages/mocks/node.js/0
{ "file_path": "modernweb-dev/web/packages/mocks/node.js", "repo_id": "modernweb-dev", "token_count": 125 }
201
import { createRequire } from 'node:module'; import { readFileSync } from 'node:fs'; const require = createRequire(import.meta.url); export function mockPlugin() { return { name: 'wds-plugin-msw', /** * @param {import('koa').Context} context */ serve(context) { if (context.request.url ==...
modernweb-dev/web/packages/mocks/wds-plugin.js/0
{ "file_path": "modernweb-dev/web/packages/mocks/wds-plugin.js", "repo_id": "modernweb-dev", "token_count": 199 }
202
export { createPolyfillsData } from './createPolyfillsData.js'; export { createPolyfillsLoader } from './createPolyfillsLoader.js'; export { injectPolyfillsLoader } from './injectPolyfillsLoader.js'; export { hasFileOfType, fileTypes, getScriptFileType } from './utils.js'; export { PolyfillsLoaderConfig, PolyfillsC...
modernweb-dev/web/packages/polyfills-loader/src/index.ts/0
{ "file_path": "modernweb-dev/web/packages/polyfills-loader/src/index.ts", "repo_id": "modernweb-dev", "token_count": 157 }
203
console.log('shared.js');
modernweb-dev/web/packages/rollup-plugin-html/demo/mpa/pages/shared.js/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/demo/mpa/pages/shared.js", "repo_id": "modernweb-dev", "token_count": 9 }
204
import { InputOptions } from 'rollup'; import { ScriptModuleTag } from '../RollupPluginHTMLOptions.js'; import { createError } from '../utils.js'; function fromEntries<V>(entries: [string, V][]) { const obj: Record<string, V> = {}; for (const [k, v] of entries) { obj[k] = v; } return obj; } export functio...
modernweb-dev/web/packages/rollup-plugin-html/src/input/addRollupInput.ts/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/src/input/addRollupInput.ts", "repo_id": "modernweb-dev", "token_count": 593 }
205
import { Plugin } from 'rollup'; import path from 'path'; import { addRollupInput } from './input/addRollupInput.js'; import { getInputData } from './input/getInputData.js'; import { InputData } from './input/InputData.js'; import { createHTMLOutput } from './output/createHTMLOutput.js'; import { GeneratedBundle, ...
modernweb-dev/web/packages/rollup-plugin-html/src/rollupPluginHTML.ts/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/src/rollupPluginHTML.ts", "repo_id": "modernweb-dev", "token_count": 2863 }
206
<blink>I'm a partial!</blink>
modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/rollup-plugin-html/exclude/assets/partial.html/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/rollup-plugin-html/exclude/assets/partial.html", "repo_id": "modernweb-dev", "token_count": 14 }
207
export default 'page c';
modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/rollup-plugin-html/pages/page-c.js/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/rollup-plugin-html/pages/page-c.js", "repo_id": "modernweb-dev", "token_count": 7 }
208
# Rollup Plugin import-meta-assets Rollup plugin that detects assets references relative to modules using patterns such as `new URL('./assets/my-img.png', import.meta.url)`. The referenced assets are added to the rollup pipeline, allowing them to be transformed and hash the filenames. ## How it works A common patte...
modernweb-dev/web/packages/rollup-plugin-import-meta-assets/README.md/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-import-meta-assets/README.md", "repo_id": "modernweb-dev", "token_count": 552 }
209
const justUrlObject = new URL(new URL('assets/one-ZInu4dBJ.svg', import.meta.url).href, import.meta.url); const href = new URL(new URL('assets/two--yckvrYd.svg', import.meta.url).href, import.meta.url).href; const pathname = new URL(new URL('assets/three-CDdgprDC.svg', import.meta.url).href, import.meta.url).pathname; ...
modernweb-dev/web/packages/rollup-plugin-import-meta-assets/test/snapshots/directories-ignored.js/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-import-meta-assets/test/snapshots/directories-ignored.js", "repo_id": "modernweb-dev", "token_count": 284 }
210
import './shared.js'; console.log('entrypoint-b.js');
modernweb-dev/web/packages/rollup-plugin-polyfills-loader/test/fixtures/entrypoint-b.js/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-polyfills-loader/test/fixtures/entrypoint-b.js", "repo_id": "modernweb-dev", "token_count": 20 }
211
import { expect } from 'chai'; import { createPolyfillsLoaderConfig } from '../../src/createPolyfillsLoaderConfig.js'; describe('createPolyfillsLoaderConfig()', () => { it('creates a config for a single module build', () => { const pluginConfig = {}; const bundle = { options: { format: 'es' }, en...
modernweb-dev/web/packages/rollup-plugin-polyfills-loader/test/src/createPolyfillsLoaderConfig.test.ts/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-polyfills-loader/test/src/createPolyfillsLoaderConfig.test.ts", "repo_id": "modernweb-dev", "token_count": 3049 }
212
# @web/storybook-builder ## 0.1.10 ### Patch Changes - 1ef0c676: support @storybook/addon-a11y ## 0.1.9 ### Patch Changes - f29dbce3: bundle preview assets ## 0.1.8 ### Patch Changes - 331e6215: fix tocbot default import by @storybook/blocks ## 0.1.7 ### Patch Changes - cbcc56f2: fix tocbot exports for addo...
modernweb-dev/web/packages/storybook-builder/CHANGELOG.md/0
{ "file_path": "modernweb-dev/web/packages/storybook-builder/CHANGELOG.md", "repo_id": "modernweb-dev", "token_count": 621 }
213
import type { Options } from '@storybook/types'; import type { Plugin } from 'rollup'; import { generateAppScript } from './generate-app-script.js'; import { generateSetupAddonsScript } from './generate-setup-addons-script.js'; import { generateStoriesScript } from './generate-stories-script.js'; import { injectExports...
modernweb-dev/web/packages/storybook-builder/src/rollup-plugin-storybook-builder.ts/0
{ "file_path": "modernweb-dev/web/packages/storybook-builder/src/rollup-plugin-storybook-builder.ts", "repo_id": "modernweb-dev", "token_count": 596 }
214
export * from './types.js';
modernweb-dev/web/packages/storybook-framework-web-components/src/index.ts/0
{ "file_path": "modernweb-dev/web/packages/storybook-framework-web-components/src/index.ts", "repo_id": "modernweb-dev", "token_count": 10 }
215
# @web/test-runner-browserstack ## 0.7.1 ### Patch Changes - e657791f: Vulnerability fix in `ip` package. For more info, see: - https://github.com/advisories/GHSA-78xj-cgh5-2h22 - https://github.com/indutny/node-ip/issues/136#issuecomment-1952083593 ## 0.7.0 ### Minor Changes - c185cbaa: Set minimum node v...
modernweb-dev/web/packages/test-runner-browserstack/CHANGELOG.md/0
{ "file_path": "modernweb-dev/web/packages/test-runner-browserstack/CHANGELOG.md", "repo_id": "modernweb-dev", "token_count": 2503 }
216
import { Launcher as ChromeLauncher } from 'chrome-launcher'; export function findExecutablePath(): string { const path = ChromeLauncher.getFirstInstallation(); if (!path) { throw new Error( 'Could not automatically find any installation of Chrome using chrome-launcher. ' + 'Set the CHROME_PATH t...
modernweb-dev/web/packages/test-runner-chrome/src/findExecutablePath.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-chrome/src/findExecutablePath.ts", "repo_id": "modernweb-dev", "token_count": 157 }
217
import { Media, Viewport, SendKeysPayload, A11ySnapshotPayload, WriteFilePayload, ReadFilePayload, RemoveFilePayload, SnapshotPluginConfig, SaveSnapshotPayload, SelectOptionPayload, SendMousePayload, } from '../dist/index.js'; /** * Executes a command on the server. If this is a custom command, ...
modernweb-dev/web/packages/test-runner-commands/browser/commands.d.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-commands/browser/commands.d.ts", "repo_id": "modernweb-dev", "token_count": 2820 }
218
/* eslint-disable @typescript-eslint/no-empty-function */ import { TestRunnerPlugin } from '@web/test-runner-core'; import { ServerStartParams } from '@web/dev-server-core'; import path from 'path'; import fs from 'fs'; import { promisify } from 'util'; import mkdirp from 'mkdirp'; const readFile = promisify(fs.readFi...
modernweb-dev/web/packages/test-runner-commands/src/snapshotPlugin.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-commands/src/snapshotPlugin.ts", "repo_id": "modernweb-dev", "token_count": 2378 }
219
import selenium from 'selenium-standalone'; export async function startSeleniumServer(drivers: { [browser: string]: selenium.DriverOptions }) { let server: selenium.ChildProcess; try { await selenium.install({ drivers }); } catch (err) { console.error('Error occurred when installing selenium.'); thr...
modernweb-dev/web/packages/test-runner-commands/test/selenium-server.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-commands/test/selenium-server.ts", "repo_id": "modernweb-dev", "token_count": 164 }
220
# Web Test Runner Core Core package for Web Test Runner. Manages running the tests. Has a modular architecture, delegating most of the work to the separate parts and implementations. You will likely not use this package directly. See [our website](https://modern-web.dev/docs/test-runner/overview/) for full documentat...
modernweb-dev/web/packages/test-runner-core/README.md/0
{ "file_path": "modernweb-dev/web/packages/test-runner-core/README.md", "repo_id": "modernweb-dev", "token_count": 76 }
221
import { Middleware } from '@web/dev-server-core'; import { BrowserLauncher } from '../browser-launcher/BrowserLauncher.js'; import { TestFramework } from '../test-framework/TestFramework.js'; import { TestSession } from '../test-session/TestSession.js'; import { Reporter } from '../reporter/Reporter.js'; import { Logg...
modernweb-dev/web/packages/test-runner-core/src/config/TestRunnerCoreConfig.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-core/src/config/TestRunnerCoreConfig.ts", "repo_id": "modernweb-dev", "token_count": 562 }
222
import { Middleware, Context } from '@web/dev-server-core'; import { DepGraph } from 'dependency-graph'; import debounce from 'debounce'; import path from 'path'; import { FSWatcher } from 'chokidar'; import { TestSessionManager } from '../../test-session/TestSessionManager.js'; import { constants } from '../../index....
modernweb-dev/web/packages/test-runner-core/src/server/middleware/watchFilesMiddleware.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-core/src/server/middleware/watchFilesMiddleware.ts", "repo_id": "modernweb-dev", "token_count": 2342 }
223
import { TestSession } from './TestSession.js'; import { TestSessionStatus } from './TestSessionStatus.js'; import { EventEmitter } from '../utils/EventEmitter.js'; import { DebugTestSession } from './DebugTestSession.js'; import { TestSessionGroup } from './TestSessionGroup.js'; import { BrowserLauncher } from '../bro...
modernweb-dev/web/packages/test-runner-core/src/test-session/TestSessionManager.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-core/src/test-session/TestSessionManager.ts", "repo_id": "modernweb-dev", "token_count": 1109 }
224
{ "name": "@web/test-runner-mocha", "version": "0.9.0", "publishConfig": { "access": "public" }, "description": "Mocha test framework for Web Test Runner", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/modernweb-dev/web.git", "directory": "packages/test-runner...
modernweb-dev/web/packages/test-runner-mocha/package.json/0
{ "file_path": "modernweb-dev/web/packages/test-runner-mocha/package.json", "repo_id": "modernweb-dev", "token_count": 489 }
225
/** * Import a mockable version of a module to change its implementation. * @param {string} moduleSpecifier The specifier of the module. Bare module specifiers and server relative specifiers are supported. Regular relative paths are not supported * @returns {Promise<Record<string, func> | void >} Object with reassig...
modernweb-dev/web/packages/test-runner-module-mocking/browser/index.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner-module-mocking/browser/index.js", "repo_id": "modernweb-dev", "token_count": 396 }
226
export function getCurrentHour() { return 2; }
modernweb-dev/web/packages/test-runner-module-mocking/test/fixtures/server-relative/fixture/time-library.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner-module-mocking/test/fixtures/server-relative/fixture/time-library.js", "repo_id": "modernweb-dev", "token_count": 15 }
227
export function foo(a) { if (a) { return 1; } return 2; }
modernweb-dev/web/packages/test-runner/demo/coverage-babel/src/foo.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/coverage-babel/src/foo.js", "repo_id": "modernweb-dev", "token_count": 32 }
228
export function b() { throw new Error('error thrown in b.js') }
modernweb-dev/web/packages/test-runner/demo/source-maps/bundled/src/b.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/source-maps/bundled/src/b.js", "repo_id": "modernweb-dev", "token_count": 20 }
229
{ "version": 3, "file": "MyClass.js", "sourceRoot": "", "sources": [ "./MyClass.ts" ], "names": [], "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;IAAA;IAQA,CAAC;IAPO,uBAAK,GAAX,UAAY,GAAW,EAAE,GAAW;;;;4BAClC,qBAAM,OAAO,CAAC,OAAO,EAAE,EAAA;;wBAAvB,SAAuB,CAAC;wBACvB,GAAW,CAAC,WAAW,EAAE,CAAC;wBAC3...
modernweb-dev/web/packages/test-runner/demo/source-maps/virtual/virtual-files/MyClass.js.map/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/source-maps/virtual/virtual-files/MyClass.js.map", "repo_id": "modernweb-dev", "token_count": 459 }
230
// window.location.href = '/foo/'; window.location.href = 'https://www.example.org/'; it('x', async () => { await new Promise(r => setTimeout(r, 1000)); });
modernweb-dev/web/packages/test-runner/demo/test/fail-location-href.test.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/test/fail-location-href.test.js", "repo_id": "modernweb-dev", "token_count": 56 }
231
import { compareSnapshot, removeSnapshot } from '@web/test-runner-commands'; it('can test snapshot A', async () => { await compareSnapshot({ name: 'snapshot-a', content: 'some snapshot A1' }); }); it('can test snapshot B', async () => { await compareSnapshot({ name: 'snapshot-b', content: 'some snapshot B1' }); }...
modernweb-dev/web/packages/test-runner/demo/test/pass-snapshot-1.test.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/test/pass-snapshot-1.test.js", "repo_id": "modernweb-dev", "token_count": 140 }
232
import './shared-a.js'; import './shared-b.js';
modernweb-dev/web/packages/test-runner/demo/tsc/dist/test/pass-13.test.d.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/tsc/dist/test/pass-13.test.d.ts", "repo_id": "modernweb-dev", "token_count": 20 }
233
export declare function sharedA(): string; export declare function throwError(): void;
modernweb-dev/web/packages/test-runner/demo/tsc/dist/test/shared-a.d.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/tsc/dist/test/shared-a.d.ts", "repo_id": "modernweb-dev", "token_count": 18 }
234
import { CoverageThresholdConfig, TestCoverage, CoverageConfig } from '@web/test-runner-core'; import path from 'path'; import { bold, green, red, underline } from 'nanocolors'; const coverageTypes: (keyof CoverageThresholdConfig)[] = [ 'lines', 'statements', 'branches', 'functions', ]; export function getCod...
modernweb-dev/web/packages/test-runner/src/reporter/getCodeCoverage.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner/src/reporter/getCodeCoverage.ts", "repo_id": "modernweb-dev", "token_count": 561 }
235
import { legacyPlugin } from '@web/dev-server-legacy'; export default { rootDir: '../../', preserveSymlinks: true, nodeResolve: true, plugins: [legacyPlugin()], };
modernweb-dev/web/packages/test-runner/web-test-runner.config.mjs/0
{ "file_path": "modernweb-dev/web/packages/test-runner/web-test-runner.config.mjs", "repo_id": "modernweb-dev", "token_count": 60 }
236
import { esbuildPlugin } from '@web/dev-server-esbuild'; export default { nodeResolve: true, plugins: [esbuildPlugin({ ts: true })], };
modernweb-dev/web/web-test-runner.config.mjs/0
{ "file_path": "modernweb-dev/web/web-test-runner.config.mjs", "repo_id": "modernweb-dev", "token_count": 48 }
237
files: - source: /src/lang/en-US.json translation: /src/lang/%locale%.json
odota/web/crowdin.yaml/0
{ "file_path": "odota/web/crowdin.yaml", "repo_id": "odota", "token_count": 34 }
238
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <defs> <clipPath id="a"> <path fill-opacity=".67" d="M-79.698 0h682.67v512h-682.67z"/> </clipPath> </defs> <g clip-path="url(#a)" fill-rule="evenodd" transform="translate(74.717) scale(.9375)"> <path fill="#f...
odota/web/public/assets/images/flags/ag.svg/0
{ "file_path": "odota/web/public/assets/images/flags/ag.svg", "repo_id": "odota", "token_count": 470 }
239
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <g fill-rule="evenodd" stroke-width="1pt"> <path d="M0 0h213.335v479.997H0z"/> <path fill="#ffd90c" d="M213.335 0H426.67v479.997H213.335z"/> <path fill="#f31830" d="M426.67 0h213.335v479.997H426.67z"/> </g> </svg>
odota/web/public/assets/images/flags/be.svg/0
{ "file_path": "odota/web/public/assets/images/flags/be.svg", "repo_id": "odota", "token_count": 155 }
240
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <g fill-rule="evenodd"> <path fill="#399408" d="M2.426 0h637.557v480H2.426z"/> <path d="M.167 0C-.67.073 619.765 241.48 619.765 241.48L-.005 479.77.166 0z" fill="#fff"/> <path d="M.28 20.186c3.462 0 559.053 217.89 555....
odota/web/public/assets/images/flags/gy.svg/0
{ "file_path": "odota/web/public/assets/images/flags/gy.svg", "repo_id": "odota", "token_count": 294 }
241
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <g fill-rule="evenodd" stroke-width="1pt"> <path fill="#fff" d="M0 0h640v479.997H0z"/> <path fill="#009246" d="M0 0h213.331v479.997H0z"/> <path fill="#ce2b37" d="M426.663 0h213.331v479.997H426.663z"/> </g> </svg>
odota/web/public/assets/images/flags/it.svg/0
{ "file_path": "odota/web/public/assets/images/flags/it.svg", "repo_id": "odota", "token_count": 152 }
242
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <defs> <clipPath id="a"> <path fill-opacity=".67" d="M0 0h640v480H0z"/> </clipPath> </defs> <g fill-rule="evenodd" clip-path="url(#a)"> <path fill="#e90012" d="M-40 0h720v480H-40z"/> <path fill="#003dd2" ...
odota/web/public/assets/images/flags/la.svg/0
{ "file_path": "odota/web/public/assets/images/flags/la.svg", "repo_id": "odota", "token_count": 237 }
243
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <g stroke-width="1pt" fill-rule="evenodd"> <path fill="#ff3319" d="M213.33 0H640v240H213.33z"/> <path fill="#00cc28" d="M213.33 240H640v240H213.33z"/> <path fill="#fff" d="M0 0h213.33v480H0z"/> </g> </svg>
odota/web/public/assets/images/flags/mg.svg/0
{ "file_path": "odota/web/public/assets/images/flags/mg.svg", "repo_id": "odota", "token_count": 148 }
244