repo_name
stringlengths
4
68
text
stringlengths
21
269k
avg_line_length
float64
9.4
9.51k
max_line_length
int64
20
28.5k
alphnanum_fraction
float64
0.3
0.92
null
'use strict'; const Git = require('nodegit'); const rimraf = require('rimraf'); const ncp = require('ncp').ncp; const {existsSync} = require('fs'); const exec = require('child_process').exec; const {join} = require('path'); const reactUrl = 'https://github.com/facebook/react.git'; function cleanDir() { return new ...
25.162602
89
0.658999
null
/** * 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. * * @flow */ export * from './src/ReactTestRenderer';
21.363636
66
0.693878
cybersecurity-penetration-testing
/** * 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. * * @flow */ import type {ReactContext, ReactProviderType} from 'shared/ReactTypes'; import type { Fiber, ContextDependency, ...
31.469987
95
0.649805
Hands-On-Penetration-Testing-with-Python
/** * 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. * * @flow */ import {__DEBUG__} from 'react-devtools-shared/src/constants'; import type {Thenable, Wakeable} from 'shared/ReactT...
22.919753
88
0.619515
Effective-Python-Penetration-Testing
/** * 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. * * @flow */ /************************************************************************ * This file is forked between different D...
34.9
74
0.609484
null
/** * 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. * * @flow */ import type {Thenable} from 'shared/ReactTypes'; // The server acts as a Client of itself when resolving Server Ref...
28.078727
88
0.642721
Mastering-Machine-Learning-for-Penetration-Testing
/** * 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. * * @flow */ import {copy} from 'clipboard-js'; import * as React from 'react'; import {OptionsContext} from '../context'; import...
27.378378
79
0.630994
owtf
module.exports = { baseUrl: '.', name: 'input', out: 'output.js', optimize: 'none', paths: { react: '../../../../build/oss-experimental/react/umd/react.production.min', 'react-dom': '../../../../build/oss-experimental/react-dom/umd/react-dom.production.min', schedule: '../../../../buil...
26.5
82
0.591146
Hands-On-Penetration-Testing-with-Python
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Component = Component; /** * 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. * * */ function C...
67.238095
1,032
0.902235
Hands-On-Penetration-Testing-with-Python
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Component = Component; var _react = _interopRequireWildcard(require("react")); var _jsxFileName = ""; function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWil...
36.617647
743
0.636293
owtf
import FixtureSet from '../../FixtureSet'; import TestCase from '../../TestCase'; const React = window.React; export default class MediaEvents extends React.Component { state = { playbackRate: 2, events: { onCanPlay: false, onCanPlayThrough: false, onDurationChange: false, onEmptied:...
25.430894
78
0.547692
cybersecurity-penetration-testing
/** * 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. * * @flow */ import type {Interaction} from './useCanvasInteraction'; import type {Size} from './geometry'; import memoize from ...
24.070968
98
0.637838
Effective-Python-Penetration-Testing
/** * 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. * * @flow */ import * as React from 'react'; import Badge from './Badge'; import IndexableDisplayName from './IndexableDisplayNa...
21.068182
78
0.696907
null
/** * 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. * * @flow */ // Turns a TypedArray or ArrayBuffer into a string that can be used for comparison // in a Map to see if the bytes a...
26.2
82
0.723757
cybersecurity-penetration-testing
/** * 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. * * @flow */ export { prerenderToNodeStream, version, } from './src/server/react-dom-server.node';
20.071429
66
0.697279
Python-Penetration-Testing-for-Developers
'use strict'; module.exports = require('./client.browser');
14.5
45
0.688525
Python-for-Offensive-PenTest
/** * 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. * * @flow */ import {formatDuration} from './utils'; import ProfilerStore from 'react-devtools-shared/src/devtools/ProfilerStore'...
24.611399
86
0.631526
Effective-Python-Penetration-Testing
/** * 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. * * @flow */ import * as React from 'react'; import {createRegExp} from '../utils'; import {TreeStateContext} from './TreeConte...
23.859375
80
0.681761
owtf
var path = require('path'); module.exports = { entry: './input', output: { filename: 'output.js', }, resolve: { root: path.resolve('../../../../build/oss-experimental/'), }, };
15.416667
62
0.535714
cybersecurity-penetration-testing
/** * 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. * * @flow */ import {canUseDOM} from 'shared/ExecutionEnvironment'; export let passiveBrowserEventsSupported: boolean = false; ...
26.6875
112
0.692655
cybersecurity-penetration-testing
/** * 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. * * @flow */ import {isInternalModule} from '../moduleFilters'; describe('isInternalModule', () => { let map; function crea...
27.2125
91
0.631649
Python-Penetration-Testing-for-Developers
/** * 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. * * @emails react-core * @jest-environment node */ let React; let ReactNoop; let act; let useState; let useMemoCache; let MemoCa...
24.561308
82
0.548507
null
/** * 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. * * @flow */ import type {BatchConfigTransition} from 'react-reconciler/src/ReactFiberTracingMarkerComponent'; import type {StartT...
32.803571
99
0.69926
cybersecurity-penetration-testing
/** * 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. * * @flow */ import {clamp} from './clamp'; /** * Single-axis offset and length state. * * ``` * contentStart containerSta...
22.014493
80
0.65148
PenTesting
/** * 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. * * @flow */ export * from '../src/ReactFlightWebpackNodeLoader.js';
22.727273
66
0.703846
owtf
import React, {Component, Suspense, startTransition} from 'react'; import Theme, {ThemeToggleButton} from './Theme'; import './Chrome.css'; export default class Chrome extends Component { state = {theme: 'light'}; render() { const assets = this.props.assets; return ( <html lang="en"> <head>...
28.32
80
0.477133
null
'use strict'; module.exports = require('bindings')('perfcounters');
16.5
53
0.710145
owtf
const validateHeaderIds = require('./headingIDHelpers/validateHeadingIDs'); const generateHeadingIds = require('./headingIDHelpers/generateHeadingIDs'); /** * yarn lint-heading-ids --> Checks all files and causes an error if heading ID is missing * yarn lint-heading-ids --fix --> Fixes all markdown file's heading I...
47.588235
148
0.747879
cybersecurity-penetration-testing
/** * 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. * * @emails react-core */ // NOTE: We're explicitly not using JSX here. This is intended to test // the current stack addendum wi...
28.275449
80
0.569149
Effective-Python-Penetration-Testing
/** * 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. * * @flow */ import * as React from 'react'; import Badge from './Badge'; import ForgetBadge from './ForgetBadge'; import style...
22.102041
78
0.645447
Mastering-Machine-Learning-for-Penetration-Testing
/** * 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. * * @flow */ import type {ReactContext} from 'shared/ReactTypes'; import * as React from 'react'; import { createContext, us...
29.253589
119
0.671307
null
/** * 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. * * @flow */ export * from './src/ReactSuspenseTestUtils';
21.818182
66
0.7
Python-Penetration-Testing-Cookbook
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "ComponentUsingHooksIndirectly", { enumerable: true, get: function () { return _ComponentUsingHooksIndirectly.Component; } }); Object.defineProperty(exports, "ComponentWithCustomHook", { enumerable...
54.235955
1,652
0.816073
null
#!/usr/bin/env node 'use strict'; const {exec} = require('child-process-promise'); const {existsSync} = require('fs'); const {join} = require('path'); const {execRead, logPromise} = require('../utils'); const theme = require('../theme'); const run = async ({cwd, local, packages, version}) => { if (local) { // ...
32.803279
96
0.647259
cybersecurity-penetration-testing
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/react-noop-renderer-flight-server.production.min.js'); } else { module.exports = require('./cjs/react-noop-renderer-flight-server.development.js'); }
29.875
88
0.707317
null
/** * 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. * * @flow */ // $FlowFixMe[cannot-resolve-module] const dynamicFeatureFlags = require('SchedulerFeatureFlags'); const {enablePro...
25.392857
74
0.779133
cybersecurity-penetration-testing
/** * 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. * * @flow */ import {canUseDOM} from 'shared/ExecutionEnvironment'; /** * Checks if an event is supported in the current execut...
25.116279
78
0.695187
Python-for-Offensive-PenTest
/** * 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. * * @flow */ import * as React from 'react'; import {Fragment, useContext} from 'react'; import {ProfilerContext} from './Profile...
26.932432
80
0.668925
owtf
// copied from scripts/jest/matchers/toWarnDev.js 'use strict'; const {diff: jestDiff} = require('jest-diff'); const util = require('util'); function shouldIgnoreConsoleError(format, args) { if (__DEV__) { if (typeof format === 'string') { if (format.indexOf('Error: Uncaught [') === 0) { // This l...
35.568966
135
0.576198
Penetration-Testing-Study-Notes
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/react-art.production.min.js'); } else { module.exports = require('./cjs/react-art.development.js'); }
23.875
64
0.666667
null
#!/usr/bin/env node 'use strict'; const chalk = require('chalk'); const {exec} = require('child-process-promise'); const inquirer = require('inquirer'); const {homedir} = require('os'); const {join, relative} = require('path'); const {DRY_RUN, ROOT_PATH} = require('./configuration'); const { clear, confirm, con...
26.653226
79
0.663555
cybersecurity-penetration-testing
/** * 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. * * @flow */ import {enableCreateEventHandleAPI} from 'shared/ReactFeatureFlags'; export type Flags = number; // Don't change t...
47.724771
95
0.690395
cybersecurity-penetration-testing
/** * 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. * * @flow */ import type { Thenable, PendingThenable, FulfilledThenable, RejectedThenable, } from 'shared/ReactTypes'; im...
33.417112
80
0.695571
cybersecurity-penetration-testing
/* eslint-disable dot-notation */ // Instruction set for Fizz inline scripts. // DO NOT DIRECTLY IMPORT THIS FILE. This is the source for the compiled and // minified code in ReactDOMFizzInstructionSetInlineCodeStrings. import { clientRenderBoundary, completeBoundary, completeSegment, } from './ReactDOMFizzInst...
32.464789
111
0.653968
PenTesting
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/react-server-dom-webpack-client.node.production.min.js'); } else { module.exports = require('./cjs/react-server-dom-webpack-client.node.development.js'); }
30.625
91
0.706349
null
/** * @license React * * 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. */ /* eslint-disable max-len */ 'use strict'; (function (global, factory) { // eslint-disable-next-line ft...
30.612245
124
0.701679
null
/** * @externs */ /* eslint-disable */ 'use strict'; /** @type {function} */ var addEventListener;
9.4
23
0.582524
Python-Penetration-Testing-for-Developers
let React; let ReactNoop; let Scheduler; let startTransition; let useState; let useEffect; let act; let assertLog; let waitFor; let waitForPaint; describe('ReactInterleavedUpdates', () => { beforeEach(() => { jest.resetModules(); React = require('react'); ReactNoop = require('react-noop-renderer'); ...
25.864583
128
0.582897
Python-Penetration-Testing-for-Developers
/** * 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. * * @flow */ export * from 'react-art/src/ReactFiberConfigART';
22.272727
66
0.705882
null
'use strict'; const chalk = require('chalk'); const {exec} = require('child-process-promise'); const {existsSync, mkdirSync} = require('fs'); const {readJsonSync, writeJsonSync} = require('fs-extra'); const inquirer = require('inquirer'); const {join} = require('path'); const createLogger = require('progress-estimator...
21.790698
81
0.656005
null
/** * 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. * * @flow */ // This is a host config that's used for the `react-server` package on npm. // It is only used by third-party render...
40.25
76
0.757453
cybersecurity-penetration-testing
/** * 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. * * @flow */ import getVendorPrefixedEventName from './getVendorPrefixedEventName'; export type DOMEventName = | 'abort' | '...
19.966942
80
0.641167
cybersecurity-penetration-testing
/** * 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. * * @flow strict */ import type {PublicInstance} from './ReactNativePrivateInterface'; export default function getNativeTagFromP...
23.294118
66
0.75
Mastering-Machine-Learning-for-Penetration-Testing
/** * 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. * * @flow */ import * as React from 'react'; import { Menu, MenuList as ReachMenuList, MenuButton, MenuItem, } from '@rea...
19.194444
66
0.657025
cybersecurity-penetration-testing
'use strict'; var s; if (process.env.NODE_ENV === 'production') { s = require('./cjs/react-dom-server.edge.production.min.js'); } else { s = require('./cjs/react-dom-server.edge.development.js'); } exports.version = s.version; exports.prerender = s.prerender;
21.25
63
0.676692
Python-Penetration-Testing-for-Developers
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/react-server-dom-turbopack-server.browser.production.min.js'); } else { module.exports = require('./cjs/react-server-dom-turbopack-server.browser.development.js'); }
31.875
96
0.717557
PenetrationTestingScripts
/* global chrome */ // Firefox doesn't support ExecutionWorld.MAIN yet // https://bugzilla.mozilla.org/show_bug.cgi?id=1736575 function executeScriptForFirefoxInMainWorld({target, files}) { return chrome.scripting.executeScript({ target, func: fileNames => { function injectScriptSync(src) { let...
26.140351
79
0.647477
cybersecurity-penetration-testing
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/react-reconciler.production.min.js'); } else { module.exports = require('./cjs/react-reconciler.development.js'); }
25.625
71
0.688679
Python-Penetration-Testing-Cookbook
/** * 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. * * @flow */ import {parse} from '@babel/parser'; import {generateHookMap} from '../generateHookMap'; import {getHookNameForLocat...
28.633962
80
0.604559
PenetrationTestingScripts
module.exports = require('./dist/frontend');
22
44
0.711111
Penetration_Testing
/** * 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. * * @flow */ import type {Fiber} from './ReactInternalTypes'; import { resetCurrentFiber as resetCurrentDebugFiberInDEV, set...
36.83558
114
0.673625
Effective-Python-Penetration-Testing
/** * 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. * * @flow */ /************************************************************************ * This file is forked between different D...
39.83871
76
0.586561
owtf
/* * Copyright (c) Facebook, Inc. and its affiliates. */ // Used in next.config.js to remove the raf transitive dependency. export default window.requestAnimationFrame;
23.714286
66
0.75
PenetrationTestingScripts
/** * 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. * * @flow */ import type {InternalInstance} from './renderer'; export function decorate(object: Object, attr: string, fn: Functi...
27.693878
103
0.683274
cybersecurity-penetration-testing
/** * 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. * * @flow */ 'use strict'; export * from './src/ReactReconcilerConstants';
19.615385
66
0.696629
PenTesting
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/react-server-dom-webpack-client.browser.production.min.js'); } else { module.exports = require('./cjs/react-server-dom-webpack-client.browser.development.js'); }
31.375
94
0.713178
cybersecurity-penetration-testing
/** * 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. * * @emails react-core */ 'use strict'; let PropTypes; let React; let ReactDOM; let ReactFeatureFlags; // TODO: Refactor this t...
31.732143
115
0.652682
null
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('../cjs/use-sync-external-store-shim.native.production.min.js'); } else { module.exports = require('../cjs/use-sync-external-store-shim.native.development.js'); }
30.625
91
0.698413
cybersecurity-penetration-testing
/** * 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. * * @flow */ 'use strict'; export { isValidElementType, typeOf, ContextConsumer, ContextProvider, Element, ForwardRe...
14.571429
66
0.701378
PenetrationTestingScripts
/** * 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. * * @flow */ describe('Bridge', () => { let Bridge; beforeEach(() => { Bridge = require('react-devtools-shared/src/bridg...
29.574074
87
0.655152
null
/** * 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. * * @emails react-core */ 'use strict'; let ReactDOM; let React; let ReactCache; let ReactTestRenderer; let waitForAll; describ...
26.864
92
0.589891
null
/** * 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. * * @flow strict */ export type PriorityLevel = 0 | 1 | 2 | 3 | 4 | 5; // TODO: Use symbols? export const NoPriority = 0; export...
24.473684
66
0.714286
owtf
import Fixture from '../../Fixture'; import FixtureSet from '../../FixtureSet'; import TestCase from '../../TestCase'; const React = window.React; const ReactDOM = window.ReactDOM; const Suspense = React.Suspense; let cache = new Set(); function AsyncStep({text, ms}) { if (!cache.has(text)) { throw new Promis...
30.975309
100
0.540303
null
/** * 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. * * @flow */ interface Reference {} type TaintEntry = { message: string, count: number, }; export const TaintRegistryObject...
35.964286
87
0.745648
owtf
/** @license React v16.14.0 * react-jsx-runtime.production.min.js * * 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. */ 'use strict';var f=require("react"),g=60103;exports.Fragment=60...
84.545455
345
0.688298
Penetration-Testing-with-Shellcode
/** * 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. * * @flow */ import type {ReactClientValue} from 'react-server/src/ReactFlightServer'; import type { ImportMetadata, ImportMa...
27.93617
85
0.720485
null
/** * 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. * * @flow */ import type {ReactClientValue} from 'react-server/src/ReactFlightServer'; import type { ImportMetadata, ImportMa...
27.893617
85
0.720074
null
#!/usr/bin/env node 'use strict'; const {exec} = require('child-process-promise'); const {join} = require('path'); const {tmpdir} = require('os'); const {logPromise} = require('../utils'); const theme = require('../theme'); const run = async ({commit, cwd, tempDirectory}) => { const directory = `react-${commit}`; ...
26.515152
85
0.63065
Penetration_Testing
/** * 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. * * @flow */ export type HookFlags = number; export const NoFlags = /* */ 0b0000; // Represents whether effect should fire. e...
25.047619
69
0.68315
null
/** * 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. * * @flow */ import type {Dispatcher} from 'react-reconciler/src/ReactInternalTypes'; /** * Keeps track of the current dispatch...
21.15
72
0.721719
cybersecurity-penetration-testing
/** * 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. * * @flow */ // Adapted from: https://github.com/facebookarchive/fixed-data-table/blob/main/src/vendor_upstream/dom/normalizeWhee...
34.918605
120
0.680376
Python-Penetration-Testing-for-Developers
/** * 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. * * @flow */ export * from 'react-native-renderer/src/ReactFiberConfigNative';
23.636364
66
0.718519
PenetrationTestingScripts
/* global chrome */ 'use strict'; function setExtensionIconAndPopup(reactBuildType, tabId) { const action = __IS_FIREFOX__ ? chrome.browserAction : chrome.action; action.setIcon({ tabId, path: { '16': chrome.runtime.getURL(`icons/16-${reactBuildType}.png`), '32': chrome.runtime.getURL(`icons/...
25.04
71
0.663077
cybersecurity-penetration-testing
/** * 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. * * @flow */ import type { Instance, TextInstance, SuspenseInstance, Container, ChildSet, UpdatePayload, HoistableR...
31.920611
106
0.629701
Hands-On-Penetration-Testing-with-Python
/* * 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. * * @flow strict-local */ import type {Position} from './astUtils'; import type { ReactSourceMetadata, IndexSourceMap, Basic...
32.533654
119
0.680671
Python-for-Offensive-PenTest
/** * 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. * * @flow */ import * as React from 'react'; import {Fragment, useContext, useMemo} from 'react'; import Button from '../Button';...
28.14346
92
0.619027
ShonyDanza
/** * 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. * * @flow */ import * as React from 'react'; import {forwardRef, useCallback, useContext, useMemo, useState} from 'react'; import...
29.042654
115
0.654465
null
/** * 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. * * @flow */ /* eslint-disable react-internal/prod-error-codes */ // We expect that our Rollup, Jest, and Flow configurations //...
31.095238
71
0.728083
PenetrationTestingScripts
/** * 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. * * @flow */ export * from 'react-client/src/ReactFlightClientConfigNode'; export * from 'react-server-dom-esm/src/ReactFlightCli...
34.4
80
0.771698
cybersecurity-penetration-testing
/** * 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. * * @flow */ import type {Fiber} from './ReactInternalTypes'; import type {CapturedValue} from './ReactCapturedValue'; // This m...
24.826087
66
0.72344
thieves-tools
/** * 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. * * @flow */ import type { Thenable, FulfilledThenable, RejectedThenable, } from 'shared/ReactTypes'; import type {ImportM...
29.809816
86
0.700856
Penetration-Testing-Study-Notes
/** * 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. */ 'use strict'; export * from './src/JestReact';
20.909091
66
0.695833
Python-Penetration-Testing-Cookbook
/** * 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 parseSourceAndMetadataModule from './parseSourceAndMetadata'; export const parseSourceAndMetadata = parseSourceAn...
31
73
0.800895
cybersecurity-penetration-testing
/** * 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. * * @flow */ import {View} from './View'; import {COLORS} from '../content-views/constants'; /** * View that fills its visible ...
22.034483
66
0.682159
Effective-Python-Penetration-Testing
/** * 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. * * @flow */ import {copy} from 'clipboard-js'; import * as React from 'react'; import Button from '../Button'; import ButtonIcon...
29.257426
80
0.616694
cybersecurity-penetration-testing
/** * 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. * * @flow */ import type { FlamechartStackFrame, InternalModuleSourceToRanges, } from '../../types'; import { CHROME_WEBST...
30.285714
98
0.70032
cybersecurity-penetration-testing
/** * 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. * * @flow */ export * from './ComponentMeasuresView'; export * from './FlamechartView'; export * from './NativeEventsView'; expor...
28.380952
66
0.717532
cybersecurity-penetration-testing
'use strict'; module.exports = require('./static.node');
13.75
42
0.672414
Hands-On-Penetration-Testing-with-Python
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListItem = ListItem; exports.List = List; var React = _interopRequireWildcard(require("react")); var _jsxFileName = ""; function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap...
85.49375
8,872
0.855398
Hands-On-Penetration-Testing-with-Python
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Component = Component; var _react = _interopRequireWildcard(require("react")); var _jsxFileName = ""; function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWil...
36.617647
743
0.636293