Added: prop-types v15.7.2 (#114)
This commit is contained in:
parent
1f43831d37
commit
44ca2249ac
|
@ -411,6 +411,7 @@ var mappings = {
|
|||
'p2p-media-loader-core@latest/build/p2p-media-loader-core.min.js': resources.p2pMediaLoaderCore,
|
||||
'p2p-media-loader-hlsjs@latest/build/p2p-media-loader-hlsjs.min.js': resources.p2pMediaLoaderHlsJS,
|
||||
'popper.js@{version}/dist/umd/popper.': resources.popperJS,
|
||||
'prop-types@{version}/prop-types.': resources.propTypes,
|
||||
'swfobject@{version}/index.js': resources.swfobject,
|
||||
'store-js@{version}/dist/store.legacy.min.js': resources.storeJS,
|
||||
'scriptaculous-js@{version}/scriptaculous.': resources.scriptaculous,
|
||||
|
|
|
@ -586,6 +586,11 @@ var resources = {
|
|||
'path': 'resources/popper.js/{version}/umd/popper.min.jsm',
|
||||
'type': 'text/css'
|
||||
},
|
||||
// prop-types
|
||||
'propTypes': {
|
||||
'path': 'resources/prop-types/{version}/prop-types.min.jsm',
|
||||
'type': 'application/javascript'
|
||||
},
|
||||
// Prototype
|
||||
'prototypeJS': {
|
||||
'path': 'resources/prototype/{version}/prototype.jsm',
|
||||
|
|
|
@ -501,6 +501,8 @@ helpers.setLastVersion = function (type, version) {
|
|||
return '1.16.1';
|
||||
} else if (type.includes('/popper.js/2.')) {
|
||||
return '2.4.4';
|
||||
} else if (type.includes('/prop-types/15.')) {
|
||||
return '15.7.2';
|
||||
} else if (type.includes('/prototype/1.')) {
|
||||
return '1.7.3.0';
|
||||
} else if (type.includes('/raven.js/3.')) {
|
||||
|
@ -599,6 +601,7 @@ helpers.compareVersion = function (v1, v2) {
|
|||
};
|
||||
|
||||
const ListOfFiles = {
|
||||
'prop-types.min.jsm': 'prop-types',
|
||||
'history.min.jsm': 'history',
|
||||
'axios.min.jsm': 'Axios',
|
||||
'object-assign.min.jsm': 'Object assign',
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
<li>Added: Object-Assign v4.1.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/114">#114</a>)</li>
|
||||
<li>Added: Axios v0.20.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/114">#114</a>)</li>
|
||||
<li>Added: history v4.10.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/114">#114</a>)</li>
|
||||
<li>Added: prop-types v15.7.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/114">#114</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.PropTypes=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){"use strict";function emptyFunction(){}function emptyFunctionWithReset(){}var ReactPropTypesSecret=require(3);emptyFunctionWithReset.resetWarningCache=emptyFunction,module.exports=function(){function e(e,t,n,r,o,p){if(p!==ReactPropTypesSecret){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return n.PropTypes=n,n}},{3:3}],2:[function(require,module,exports){module.exports=require(1)()},{1:1}],3:[function(require,module,exports){"use strict";module.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},{}]},{},[2])(2)});
|
Loading…
Reference in New Issue