mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
Transition to monorepo on a new Dev branch
This commit is contained in:
14
App/Source/node_modules/supports-preserve-symlinks-flag/.eslintrc
generated
vendored
Normal file
14
App/Source/node_modules/supports-preserve-symlinks-flag/.eslintrc
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"root": true,
|
||||
|
||||
"extends": "@ljharb",
|
||||
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true,
|
||||
},
|
||||
|
||||
"rules": {
|
||||
"id-length": "off",
|
||||
},
|
||||
}
|
12
App/Source/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml
generated
vendored
Normal file
12
App/Source/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: [ljharb]
|
||||
patreon: # Replace with a single Patreon username
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: # Replace with a single Ko-fi username
|
||||
tidelift: npm/supports-preserve-symlink-flag
|
||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
9
App/Source/node_modules/supports-preserve-symlinks-flag/.nycrc
generated
vendored
Normal file
9
App/Source/node_modules/supports-preserve-symlinks-flag/.nycrc
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"all": true,
|
||||
"check-coverage": false,
|
||||
"reporter": ["text-summary", "text", "html", "json"],
|
||||
"exclude": [
|
||||
"coverage",
|
||||
"test"
|
||||
]
|
||||
}
|
21
App/Source/node_modules/supports-preserve-symlinks-flag/LICENSE
generated
vendored
Normal file
21
App/Source/node_modules/supports-preserve-symlinks-flag/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Inspect JS
|
||||
|
||||
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.
|
3
App/Source/node_modules/supports-preserve-symlinks-flag/browser.js
generated
vendored
Normal file
3
App/Source/node_modules/supports-preserve-symlinks-flag/browser.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = null;
|
9
App/Source/node_modules/supports-preserve-symlinks-flag/index.js
generated
vendored
Normal file
9
App/Source/node_modules/supports-preserve-symlinks-flag/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = (
|
||||
// node 12+
|
||||
process.allowedNodeEnvironmentFlags && process.allowedNodeEnvironmentFlags.has('--preserve-symlinks')
|
||||
) || (
|
||||
// node v6.2 - v11
|
||||
String(module.constructor._findPath).indexOf('preserveSymlinks') >= 0 // eslint-disable-line no-underscore-dangle
|
||||
);
|
70
App/Source/node_modules/supports-preserve-symlinks-flag/package.json
generated
vendored
Normal file
70
App/Source/node_modules/supports-preserve-symlinks-flag/package.json
generated
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"name": "supports-preserve-symlinks-flag",
|
||||
"version": "1.0.0",
|
||||
"description": "Determine if the current node version supports the `--preserve-symlinks` flag.",
|
||||
"main": "./index.js",
|
||||
"browser": "./browser.js",
|
||||
"exports": {
|
||||
".": [
|
||||
{
|
||||
"browser": "./browser.js",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"./index.js"
|
||||
],
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"prepublishOnly": "safe-publish-latest",
|
||||
"prepublish": "not-in-publish || npm run prepublishOnly",
|
||||
"lint": "eslint --ext=js,mjs .",
|
||||
"pretest": "npm run lint",
|
||||
"tests-only": "nyc tape 'test/**/*.js'",
|
||||
"test": "npm run tests-only",
|
||||
"posttest": "aud --production",
|
||||
"version": "auto-changelog && git add CHANGELOG.md",
|
||||
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git"
|
||||
},
|
||||
"keywords": [
|
||||
"node",
|
||||
"flag",
|
||||
"symlink",
|
||||
"symlinks",
|
||||
"preserve-symlinks"
|
||||
],
|
||||
"author": "Jordan Harband <ljharb@gmail.com>",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/inspect-js/node-supports-preserve-symlinks-flag/issues"
|
||||
},
|
||||
"homepage": "https://github.com/inspect-js/node-supports-preserve-symlinks-flag#readme",
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^20.1.0",
|
||||
"aud": "^1.1.5",
|
||||
"auto-changelog": "^2.3.0",
|
||||
"eslint": "^8.6.0",
|
||||
"nyc": "^10.3.2",
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"semver": "^6.3.0",
|
||||
"tape": "^5.4.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"auto-changelog": {
|
||||
"output": "CHANGELOG.md",
|
||||
"template": "keepachangelog",
|
||||
"unreleased": false,
|
||||
"commitLimit": false,
|
||||
"backfillLimit": false,
|
||||
"hideCredit": true
|
||||
}
|
||||
}
|
29
App/Source/node_modules/supports-preserve-symlinks-flag/test/index.js
generated
vendored
Normal file
29
App/Source/node_modules/supports-preserve-symlinks-flag/test/index.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
'use strict';
|
||||
|
||||
var test = require('tape');
|
||||
var semver = require('semver');
|
||||
|
||||
var supportsPreserveSymlinks = require('../');
|
||||
var browser = require('../browser');
|
||||
|
||||
test('supportsPreserveSymlinks', function (t) {
|
||||
t.equal(typeof supportsPreserveSymlinks, 'boolean', 'is a boolean');
|
||||
|
||||
t.equal(browser, null, 'browser file is `null`');
|
||||
t.equal(
|
||||
supportsPreserveSymlinks,
|
||||
null,
|
||||
'in a browser, is null',
|
||||
{ skip: typeof window === 'undefined' }
|
||||
);
|
||||
|
||||
var expected = semver.satisfies(process.version, '>= 6.2');
|
||||
t.equal(
|
||||
supportsPreserveSymlinks,
|
||||
expected,
|
||||
'is true in node v6.2+, false otherwise (actual: ' + supportsPreserveSymlinks + ', expected ' + expected + ')',
|
||||
{ skip: typeof window !== 'undefined' }
|
||||
);
|
||||
|
||||
t.end();
|
||||
});
|
Reference in New Issue
Block a user