PageSourceSearch

https://app.screenclip.com/npm.prop-types.f464a0220144386ebcc5.js

js screenclip.com collected 2026-09-24 09:06:28 UTC 2,664 bytes, 114 lines download raw bytes

1(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[26],{
2
3/***/ "16Al":
4/***/ (function(module, exports, __webpack_require__) {
5
6"use strict";
7/**
8 * Copyright (c) 2013-present, Facebook, Inc.
9 *
10 * This source code is licensed under the MIT license found in the
11 * LICENSE file in the root directory of this source tree.
12 */
13
14
15
16var ReactPropTypesSecret = __webpack_require__("WbBG");
17
18function emptyFunction() {}
19function emptyFunctionWithReset() {}
20emptyFunctionWithReset.resetWarningCache = emptyFunction;
21
22module.exports = function() {
23  function shim(props, propName, componentName, location, propFullName, secret) {
24    if (secret === ReactPropTypesSecret) {
25      // It is still safe when called from React.
26      return;
27    }
28    var err = new Error(
29      'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
30      'Use PropTypes.checkPropTypes() to call them. ' +
31      'Read more at http://fb.me/use-check-prop-types'
32    );
33    err.name = 'Invariant Violation';
34    throw err;
35  };
36  shim.isRequired = shim;
37  function getShim() {
38    return shim;
39  };
40  // Important!
41  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
42  var ReactPropTypes = {
43    array: shim,
44    bool: shim,
45    func: shim,
46    number: shim,
47    object: shim,
48    string: shim,
49    symbol: shim,
50
51    any: shim,
52    arrayOf: getShim,
53    element: shim,
54    elementType: shim,
55    instanceOf: getShim,
56    node: shim,
57    objectOf: getShim,
58    oneOf: getShim,
59    oneOfType: getShim,
60    shape: getShim,
61    exact: getShim,
62
63    checkPropTypes: emptyFunctionWithReset,
64    resetWarningCache: emptyFunction
65  };
66
67  ReactPropTypes.PropTypes = ReactPropTypes;
68
69  return ReactPropTypes;
70};
71
72
73/***/ }),
74
75/***/ "17x9":
76/***/ (function(module, exports, __webpack_require__) {
77
78/**
79 * Copyright (c) 2013-present, Facebook, Inc.
80 *
81 * This source code is licensed under the MIT license found in the
82 * LICENSE file in the root directory of this source tree.
83 */
84
85if (false) { var throwOnDirectAccess, ReactIs; } else {
86  // By explicitly using `prop-types` you are opting into new production behavior.
87  // http://fb.me/prop-types-in-prod
88  module.exports = __webpack_require__("16Al")();
89}
90
91
92/***/ }),
93
94/***/ "WbBG":
95/***/ (function(module, exports, __webpack_require__) {
96
97"use strict";
98/**
99 * Copyright (c) 2013-present, Facebook, Inc.
100 *
101 * This source code is licensed under the MIT license found in the
102 * LICENSE file in the root directory of this source tree.
103 */
104
105
106
107var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
108
109module.exports = ReactPropTypesSecret;
110
111
112/***/ })
113
114}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.