1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-01 17:03:38 +00:00
This commit is contained in:
MatteZ02
2019-10-10 16:43:04 +03:00
parent 6f6ac8a6fa
commit 50b9bed483
9432 changed files with 1988816 additions and 167 deletions

55
node_modules/object-is/.jscs.json generated vendored Normal file
View File

@ -0,0 +1,55 @@
{
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],
"disallowSpaceAfterKeywords": [],
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
"disallowSpacesInsideParentheses": true,
"disallowSpacesInsideArrayBrackets": true,
"disallowQuotedKeysInObjects": "allButReserved",
"disallowSpaceAfterObjectKeys": true,
"requireCommaBeforeLineBreak": true,
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"requireSpaceAfterPrefixUnaryOperators": [],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"requireSpaceBeforePostfixUnaryOperators": [],
"disallowSpaceBeforeBinaryOperators": [],
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
"disallowSpaceAfterBinaryOperators": [],
"disallowImplicitTypeConversion": ["binary", "string"],
"disallowKeywords": ["with", "eval"],
"validateLineBreaks": "LF",
"requireKeywordsOnNewLine": [],
"disallowKeywordsOnNewLine": ["else"],
"requireLineFeedAtFileEnd": true,
"disallowTrailingWhitespace": true,
"excludeFiles": ["node_modules/**", "vendor/**"],
"disallowMultipleLineStrings": true,
"additionalRules": []
}

15
node_modules/object-is/.npmignore generated vendored Normal file
View File

@ -0,0 +1,15 @@
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
pids
logs
results
npm-debug.log
node_modules

18
node_modules/object-is/.travis.yml generated vendored Normal file
View File

@ -0,0 +1,18 @@
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
matrix:
fast_finish: true
allow_failures:
- node_js: "0.11"
- node_js: "0.9"
- node_js: "0.6"
- node_js: "0.4"

20
node_modules/object-is/LICENSE generated vendored Normal file
View File

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2014 Jordan Harband
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.

54
node_modules/object-is/README.md generated vendored Normal file
View File

@ -0,0 +1,54 @@
#object-is <sup>[![Version Badge][2]][1]</sup>
[![Build Status][3]][4] [![dependency status][5]][6] [![dev dependency status][7]][8]
[![npm badge][11]][1]
[![browser support][9]][10]
ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.
Essentially, Object.is returns the same value as === - but true for NaN, and false for -0 and +0.
## Example
```js
Object.is = require('object-is');
var assert = require('assert');
assert.ok(Object.is());
assert.ok(Object.is(undefined));
assert.ok(Object.is(undefined, undefined));
assert.ok(Object.is(null, null));
assert.ok(Object.is(true, true));
assert.ok(Object.is(false, false));
assert.ok(Object.is('foo', 'foo'));
var arr = [1, 2];
assert.ok(Object.is(arr, arr));
assert.notOk(Object.is(arr, [1, 2]));
assert.ok(Object.is(0, 0));
assert.ok(Object.is(-0, -0));
assert.notOk(Object.is(0, -0));
assert.ok(Object.is(NaN, NaN));
assert.ok(Object.is(Infinity, Infinity));
assert.ok(Object.is(-Infinity, -Infinity));
```
## Tests
Simply clone the repo, `npm install`, and run `npm test`
[1]: https://npmjs.org/package/object-is
[2]: http://vb.teelaun.ch/ljharb/object-is.svg
[3]: https://travis-ci.org/ljharb/object-is.svg
[4]: https://travis-ci.org/ljharb/object-is
[5]: https://david-dm.org/ljharb/object-is.svg
[6]: https://david-dm.org/ljharb/object-is
[7]: https://david-dm.org/ljharb/object-is/dev-status.svg
[8]: https://david-dm.org/ljharb/object-is#info=devDependencies
[9]: https://ci.testling.com/ljharb/object-is.png
[10]: https://ci.testling.com/ljharb/object-is
[11]: https://nodei.co/npm/object-is.png?downloads=true&stars=true

19
node_modules/object-is/index.js generated vendored Normal file
View File

