@rsbuild/core 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ const pico = require('./lib/picomatch');
4
+ const utils = require('./lib/utils');
5
+
6
+ function picomatch(glob, options, returnState = false) {
7
+ // default to os.platform()
8
+ if (options && (options.windows === null || options.windows === undefined)) {
9
+ // don't mutate the original options object
10
+ options = { ...options, windows: utils.isWindows() };
11
+ }
12
+
13
+ return pico(glob, options, returnState);
14
+ }
15
+
16
+ Object.assign(picomatch, pico);
17
+ module.exports = picomatch;
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Madeline Gurriarán
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ {"name":"tinyglobby","author":"Superchupu","version":"0.2.10","license":"MIT","types":"index.d.ts","type":"commonjs"}
@@ -1,54 +1,32 @@
1
1
  "use strict";
2
- // The require scope
3
2
  var __webpack_require__ = {};
4
- /************************************************************************/ // webpack/runtime/define_property_getters
5
- (()=>{
6
- __webpack_require__.d = function(exports1, definition) {
7
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
- enumerable: true,
9
- get: definition[key]
10
- });
11
- };
12
- })();
13
- // webpack/runtime/has_own_property
14
- (()=>{
15
- __webpack_require__.o = function(obj, prop) {
16
- return Object.prototype.hasOwnProperty.call(obj, prop);
17
- };
18
- })();
19
- // webpack/runtime/make_namespace_object
20
- (()=>{
21
- // define __esModule on exports
22
- __webpack_require__.r = function(exports1) {
23
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
24
- value: 'Module'
25
- });
26
- Object.defineProperty(exports1, '__esModule', {
27
- value: true
28
- });
29
- };
30
- })();
31
- /************************************************************************/ var __webpack_exports__ = {};
32
- __webpack_require__.r(__webpack_exports__);
33
- __webpack_require__.d(__webpack_exports__, {
3
+ __webpack_require__.d = function(exports1, definition) {
4
+ for(var key in definition)__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key) && Object.defineProperty(exports1, key, {
5
+ enumerable: !0,
6
+ get: definition[key]
7
+ });
8
+ }, __webpack_require__.o = function(obj, prop) {
9
+ return Object.prototype.hasOwnProperty.call(obj, prop);
10
+ }, __webpack_require__.r = function(exports1) {
11
+ 'undefined' != typeof Symbol && Symbol.toStringTag && Object.defineProperty(exports1, Symbol.toStringTag, {
12
+ value: 'Module'
13
+ }), Object.defineProperty(exports1, '__esModule', {
14
+ value: !0
15
+ });
16
+ };
17
+ var __webpack_exports__ = {};
18
+ function __WEBPACK_DEFAULT_EXPORT__(source) {
19
+ return (null === this || void 0 === this || this.cacheable(!0), source.includes('___CSS_LOADER_EXPORT___')) ? '' : source;
20
+ }
21
+ __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
34
22
  default: function() {
35
- return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__;
23
+ return __WEBPACK_DEFAULT_EXPORT__;
36
24
  }
37
25
  });
38
- /* ESM default export */ function __WEBPACK_DEFAULT_EXPORT__(source) {
39
- var _this;
40
- null === (_this = this) || void 0 === _this || _this.cacheable(true);
41
- // if the source code include '___CSS_LOADER_EXPORT___'
42
- // It is not a CSS Modules file because exportOnlyLocals is enabled,
43
- // so we don't need to preserve it.
44
- if (source.includes('___CSS_LOADER_EXPORT___')) return '';
45
- // Preserve CSS Modules export for SSR.
46
- return source;
47
- }
48
26
  var __webpack_export_target__ = exports;
49
27
  for(var i in __webpack_exports__)__webpack_export_target__[i] = __webpack_exports__[i];
50
- if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
51
- value: true
28
+ __webpack_exports__.__esModule && Object.defineProperty(__webpack_export_target__, '__esModule', {
29
+ value: !0
52
30
  });
53
31
 
54
32
  // Annotate the CommonJS export names for ESM import in node: