before_code
stringlengths
14
465k
reviewer_comment
stringlengths
16
64.5k
after_code
stringlengths
9
467k
diff_context
stringlengths
0
97k
file_path
stringlengths
5
226
comment_line
int32
0
26
language
stringclasses
37 values
quality_score
float32
0.07
1
comment_type
stringclasses
9 values
comment_length
int32
16
64.5k
before_lines
int32
1
17.2k
after_lines
int32
1
12.1k
is_negative
bool
2 classes
pr_title
stringlengths
1
308
pr_number
int32
1
299k
repo_name
stringclasses
533 values
repo_stars
int64
321
419k
repo_language
stringclasses
27 values
reviewer_username
stringlengths
0
39
author_username
stringlengths
2
39
describe('--listTests flag', () => { it('causes tests to be printed in different lines', () => { const {exitCode, stdout} = runJest('list-tests', ['--listTests']); expect(exitCode).toBe(0); expect( normalizePaths(stdout).split('\n').sort().join('\n'), ).toMatchSnapshot(); }); it('causes t...
No issues found.
describe('--listTests flag', () => { it('causes tests to be printed in different lines', () => { const {exitCode, stdout} = runJest('list-tests', ['--listTests']); expect(exitCode).toBe(0); expect( normalizePaths(stdout).split('\n').sort().join('\n'), ).toMatchSnapshot(); }); it('causes t...
@@ -6,6 +6,7 @@ */ import * as path from 'path'; +import * as fs from 'graceful-fs'; import runJest from '../runJest'; const testRootDir = path.resolve(__dirname, '..', '..'); @@ -36,4 +37,52 @@ describe('--listTests flag', () => { JSON.stringify(JSON.parse(stdout).map(normalizePaths).sort()), ).to...
e2e/__tests__/listTests.test.ts
0
TypeScript
1
none
16
51
51
true
Support outputFile option for listTests option
14,980
jestjs/jest
45,309
TypeScript
manoraj
a as aliased_a, b, } from 'dep2'; export depDefault from 'dep3'; export * as depNS, { a as aliased_a, b, }, depDefault from 'dep4'; // Bad foo . export ('inv1'); foo . export ('inv2'); `; expect(extractor.extract(code)).toEqual( ne...
No issues found.
a as aliased_a, b, } from 'dep2'; export depDefault from 'dep3'; export * as depNS, { a as aliased_a, b, }, depDefault from 'dep4'; // Bad foo . export ('inv1'); foo . export ('inv2'); `; expect(extractor.extract(code)).toEqual( ne...
@@ -231,28 +231,6 @@ describe('dependencyExtractor', () => { ); }); - it('should extract dependencies from `jest.genMockFromModule` calls', () => { - const code = ` - // Good - jest.genMockFromModule('dep1'); - const dep2 = jest.genMockFromModule( - "dep2", - ); - if (jest....
packages/jest-haste-map/src/lib/__tests__/dependencyExtractor.test.js
0
JavaScript
1
none
16
51
51
true
refactor!: remove deprecated `jest.genMockFromModule()`
15,042
jestjs/jest
45,309
TypeScript
mrazauskas
...this._fileTransforms, ]); } this._fileTransforms.clear(); if (this._environment) { if (this._environment.global) { const envGlobal = this._environment.global; for (const key of Object.keys(envGlobal) as Array< keyof typeof globalThis >) { ...
No issues found.
...this._fileTransforms, ]); } this._fileTransforms.clear(); if (this._environment) { if (this._environment.global) { const envGlobal = this._environment.global; for (const key of Object.keys(envGlobal) as Array< keyof typeof globalThis >) { ...
@@ -2265,21 +2265,10 @@ export default class Runtime { const isolateModulesAsync = this.isolateModulesAsync.bind(this); const fn = this._moduleMocker.fn.bind(this._moduleMocker); const spyOn = this._moduleMocker.spyOn.bind(this._moduleMocker); - const mocked = - this._moduleMocker.mocked?.bind(th...
packages/jest-runtime/src/index.ts
0
TypeScript
1
none
16
51
51
true
refactor(jest-environment)!: remove unnecessary defensive code
15,045
jestjs/jest
45,309
TypeScript
mrazauskas
*/ const env = {...process.env, HGPLAIN: '1'}; // Whether `sl` is a steam locomotive or not let isSteamLocomotive = false; const adapter: SCMAdapter = { findChangedFiles: async (cwd, options) => { const includePaths = options.includePaths ?? []; const args = ['status', '-amnu']; if (options.withAncest...
No issues found.
*/ const env = {...process.env, HGPLAIN: '1'}; // Whether `sl` is a steam locomotive or not let isSteamLocomotive = false; const adapter: SCMAdapter = { findChangedFiles: async (cwd, options) => { const includePaths = options.includePaths ?? []; const args = ['status', '-amnu']; if (options.withAncest...
@@ -16,6 +16,9 @@ import type {SCMAdapter} from './types'; */ const env = {...process.env, HGPLAIN: '1'}; +// Whether `sl` is a steam locomotive or not +let isSteamLocomotive = false; + const adapter: SCMAdapter = { findChangedFiles: async (cwd, options) => { const includePaths = options.includePaths ?? [...
packages/jest-changed-files/src/sl.ts
0
TypeScript
1
none
16
51
51
true
Abort `sl root` call if output resembles a steam locomotive
15,053
jestjs/jest
45,309
TypeScript
rmartine-ias
'tsconfig.json': '{ "compilerOptions": { "module": "esnext" } }', }); const {stderr, exitCode} = runJest(DIR, ['-w=1', '--ci=false']); const {rest, summary} = extractSummary(stderr); expect(exitCode).toBe(0); expect(rest).toMatchSnapshot(); expect(summary).toMatchSnapshot(); }); test('traverses direct...
No issues found.
'tsconfig.json': '{ "compilerOptions": { "module": "esnext" } }', }); const {stderr, exitCode} = runJest(DIR, ['-w=1', '--ci=false']); const {rest, summary} = extractSummary(stderr); expect(exitCode).toBe(0); expect(rest).toMatchSnapshot(); expect(summary).toMatchSnapshot(); }); test('traverses direct...
@@ -6,6 +6,7 @@ */ import * as path from 'path'; +import * as fs from 'graceful-fs'; import {cleanup, extractSummary, writeFiles} from '../Utils'; import runJest from '../runJest'; @@ -73,17 +74,44 @@ test('traverses directory tree up until it finds jest.config', () => { expect(summary).toMatchSnapshot(); ...
e2e/__tests__/jest.config.ts.test.ts
0
TypeScript
1
none
16
51
51
true
feat: added an option to disable ts-node
15,161
jestjs/jest
45,309
TypeScript
k-rajat19
async function loadBabelConfigAsync( cwd: string, filename: string, transformOptions: BabelTransformOptions, ): Promise<PartialConfig> { const babelConfig = await loadPartialConfigAsync(transformOptions); assertLoadedBabelConfig(babelConfig, cwd, filename); return babelConfig; } function loadBabelOption...
No issues found.
async function loadBabelConfigAsync( cwd: string, filename: string, transformOptions: BabelTransformOptions, ): Promise<PartialConfig> { const babelConfig = await loadPartialConfigAsync(transformOptions); assertLoadedBabelConfig(babelConfig, cwd, filename); return babelConfig; } function loadBabelOption...
@@ -8,8 +8,8 @@ import {createHash} from 'crypto'; import * as path from 'path'; import { + type TransformOptions as BabelTransformOptions, type PartialConfig, - type TransformOptions, transformSync as babelTransform, transformAsync as babelTransformAsync, } from '@babel/core'; @@ -23,6 +23,10 @@ import ...
packages/babel-jest/src/index.ts
0
TypeScript
1
none
16
51
51
true
feat(babel-jest): add option excludeJestPreset
15,164
jestjs/jest
45,309
TypeScript
latin-1
subsetEquality(transitiveCircularObjA2, transitiveCircularObjA1), ).toBe(true); expect( subsetEquality(transitiveCircularObjB, transitiveCircularObjA1), ).toBe(false); expect( subsetEquality(primitiveInsteadOfRef, transitiveCircularObjA1), ).toBe(false); }); }...
No issues found.
subsetEquality(transitiveCircularObjA2, transitiveCircularObjA1), ).toBe(true); expect( subsetEquality(transitiveCircularObjB, transitiveCircularObjA1), ).toBe(false); expect( subsetEquality(primitiveInsteadOfRef, transitiveCircularObjA1), ).toBe(false); }); }...
@@ -670,37 +670,55 @@ describe('arrayBufferEquality', () => { test('returns false when given non-matching buffers', () => { const a = Uint8Array.from([2, 4]).buffer; const b = Uint16Array.from([1, 7]).buffer; - expect(arrayBufferEquality(a, b)).not.toBeTruthy(); + expect(arrayBufferEquality(a, b)).to...
packages/expect-utils/src/__tests__/utils.test.ts
0
TypeScript
1
none
16
51
51
true
fix: properly compare `TypedArray`s of all types
15,178
jestjs/jest
45,309
TypeScript
SimenB
toString() { return 'Anything'; } // No getExpectedType method, because it matches either null or undefined. override toAsymmetricMatcher() { return 'Anything'; } } class ArrayContaining extends AsymmetricMatcher<Array<unknown>> { constructor(sample: Array<unknown>, inverse = false) { super(...
No issues found.
toString() { return 'Anything'; } // No getExpectedType method, because it matches either null or undefined. override toAsymmetricMatcher() { return 'Anything'; } } class ArrayContaining extends AsymmetricMatcher<Array<unknown>> { constructor(sample: Array<unknown>, inverse = false) { super(...
@@ -41,18 +41,6 @@ const utils = Object.freeze({ subsetEquality, }); -function getPrototype(obj: object) { - if (Object.getPrototypeOf) { - return Object.getPrototypeOf(obj); - } - - if (obj.constructor.prototype == obj) { - return null; - } - - return obj.constructor.prototype; -} - export function h...
packages/expect/src/asymmetricMatchers.ts
0
TypeScript
1
none
16
51
51
true
chore: enable `eqeqeq` lint rule
15,182
jestjs/jest
45,309
TypeScript
SimenB
const runtime = new Runtime( projectConfig, environment, resolver, transformer, cacheFS, { changedFiles: context.changedFiles, collectCoverage: globalConfig.collectCoverage, collectCoverageFrom: globalConfig.collectCoverageFrom, coverageProvider: globalConfig.coverageP...
No issues found.
const runtime = new Runtime( projectConfig, environment, resolver, transformer, cacheFS, { changedFiles: context.changedFiles, collectCoverage: globalConfig.collectCoverage, collectCoverageFrom: globalConfig.collectCoverageFrom, coverageProvider: globalConfig.coverageP...
@@ -6,6 +6,7 @@ * */ +import {runInContext} from 'node:vm'; import chalk = require('chalk'); import * as fs from 'graceful-fs'; import sourcemapSupport = require('source-map-support'); @@ -208,6 +209,14 @@ async function runTestInternal( const tearDownEnv = async () => { if (!isTornDown) { runti...
packages/jest-runner/src/runTest.ts
0
TypeScript
1
none
16
51
51
true
Fully cleanup source-map-support
15,233
jestjs/jest
45,309
TypeScript
eyalroth
if (configObject.rootDir) { // We don't touch it if it has an absolute path specified if (!path.isAbsolute(configObject.rootDir)) { // otherwise, we'll resolve it relative to the file's __dirname configObject = { ...configObject, rootDir: path.resolve(path.dirname(configPath), conf...
No issues found.
if (configObject.rootDir) { // We don't touch it if it has an absolute path specified if (!path.isAbsolute(configObject.rootDir)) { // otherwise, we'll resolve it relative to the file's __dirname configObject = { ...configObject, rootDir: path.resolve(path.dirname(configPath), conf...
@@ -89,13 +89,19 @@ export default async function readConfigFileAndSetRootDir( } // Load the TypeScript configuration +let extraTSLoaderOptions: Record<string, unknown>; + const loadTSConfigFile = async ( configPath: string, ): Promise<Config.InitialOptions> => { // Get registered TypeScript compiler instan...
packages/jest-config/src/readConfigFileAndSetRootDir.ts
0
TypeScript
1
none
16
51
51
true
feat: allow passing TS config loader options
15,234
jestjs/jest
45,309
TypeScript
k-rajat19
* Return a TestPathPatternsExecutor that can execute the patterns. */ toExecutor( options: TestPathPatternsExecutorOptions, ): TestPathPatternsExecutor { return new TestPathPatternsExecutor(this, options); } /** For jest serializers */ toJSON(): any { return { patterns: this.patterns,...
No issues found.
* Return a TestPathPatternsExecutor that can execute the patterns. */ toExecutor( options: TestPathPatternsExecutorOptions, ): TestPathPatternsExecutor { return new TestPathPatternsExecutor(this, options); } /** For jest serializers */ toJSON(): any { return { patterns: this.patterns,...
@@ -5,7 +5,8 @@ * LICENSE file in the root directory of this source tree. */ -import {escapePathForRegex, replacePathSepForRegex} from 'jest-regex-util'; +import * as path from 'path'; +import {replacePathSepForRegex} from 'jest-regex-util'; export class TestPathPatterns { constructor(readonly patterns: Arr...
packages/jest-pattern/src/TestPathPatterns.ts
0
TypeScript
1
none
16
51
51
true
Fix absolute path check for Windows
15,235
jestjs/jest
45,309
TypeScript
brandonchinn178
const pass = thrown !== null && thrown.message === expected.message && thrownMessageAndCause === expectedMessageAndCause && (!isCompareErrorInstance || !isExpectedCustomErrorInstance || thrown.value instanceof expected.constructor); const message = pass ? () => // eslint-dis...
No issues found.
const pass = thrown !== null && thrown.message === expected.message && thrownMessageAndCause === expectedMessageAndCause && (!isCompareErrorInstance || !isExpectedCustomErrorInstance || thrown.value instanceof expected.constructor); const message = pass ? () => // eslint-dis...
@@ -465,22 +465,43 @@ const formatStack = (thrown: Thrown | null) => }, ); -function createMessageAndCauseMessage(error: Error): string { - if (error.cause instanceof Error) { - return `{ message: ${error.message}, cause: ${createMessageAndCauseMessage( - error.cause, - )}}`; +function cre...
packages/expect/src/toThrowMatchers.ts
0
TypeScript
1
none
16
51
51
true
fix: error cause bug
15,339
jestjs/jest
45,309
TypeScript
BondarenkoAlex
thrown.message === expected.message && thrownMessageAndCause === expectedMessageAndCause && (!isCompareErrorInstance || !isExpectedCustomErrorInstance || thrown.value instanceof expected.constructor); const message = pass ? () => // eslint-disable-next-line prefer-template ...
No issues found.
thrown.message === expected.message && thrownMessageAndCause === expectedMessageAndCause && (!isCompareErrorInstance || !isExpectedCustomErrorInstance || thrown.value instanceof expected.constructor); const message = pass ? () => // eslint-disable-next-line prefer-template ...
@@ -18,7 +18,11 @@ import { printReceived, printWithType, } from 'jest-matcher-utils'; -import {formatStackTrace, separateMessageFromStack} from 'jest-message-util'; +import { + formatExecError, + formatStackTrace, + separateMessageFromStack, +} from 'jest-message-util'; import { printExpectedConstructorN...
packages/expect/src/toThrowMatchers.ts
0
TypeScript
1
none
16
51
51
true
fix: print `AggregateError` to display
15,346
jestjs/jest
45,309
TypeScript
BondarenkoAlex
const slash = require('slash'); test('giraffe', () => expect(1).toBe(1)); test('abc', () => console.log(slash(process.cwd()))); `, 'jest.config.ts': "export default {testEnvironment: 'jest-environment-node', testRegex: '.*-giraffe.js'};", 'package.json': '{}', 'some/nested/directory/fi...
No issues found.
const slash = require('slash'); test('giraffe', () => expect(1).toBe(1)); test('abc', () => console.log(slash(process.cwd()))); `, 'jest.config.ts': "export default {testEnvironment: 'jest-environment-node', testRegex: '.*-giraffe.js'};", 'package.json': '{}', 'some/nested/directory/fi...
@@ -7,6 +7,7 @@ import * as path from 'path'; import * as fs from 'graceful-fs'; +import {onNodeVersions} from '@jest/test-utils'; import {cleanup, extractSummary, writeFiles} from '../Utils'; import runJest from '../runJest'; @@ -23,7 +24,9 @@ test('works with jest.config.ts', () => { 'package.json': '{}'...
e2e/__tests__/jest.config.ts.test.ts
0
TypeScript
1
none
16
51
51
true
feat(config): if `process.features.typescript` is set, load `jest.config.ts` without external loader
15,480
jestjs/jest
45,309
TypeScript
phryneas
root, ); const existing = watchmanRoots.get(response.watch); // A root can only be filtered if it was never seen with a // relative_path before. const canBeFiltered = !existing || existing.length > 0; if (canBeFiltered) { if (response.relative_path) {...
No issues found.
root, ); const existing = watchmanRoots.get(response.watch); // A root can only be filtered if it was never seen with a // relative_path before. const canBeFiltered = !existing || existing.length > 0; if (canBeFiltered) { if (response.relative_path) {...
@@ -125,6 +125,7 @@ export async function watchmanCrawl(options: CrawlerOptions): Promise<{ const cmd = <T>(...args: Array<any>): Promise<T> => new Promise((resolve, reject) => + // @ts-expect-error: client is typed strictly, but incomplete client.command(args, (error, result) => error ? ...
packages/jest-haste-map/src/crawlers/watchman.ts
0
TypeScript
1
none
16
51
51
true
chore: update typescript
15,566
jestjs/jest
45,309
TypeScript
SimenB
throw new Error(result.error); } return result.path!; }; function baseResolver(path: string, options: ResolverOptions): string; function baseResolver( path: string, options: ResolverOptions, async: true, ): Promise<string>; function baseResolver( path: string, options: ResolverOptions, async?: true...
No issues found.
throw new Error(result.error); } return result.path!; }; function baseResolver(path: string, options: ResolverOptions): string; function baseResolver( path: string, options: ResolverOptions, async: true, ): Promise<string>; function baseResolver( path: string, options: ResolverOptions, async?: true...
@@ -5,6 +5,7 @@ * LICENSE file in the root directory of this source tree. */ +import {isBuiltin} from 'module'; import {fileURLToPath} from 'url'; import pnpResolver from 'jest-pnp-resolver'; import { @@ -73,6 +74,12 @@ function baseResolver( options: ResolverOptions, async?: true, ): string | Promise<s...
packages/jest-resolve/src/defaultResolver.ts
0
TypeScript
1
none
16
51
51
true
fix: resolve builtin modules correctly
15,683
jestjs/jest
45,309
TypeScript
JounQin
if (configPath.endsWith(PACKAGE_JSON)) { // Event if there's no "jest" property in package.json we will still use // an empty object. configObject = configObject.jest || {}; } if (typeof configObject === 'function') { configObject = await configObject(); } if (configObject.rootDir) { // ...
No issues found.
if (configPath.endsWith(PACKAGE_JSON)) { // Event if there's no "jest" property in package.json we will still use // an empty object. configObject = configObject.jest || {}; } if (typeof configObject === 'function') { configObject = await configObject(); } if (configObject.rootDir) { // ...
@@ -39,9 +39,29 @@ export default async function readConfigFileAndSetRootDir( let configObject; try { - // @ts-expect-error: type assertion can be removed once @types/node is updated to 23 https://nodejs.org/api/process.html#processfeaturestypescript - if (isTS && !process.features.typescript) { - co...
packages/jest-config/src/readConfigFileAndSetRootDir.ts
0
TypeScript
1
none
16
51
51
true
Fix ESM TS config loading in a CJS project
15,694
jestjs/jest
45,309
TypeScript
phryneas
) + '\n\n' + `Expected: v${SNAPSHOT_VERSION}\n` + `Received: v${version}`, ); } return null; }; const normalizeTestNameForKey = (testName: string): string => testName.replaceAll(/\r\n|\r|\n/g, match => { switch (match) { case '\r\n': return '\\r\\n'; cas...
No issues found.
) + '\n\n' + `Expected: v${SNAPSHOT_VERSION}\n` + `Received: v${version}`, ); } return null; }; const normalizeTestNameForKey = (testName: string): string => testName.replaceAll(/\r\n|\r|\n/g, match => { switch (match) { case '\r\n': return '\\r\\n'; cas...
@@ -75,15 +75,43 @@ const validateSnapshotVersion = (snapshotContents: string) => { return null; }; +const normalizeTestNameForKey = (testName: string): string => + testName.replaceAll(/\r\n|\r|\n/g, match => { + switch (match) { + case '\r\n': + return '\\r\\n'; + case '\r': + return ...
packages/jest-snapshot-utils/src/utils.ts
0
TypeScript
1
none
16
51
51
true
feat: handle line endings in snapshot
15,708
jestjs/jest
45,309
TypeScript
notoriousmango
const DIR = path.resolve(__dirname, '../to-match-inline-snapshot-crlf'); const TESTS_DIR = path.resolve(DIR, '__tests__'); const JEST_CONFIG_PATH = path.resolve(DIR, 'jest.config.js'); const PRETTIER_RC_PATH = path.resolve(DIR, '.prettierrc'); const readFile = (filename: string) => fs.readFileSync(path.join(TESTS_DI...
No issues found.
const DIR = path.resolve(__dirname, '../to-match-inline-snapshot-crlf'); const TESTS_DIR = path.resolve(DIR, '__tests__'); const JEST_CONFIG_PATH = path.resolve(DIR, 'jest.config.js'); const PRETTIER_RC_PATH = path.resolve(DIR, '.prettierrc'); const readFile = (filename: string) => fs.readFileSync(path.join(TESTS_DI...
@@ -0,0 +1,73 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +import * as path from 'path'; +import * as fs from 'graceful-fs'; +import {cleanup, runYarnInstall, wri...
e2e/__tests__/toMatchInlineSnapshotCrlf.test.ts
0
TypeScript
1
none
16
51
51
true
fix: use parsed source text for Prettier formatting
15,764
jestjs/jest
45,309
TypeScript
JoostK
children: [], duration: 10, name: 'test', status: 'skipped', }, { children: [], duration: 14, name: 'test2', status: 'todo', }, ], ...
No issues found.
children: [], duration: 10, name: 'test', status: 'skipped', }, { children: [], duration: 14, name: 'test2', status: 'todo', }, ], ...
@@ -13,8 +13,7 @@ import type { TestCaseResult, TestResult, } from '@jest/test-result'; -import {normalizeIcons} from '@jest/test-utils'; -import type {Config} from '@jest/types'; +import {makeGlobalConfig, normalizeIcons} from '@jest/test-utils'; import BaseGitHubActionsReporter from '../GitHubActionsReporter'...
packages/jest-reporters/src/__tests__/GitHubActionsReporter.test.ts
0
TypeScript
1
none
16
51
51
true
fix(jest-reporters): print out console log for GHA reporter and group by test file
15,864
jestjs/jest
45,309
TypeScript
hainenber
val flag = if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) { PackageManager.GET_SIGNATURES } else { PackageManager.GET_SIGNING_CERTIFICATES } return if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) { packageManager.getPackageInfo(packageNam...
No issues found.
val flag = if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) { PackageManager.GET_SIGNATURES } else { PackageManager.GET_SIGNING_CERTIFICATES } return if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) { packageManager.getPackageInfo(packageNam...
@@ -0,0 +1,84 @@ +@file:Suppress("DEPRECATION") + +package com.lizongying.mytv + +import android.content.Context +import android.content.pm.PackageInfo +import android.content.pm.PackageManager +import android.content.pm.Signature +import android.content.pm.SigningInfo +import android.os.Build +import android.util.Log ...
app/src/main/java/com/lizongying/mytv/Ext.kt
0
Kotlin
1
none
16
51
51
true
Optimize SettingFragment
536
lizongying/my-tv
29,184
C
WoooKong
if(len(matches)==0): hast_timed_out = time.time()-start > timeout if(hast_timed_out): if not name is None: pass # print('timed out') return False # print('button not found yet') continue ...
No issues found.
if(len(matches)==0): hast_timed_out = time.time()-start > timeout if(hast_timed_out): if not name is None: pass # print('timed out') return False # print('button not found yet') continue ...
@@ -1,4 +1,6 @@ from cv2 import cv2 +from src.logger import logger, loggerMapClicked + import numpy as np import mss import pyautogui @@ -25,13 +27,17 @@ ; ' : :`-: _.`* ; .*' / .*' ; .*`- +' `*' ...
index.py
0
Python
1
none
16
51
51
true
[Feature] Stylized log
132
mpcabete/bombcrypto-bot
576
Python
newerton
#!/usr/bin/env node 'use strict'; const path = require('path'); const { createWorker } = require('../..'); (async () => { const worker = await createWorker(); const fileArr = [ path.join(__dirname, '..', 'data', 'meditations.jpg'), path.join(__dirname, '..', 'data', 'tyger.jpg'), path.join(__dirname,...
No issues found.
#!/usr/bin/env node 'use strict'; const path = require('path'); const { createWorker } = require('../..'); (async () => { const worker = await createWorker(); const fileArr = [ path.join(__dirname, '..', 'data', 'meditations.jpg'), path.join(__dirname, '..', 'data', 'tyger.jpg'), path.join(__dirname,...
@@ -1,4 +1,7 @@ #!/usr/bin/env node + +'use strict'; + const path = require('path'); const { createWorker } = require('../..');
benchmarks/node/speed-benchmark.js
0
JavaScript
1
none
16
32
32
true
Add strict mode directives
1,003
naptha/tesseract.js
26,733
JavaScript
Fdawgs