mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-09-27 22:45:25 +00:00
larry babby and threejs for glsl
This commit is contained in:
21
webGl/my-threejs-test/node_modules/@parcel/resolver-default/LICENSE
generated
vendored
Normal file
21
webGl/my-threejs-test/node_modules/@parcel/resolver-default/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017-present Devon Govett
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
64
webGl/my-threejs-test/node_modules/@parcel/resolver-default/lib/DefaultResolver.js
generated
vendored
Normal file
64
webGl/my-threejs-test/node_modules/@parcel/resolver-default/lib/DefaultResolver.js
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
function _plugin() {
|
||||
const data = require("@parcel/plugin");
|
||||
_plugin = function () {
|
||||
return data;
|
||||
};
|
||||
return data;
|
||||
}
|
||||
function _nodeResolverCore() {
|
||||
const data = _interopRequireDefault(require("@parcel/node-resolver-core"));
|
||||
_nodeResolverCore = function () {
|
||||
return data;
|
||||
};
|
||||
return data;
|
||||
}
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
// Throw user friendly errors on special webpack loader syntax
|
||||
// ex. `imports-loader?$=jquery!./example.js`
|
||||
const WEBPACK_IMPORT_REGEX = /^\w+-loader(?:\?\S*)?!/;
|
||||
var _default = exports.default = new (_plugin().Resolver)({
|
||||
async loadConfig({
|
||||
config,
|
||||
options,
|
||||
logger
|
||||
}) {
|
||||
var _conf$contents$packag, _conf$contents;
|
||||
let conf = await config.getConfig([], {
|
||||
packageKey: '@parcel/resolver-default'
|
||||
});
|
||||
return new (_nodeResolverCore().default)({
|
||||
fs: options.inputFS,
|
||||
projectRoot: options.projectRoot,
|
||||
packageManager: options.packageManager,
|
||||
shouldAutoInstall: options.shouldAutoInstall,
|
||||
mode: options.mode,
|
||||
logger,
|
||||
packageExports: (_conf$contents$packag = conf === null || conf === void 0 || (_conf$contents = conf.contents) === null || _conf$contents === void 0 ? void 0 : _conf$contents.packageExports) !== null && _conf$contents$packag !== void 0 ? _conf$contents$packag : false
|
||||
});
|
||||
},
|
||||
resolve({
|
||||
dependency,
|
||||
specifier,
|
||||
config: resolver
|
||||
}) {
|
||||
if (WEBPACK_IMPORT_REGEX.test(dependency.specifier)) {
|
||||
throw new Error(`The import path: ${dependency.specifier} is using webpack specific loader import syntax, which isn't supported by Parcel.`);
|
||||
}
|
||||
return resolver.resolve({
|
||||
filename: specifier,
|
||||
specifierType: dependency.specifierType,
|
||||
range: dependency.range,
|
||||
parent: dependency.resolveFrom,
|
||||
env: dependency.env,
|
||||
sourcePath: dependency.sourcePath,
|
||||
loc: dependency.loc,
|
||||
packageConditions: dependency.packageConditions
|
||||
});
|
||||
}
|
||||
});
|
30
webGl/my-threejs-test/node_modules/@parcel/resolver-default/package.json
generated
vendored
Normal file
30
webGl/my-threejs-test/node_modules/@parcel/resolver-default/package.json
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "@parcel/resolver-default",
|
||||
"version": "2.12.0",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/parcel"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/parcel-bundler/parcel.git"
|
||||
},
|
||||
"main": "lib/DefaultResolver.js",
|
||||
"source": "src/DefaultResolver.js",
|
||||
"engines": {
|
||||
"node": ">= 12.0.0",
|
||||
"parcel": "^2.12.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@parcel/node-resolver-core": "3.3.0",
|
||||
"@parcel/plugin": "2.12.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.11"
|
||||
},
|
||||
"gitHead": "2059029ee91e5f03a273b0954d3e629d7375f986"
|
||||
}
|
44
webGl/my-threejs-test/node_modules/@parcel/resolver-default/src/DefaultResolver.js
generated
vendored
Normal file
44
webGl/my-threejs-test/node_modules/@parcel/resolver-default/src/DefaultResolver.js
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
// @flow
|
||||
|
||||
import {Resolver} from '@parcel/plugin';
|
||||
import NodeResolver from '@parcel/node-resolver-core';
|
||||
|
||||
// Throw user friendly errors on special webpack loader syntax
|
||||
// ex. `imports-loader?$=jquery!./example.js`
|
||||
const WEBPACK_IMPORT_REGEX = /^\w+-loader(?:\?\S*)?!/;
|
||||
|
||||
export default (new Resolver({
|
||||
async loadConfig({config, options, logger}) {
|
||||
let conf = await config.getConfig([], {
|
||||
packageKey: '@parcel/resolver-default',
|
||||
});
|
||||
|
||||
return new NodeResolver({
|
||||
fs: options.inputFS,
|
||||
projectRoot: options.projectRoot,
|
||||
packageManager: options.packageManager,
|
||||
shouldAutoInstall: options.shouldAutoInstall,
|
||||
mode: options.mode,
|
||||
logger,
|
||||
packageExports: conf?.contents?.packageExports ?? false,
|
||||
});
|
||||
},
|
||||
resolve({dependency, specifier, config: resolver}) {
|
||||
if (WEBPACK_IMPORT_REGEX.test(dependency.specifier)) {
|
||||
throw new Error(
|
||||
`The import path: ${dependency.specifier} is using webpack specific loader import syntax, which isn't supported by Parcel.`,
|
||||
);
|
||||
}
|
||||
|
||||
return resolver.resolve({
|
||||
filename: specifier,
|
||||
specifierType: dependency.specifierType,
|
||||
range: dependency.range,
|
||||
parent: dependency.resolveFrom,
|
||||
env: dependency.env,
|
||||
sourcePath: dependency.sourcePath,
|
||||
loc: dependency.loc,
|
||||
packageConditions: dependency.packageConditions,
|
||||
});
|
||||
},
|
||||
}): Resolver);
|
Reference in New Issue
Block a user