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
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. * * @noflow */ const hasReadOnlyValue = { button: true, checkbox: true, image: true, hidden: true, radio: true, reset...
24.955224
110
0.563291
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 { BasicSourceMap, MixedSourceMap, IndexSourceMap, } from './SourceMapTypes'; export f...
22.628571
66
0.692494
PenetrationTestingScripts
// test() is part of Jest's serializer API export function test(maybeInspectedElement) { if ( maybeInspectedElement === null || typeof maybeInspectedElement !== 'object' ) { return false; } const hasOwnProperty = Object.prototype.hasOwnProperty.bind( maybeInspectedElement, ); return ( ...
26.594595
70
0.716667
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 */ 'use strict'; let React; let ReactNoop; let waitForAll; let act; describe('R...
24.504237
79
0.601363
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 * @jest-environment ./scripts/jest/ReactDOMServerIntegrationEnvironment */ let JSDOM; let React; let star...
26.235849
93
0.606582
owtf
/* eslint-disable react/react-in-jsx-scope, react/jsx-no-undef */ /* global React ReactCache ReactDOM SchedulerTracing ScheduleTracing */ const apps = []; const pieces = React.version.split('.'); const major = pieces[0] === '0' ? parseInt(pieces[1], 10) : parseInt(pieces[0], 10); const minor = pieces[0] === '0' ...
28.984802
93
0.518958
Hands-On-Penetration-Testing-with-Python
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Component = Component; var _react = require("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 so...
25.433333
86
0.655303
PenTesting
'use strict'; module.exports = require('./cjs/react-server-dom-webpack-node-register.js');
22.25
76
0.728261
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('useEditableValue', () => { let act; let React; let legacyRender; let useEditableValue; beforeEa...
28.635417
111
0.647214
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 * as React from 'react'; import * as ReactDOM from 'react-dom'; const {useLayoutEffect, useRef} = React; con...
22.506849
70
0.588921
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'; // TODO: All these warnings should become static errors using Flow instead // of dynamic...
29.960094
82
0.587352
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...
74.970588
2,684
0.818974
Mastering-Kali-Linux-for-Advanced-Penetration-Testing-4E
// @flow // Pulled from react-compat // https://github.com/developit/preact-compat/blob/7c5de00e7c85e2ffd011bf3af02899b63f699d3a/src/index.js#L349 export default function shallowDiffers(prev: Object, next: Object): boolean { for (let attribute in prev) { if (!(attribute in next)) { return true; } } ...
23.777778
109
0.669663
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 isArray from 'shared/isArray'; import {getCurrentFiberOwnerNameInDevOrNull} from 'react-reconciler/src/React...
30.743421
91
0.664801
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 */ /** * This is a renderer of React that doesn't have a render target output. * It is useful to demonstrate the inte...
22.133333
75
0.766402
null
#!/usr/bin/env node 'use strict'; const semver = require('semver'); const {execRead, logPromise} = require('../utils'); const run = async ({cwd, packages, skipPackages}, versionsMap) => { const branch = await execRead('git branch | grep \\* | cut -d " " -f2', { cwd, }); for (let i = 0; i < packages.length...
29.7
89
0.610169
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 { Fragment, Suspense, useEffect, useLayoutEffect, useReducer, use...
26.961977
118
0.651979
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'; global.IS_REACT_ACT_ENVIRONMENT = true; // Our current version of JSDOM doesn't impleme...
26.78483
93
0.576037
Hands-On-Penetration-Testing-with-Python
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = useTheme; exports.ThemeContext = void 0; var _react = require("react"); /** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in t...
23.851852
70
0.701493
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 */ // Ids are base 32 strings whose binary representation corresponds to the // position of a node in a tree. // Every...
35.100592
94
0.683115
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 React; let ReactDOM; let ReactTestUtils; let TestComponent; describe('refs-destruc...
26.736842
78
0.624437
owtf
import * as React from 'react'; import Container from './Container.js'; import {Counter} from './Counter.js'; import {Counter as Counter2} from './Counter2.js'; import AsyncModule from './cjs/Counter3.js'; const Counter3 = await(AsyncModule); import ShowMore from './ShowMore.js'; import Button from './Button.js'; im...
25.783333
78
0.553549
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 styles from './Profiler.css'; export default function ProcessingData(): Rea...
23.090909
71
0.672968
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 { Fragment, Suspense, useCallback, useContext, useEffect, useMemo...
33.308458
128
0.61425
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 {getHookNamesMappingFromAST} from './astUtils'; import {encode, decode} from 'sourcemap-codec'; // Missing ty...
30.261905
100
0.675216
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 nullthrows from 'nullthrows'; import InvalidProfileError from './InvalidProfileError'; export const readInpu...
25.361111
77
0.661392
hackipy
/** * 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 {default} from './src/ReactFlightWebpackPlugin';
22.727273
66
0.707692
hackipy
/** * 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/ReactFlightDOMServerBrowser';
22.272727
66
0.705882
diff-droid
"use strict"; /** * 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. * * */ const { useMemo, useState } = require('react'); function Component(props) { const InnerComponent = u...
74.035714
1,616
0.912381
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 */ 'use strict'; // Noop // TODO #10932517: Move all initialization callers back into react-native
19.666667
73
0.705502
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, memo, useCallback, useContext} from 'react'; import {areEqual} fro...
26.630435
76
0.617786
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'; describe('ReactDOMInvalidARIAHook', () => { let React; let ReactTestUtils; let mou...
32.506849
80
0.597137
Python-Penetration-Testing-Cookbook
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e=e||self).ReactWindow={},e.React)}(this,function(e,t){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){...
9,508.333333
28,484
0.737897
owtf
import Fixture from '../../Fixture'; const React = window.React; class EmailDisabledAttributesTestCase extends React.Component { state = {value: 'a@fb.com'}; onChange = event => { this.setState({value: event.target.value}); }; render() { return ( <Fixture> <div>{this.props.children}</div...
22.675
63
0.520085
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 * @jest-environment ./scripts/jest/ReactDOMServerIntegrationEnvironment */ 'use strict'; const ReactDOMS...
33.498095
120
0.543841
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 */ const {useEffect} = require('react'); function useCustom() { useEffect(() => { // ... }, []); } module.exp...
17.888889
66
0.631268
owtf
require(['react', 'react-dom'], function (React, ReactDOM) { ReactDOM.render( React.createElement('h1', null, 'Hello World!'), document.getElementById('container') ); });
25.285714
60
0.655738
null
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/use-sync-external-store.production.min.js'); } else { module.exports = require('./cjs/use-sync-external-store.development.js'); }
27.375
78
0.690265
owtf
import Fixture from '../../Fixture'; const React = window.React; class RadioGroupFixture extends React.Component { constructor(props, context) { super(props, context); this.state = { changeCount: 0, }; } handleChange = () => { this.setState(({changeCount}) => { return { chan...
19.293103
72
0.505952
owtf
/** * 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. * */ // Tweak these to play with different kinds of latency. // How long the data fetches on the server. exports.API_DELAY = 2000...
24.736842
66
0.723361
Tricks-Web-Penetration-Tester
// @flow import shallowDiffers from './shallowDiffers'; // Custom comparison function for React.memo(). // It knows to compare individual style props and ignore the wrapper object. // See https://reactjs.org/docs/react-api.html#reactmemo export default function areEqual( prevProps: Object, nextProps: Object ): bo...
27.368421
80
0.72119
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 { __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, act as unstable_act, Children, Component, Fra...
17.819672
66
0.728858
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. */ // This is only used by bundle tests so they can *read* the default feature flags. // It lets us determine whether we're running...
40.846154
89
0.747698
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'; const ReactDOMServerIntegrationUtils = require('./utils/ReactDOMServerIntegrationTestUti...
29.568627
117
0.525445
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 * * @jest-environment node */ 'use strict'; let useSyncExternalStore; let React; let ReactDOM; let Reac...
25.067961
80
0.632265
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 {compareVersions} from 'compare-versions'; import {dehydrate} from '../hydration'; import isArray from 's...
28.609589
107
0.610642
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. * * @emails react-core */ /*jslint evil: true */ 'use strict'; import * as React from 'react'; import * as ReactART from 'reac...
26.765683
114
0.584264
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...
42.814433
77
0.797364
Python-Penetration-Testing-for-Developers
let React; let ReactNoop; let Scheduler; let act; let Suspense; let useEffect; let getCacheForType; let caches; let seededCache; let assertLog; describe('ReactSuspenseWithNoopRenderer', () => { beforeEach(() => { jest.resetModules(); React = require('react'); ReactNoop = require('react-noop-renderer');...
26.577778
79
0.578884
Hands-On-Penetration-Testing-with-Python
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Component = Component; var _react = _interopRequireDefault(require("react")); var _useTheme = _interopRequireDefault(require("./useTheme")); var _jsxFileName = ""; function _interopRequireDefault(obj) { return obj && obj.__esMod...
65.846154
1,136
0.868739
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 Scheduler; let runWithPriority; let ImmediatePriority; let UserBlockingPriority; let...
29.575209
103
0.595253
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. */ import ReactCurrentDispatcher from './ReactCurrentDispatcher'; import ReactCurrentCache from './ReactCurrentCache'; import React...
30.970588
71
0.808471
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 {existsSync} from 'fs'; import {basename, join, isAbsolute} from 'path'; import {execSync, spawn} from 'child...
28.05641
112
0.666726
cybersecurity-penetration-testing
'use strict'; var s; if (process.env.NODE_ENV === 'production') { s = require('./cjs/react-dom-server.browser.production.min.js'); } else { s = require('./cjs/react-dom-server.browser.development.js'); } exports.version = s.version; exports.prerender = s.prerender;
21.75
66
0.683824
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 {AsyncLocalStorage} from 'async_hooks'; import type {Request} from 'react-server/src/ReactFizzServer'; expo...
26
66
0.753906
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 */ // In www, these flags are controlled by GKs. Because most GKs have some // population running in either mode...
43.785714
91
0.766653
Ethical-Hacking-Scripts
/** * 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 {createContext, Component, useContext, useState} from 'react'; import PropTyp...
26.352941
80
0.652328
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 {useCallback, useContext, useRef, useState...
28.469586
124
0.610272
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 */ import typeof * as ExportsType from './ReactFeatureFlags.native-fb-dynamic'; import typeof * as DynamicFlagsT...
40.875
80
0.746079
PenetrationTestingScripts
/** @flow */ import * as React from 'react'; import {forwardRef} from 'react'; import Bridge from 'react-devtools-shared/src/bridge'; import Store from 'react-devtools-shared/src/devtools/store'; import DevTools from 'react-devtools-shared/src/devtools/views/DevTools'; import { getAppendComponentStack, getBreakOnC...
29.252336
83
0.699011
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 { REACT_ELEMENT_TYPE, REACT_FORWARD_REF_TYPE, REACT_LAZY_TYPE, REACT_MEMO_TYPE, REACT_SUSPENSE_TYPE...
28.541667
79
0.55519
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 React; let ReactNoop; let JSXDEVRuntime; let waitForAll; describe('ReactDeprecation...
30.243902
137
0.609018
null
'use strict'; const {join} = require('path'); async function build(reactPath, asyncCopyTo) { // copy the UMD bundles await asyncCopyTo( join(reactPath, 'build', 'dist', 'react.production.min.js'), join(__dirname, 'react.production.min.js') ); await asyncCopyTo( join(reactPath, 'build', 'dist', 're...
23.055556
68
0.662037
owtf
'use strict'; const {esNextPaths} = require('./scripts/shared/pathsByLanguageVersion'); module.exports = { bracketSpacing: false, singleQuote: true, bracketSameLine: true, trailingComma: 'es5', printWidth: 80, parser: 'flow', arrowParens: 'avoid', overrides: [ { files: esNextPaths, opt...
16.409091
73
0.615183
hackipy
'use strict'; throw new Error( 'The React Server Writer cannot be used outside a react-server environment. ' + 'You must configure Node.js using the `--conditions react-server` flag.' );
26.857143
81
0.716495
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. * * @flow */ 'use strict'; export * from './src/ReactCacheOld';
18.769231
66
0.683594
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 */ /** * This is a renderer of React that doesn't have a render target output. * It is useful to demonstrate the inte...
22.580645
75
0.765914
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 {useContext} from 'react'; import {ProfilerContext} from './ProfilerContext';...
26.021277
76
0.687943
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 {useCallback, useContext, useMemo, useState} from 'react'; import AutoSizer f...
27.939227
82
0.665457
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. */ import Transform from 'art/core/transform'; import Mode from 'art/modes/current'; import {TYPES, EVENT_TYPES, childrenAsString}...
22.90795
79
0.692395
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...
30.425
743
0.603939
owtf
import FixtureSet from '../../FixtureSet'; import TestCase from '../../TestCase'; import RangeKeyboardFixture from './RangeKeyboardFixture'; import RadioClickFixture from './RadioClickFixture'; import RadioGroupFixture from './RadioGroupFixture'; import RadioNameChangeFixture from './RadioNameChangeFixture'; import Inp...
31.025641
79
0.585424
owtf
import semver from 'semver'; /** * Take a version from the window query string and load a specific * version of React. * * @example * http://localhost:3000?version=15.4.1 * (Loads React 15.4.1) */ function parseQuery(qstr) { var query = {}; var a = qstr.slice(1).split('&'); for (var i = 0; i < a.length;...
26.508333
80
0.617879
hackipy
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/react-server-dom-webpack-server.node.production.min.js'); } else { module.exports = require('./cjs/react-server-dom-webpack-server.node.development.js'); }
30.625
91
0.706349
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 type for SyntheticEvent class that includes private properties * @flow */ import type {Fiber} from 'react-reconciler/sr...
26.2
70
0.718175
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 React = require('react'); let ReactDOM = require('react-dom'); let ReactDOMClient = ...
30.818702
111
0.613064
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 {REACT_FRAGMENT_TYPE} from 'shared/ReactSymbols'; import { jsxWithValidationStatic, jsxWithValidationDynam...
34.434783
84
0.740786
cybersecurity-penetration-testing
#!/usr/bin/env node /** * 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 */ const electron = require('electron'); const spawn = require('cross-spawn'); const argv = proces...
25.351351
80
0.679671
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 */ 'use strict'; let React; let ReactNoop; let Scheduler; let waitFor; let wait...
27.680147
85
0.617436
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 */ import type {ReactClientValue} from 'react-server/src/ReactFlightServer'; import type { ClientReference, Server...
24.671429
80
0.742762
PenTestScripts
/** * 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 {TextDecoder} from 'util'; export type StringDecoder = TextDecoder; export function createStringDecoder(): ...
20
66
0.739884
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 {getElementDimensions, getNestedBoundingClientRect} from '../utils'; import type {Rect} from '../utils'; imp...
26.732143
107
0.629065
Tricks-Web-Penetration-Tester
// @flow import type {ComponentType} from "react"; import createListComponent from './createListComponent'; import type { Props, ScrollToAlign } from './createListComponent'; const FixedSizeList: ComponentType<Props<$FlowFixMe>> = createListComponent({ getItemOffset: ({ itemSize }: Props<any>, index: number): num...
28.255639
81
0.584319
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 */ // This client file is in the shared folder because it applies to both SSR and browser contexts. // It is the config...
27.881119
96
0.602083
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. */ export {default} from './src/ReactFreshBabelPlugin';
26.333333
66
0.722449
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...
88.26875
9,316
0.859894
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 */ type Heap<T: Node> = Array<T>; type Node = { id: number, sortIndex: number, ... }; export function pus...
23.946809
76
0.586177
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 */ declare function isArray(a: mixed): boolean %checks(Array.isArray(a)); const isArrayImpl = Array.isArray; // eslin...
21.2
70
0.722348
PenetrationTestingScripts
#!/usr/bin/env node 'use strict'; const {exec, execSync} = require('child_process'); const {readFileSync, writeFileSync} = require('fs'); const {join} = require('path'); const shell = require('shelljs'); const main = async buildId => { const root = join(__dirname, buildId); const buildPath = join(root, 'build'); ...
27.615385
78
0.63618
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 */ // Renderers that don't support hydration // can re-export everything from this module. function shim(...args: any)...
42.080645
79
0.830337
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'; const React = require('react'); const ReactDOM = require('react-dom'); function expectW...
30.383333
387
0.536255
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 */ /* eslint-disable react-internal/prod-error-codes */ import type {ReactElement} from 'shared/ReactElementType'; imp...
26.335341
89
0.618058
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 React; let ReactDOM; let ReactDOMClient; let ReactTestUtils; let act; let Scheduler;...
24.765382
118
0.559112
null
'use strict'; const forks = require('./forks'); const {UMD_DEV, UMD_PROD, UMD_PROFILING} = require('./bundles').bundleTypes; // For any external that is used in a DEV-only condition, explicitly // specify whether it has side effects during import or not. This lets // us know whether we can safely omit them when they ...
31.49
77
0.6992
owtf
'use strict'; // Do this as the first thing so that any code reading it knows the right env. process.env.BABEL_ENV = 'test'; process.env.NODE_ENV = 'test'; process.env.PUBLIC_URL = ''; // Makes the script crash on unhandled rejections instead of silently // ignoring them. In the future, promise rejections that are no...
24.903846
78
0.676077
Python-Penetration-Testing-for-Developers
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/react-server-dom-turbopack-server.node.production.min.js'); } else { module.exports = require('./cjs/react-server-dom-turbopack-server.node.development.js'); }
31.125
93
0.710938
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 { getDataType, getDisplayNameForReactElement, getAllEnumerableKeys, getInObject, formatDataForPrevi...
27.339048
111
0.613161
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, useCall...
26.93985
89
0.66245
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 * @jest-environment node */ 'use strict'; let React; let ReactFeatureFlags; let ReactNoop; let Scheduler...
29.425946
117
0.596144
null
'use strict'; if (process.env.NODE_ENV === 'production') { module.exports = require('./cjs/scheduler.native.production.min.js'); } else { module.exports = require('./cjs/scheduler.native.development.js'); }
25.625
71
0.688679