@ -0,0 +1,19 @@
"use strict";
/* https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.is */
var NumberIsNaN = function (value) {
return value !== value;
};
module.exports = function is(a, b) {
if (a === 0 && b === 0) {
return 1 / a === 1 / b;
} else if (a === b) {
return true;
} else if (NumberIsNaN(a) && NumberIsNaN(b)) {
return true;
}
return false;
};

86
node_modules/object-is/package.json generated vendored Normal file
View File

@ -0,0 +1,86 @@
{
"_from": "object-is@^1.0.1",
"_id": "object-is@1.0.1",
"_inBundle": false,
"_integrity": "sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY=",
"_location": "/object-is",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "object-is@^1.0.1",
"name": "object-is",
"escapedName": "object-is",
"rawSpec": "^1.0.1",
"saveSpec": null,
"fetchSpec": "^1.0.1"
},
"_requiredBy": [
"/deep-equal"
],
"_resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.1.tgz",
"_shasum": "0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6",
"_spec": "object-is@^1.0.1",
"_where": "C:\\Users\\matia\\Documents\\GitHub\\FutoX-Musix\\node_modules\\deep-equal",
"author": {
"name": "Jordan Harband"
},
"bugs": {
"url": "https://github.com/ljharb/object-is/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "ES6-compliant shim for Object.is - differentiates between -0 and +0",
"devDependencies": {
"covert": "~1.0.0",
"jscs": "~1.5.9",
"tape": "~2.14.0"
},
"engines": {
"node": ">= 0.4"
},
"homepage": "https://github.com/ljharb/object-is",
"keywords": [
"is",
"Object.is",
"equality",
"sameValueZero",
"ES6",
"shim",
"polyfill"
],
"license": "MIT",
"main": "index.js",
"name": "object-is",
"repository": {
"type": "git",
"url": "git://github.com/ljharb/object-is.git"
},
"scripts": {
"coverage": "covert test.js",
"coverage-quiet": "covert test.js --quiet",
"lint": "jscs *.js",
"test": "npm run lint && node test.js && npm run coverage-quiet"
},
"testling": {
"files": "test.js",
"browsers": [
"iexplore/6.0..latest",
"firefox/3.0..6.0",
"firefox/15.0..latest",
"firefox/nightly",
"chrome/4.0..10.0",
"chrome/20.0..latest",
"chrome/canary",
"opera/10.0..12.0",
"opera/15.0..latest",
"opera/next",
"safari/4.0..latest",
"ipad/6.0..latest",
"iphone/6.0..latest",
"android-browser/4.2"
]
},
"version": "1.0.1"
}

50
node_modules/object-is/test.js generated vendored Normal file
View File

@ -0,0 +1,50 @@
"use strict";
var test = require('tape');
var is = require('./');
test('works with primitives', function (t) {
t.ok(is(), 'two absent args are the same');
t.ok(is(undefined), 'undefined & one absent arg are the same');
t.ok(is(undefined, undefined), 'undefined is undefined');
t.ok(is(null, null), 'null is null');
t.ok(is(true, true), 'true is true');
t.ok(is(false, false), 'false is false');
t.notOk(is(true, false), 'true is not false');
t.end();
});
test('works with NaN', function (t) {
t.ok(is(NaN, NaN), 'NaN is NaN');
t.end();
});
test('differentiates zeroes', function (t) {
t.ok(is(0, 0), '+0 is +0');
t.ok(is(-0, -0), '-0 is -0');
t.notOk(is(0, -0), '+0 is not -0');
t.end();
});
test('nonzero numbers', function (t) {
t.ok(is(Infinity, Infinity), 'infinity is infinity');
t.ok(is(-Infinity, -Infinity), 'infinity is infinity');
t.ok(is(42, 42), '42 is 42');
t.notOk(is(42, -42), '42 is not -42');
t.end();
});
test('strings', function (t) {
t.ok(is('', ''), 'empty string is empty string');
t.ok(is('foo', 'foo'), 'string is string');
t.notOk(is('foo', 'bar'), 'string is not different string');
t.end();
});
test('objects', function (t) {
var obj = {};
t.ok(is(obj, obj), 'object is same object');
t.notOk(is(obj, {}), 'object is not different object');
t.end();
});