mirror of
https://github.com/actions/labeler.git
synced 2025-12-20 06:54:16 +00:00
build
This commit is contained in:
21
node_modules/spdx-correct/index.js
generated
vendored
21
node_modules/spdx-correct/index.js
generated
vendored
@@ -49,6 +49,7 @@ var transpositions = [
|
||||
['GNU GENERAL PUBLIC LICENSE', 'GPL'],
|
||||
['MTI', 'MIT'],
|
||||
['Mozilla Public License', 'MPL'],
|
||||
['Universal Permissive License', 'UPL'],
|
||||
['WTH', 'WTF'],
|
||||
['-License', '']
|
||||
]
|
||||
@@ -138,6 +139,26 @@ var transforms = [
|
||||
function (argument) {
|
||||
return argument.replace(/(-| )clause(-| )(\d)/, '-$3-Clause')
|
||||
},
|
||||
// e.g. 'New BSD license'
|
||||
function (argument) {
|
||||
return argument.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i, 'BSD-3-Clause')
|
||||
},
|
||||
// e.g. 'Simplified BSD license'
|
||||
function (argument) {
|
||||
return argument.replace(/\bSimplified(-| )?BSD((-| )License)?/i, 'BSD-2-Clause')
|
||||
},
|
||||
// e.g. 'Free BSD license'
|
||||
function (argument) {
|
||||
return argument.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i, 'BSD-2-Clause-$1BSD')
|
||||
},
|
||||
// e.g. 'Clear BSD license'
|
||||
function (argument) {
|
||||
return argument.replace(/\bClear(-| )?BSD((-| )License)?/i, 'BSD-3-Clause-Clear')
|
||||
},
|
||||
// e.g. 'Old BSD License'
|
||||
function (argument) {
|
||||
return argument.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i, 'BSD-4-Clause')
|
||||
},
|
||||
// e.g. 'BY-NC-4.0'
|
||||
function (argument) {
|
||||
return 'CC-' + argument
|
||||
|
||||
32
node_modules/spdx-correct/package.json
generated
vendored
32
node_modules/spdx-correct/package.json
generated
vendored
@@ -1,33 +1,27 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"spdx-correct@3.1.0",
|
||||
"/Users/pjquirk/Source/GitHub/actions/labeler"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "spdx-correct@3.1.0",
|
||||
"_id": "spdx-correct@3.1.0",
|
||||
"_from": "spdx-correct@^3.0.0",
|
||||
"_id": "spdx-correct@3.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",
|
||||
"_integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==",
|
||||
"_location": "/spdx-correct",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "spdx-correct@3.1.0",
|
||||
"raw": "spdx-correct@^3.0.0",
|
||||
"name": "spdx-correct",
|
||||
"escapedName": "spdx-correct",
|
||||
"rawSpec": "3.1.0",
|
||||
"rawSpec": "^3.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "3.1.0"
|
||||
"fetchSpec": "^3.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/validate-npm-package-license"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
|
||||
"_spec": "3.1.0",
|
||||
"_where": "/Users/pjquirk/Source/GitHub/actions/labeler",
|
||||
"_resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz",
|
||||
"_shasum": "dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9",
|
||||
"_spec": "spdx-correct@^3.0.0",
|
||||
"_where": "/Users/dakale/dev/GitHub/actions/labeler/node_modules/validate-npm-package-license",
|
||||
"author": {
|
||||
"name": "Kyle E. Mitchell",
|
||||
"email": "kyle@kemitchell.com",
|
||||
@@ -36,6 +30,7 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/jslicense/spdx-correct.js/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Kyle E. Mitchell",
|
||||
@@ -59,6 +54,7 @@
|
||||
"spdx-expression-parse": "^3.0.0",
|
||||
"spdx-license-ids": "^3.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "correct invalid SPDX expressions",
|
||||
"devDependencies": {
|
||||
"defence-cli": "^2.0.1",
|
||||
@@ -88,5 +84,5 @@
|
||||
"lint": "standard && standard-markdown README.md",
|
||||
"test": "defence README.md | replace-require-self | node && node test.js"
|
||||
},
|
||||
"version": "3.1.0"
|
||||
"version": "3.1.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user