mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 13:42:20 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
19
web/node_modules/@emotion/memoize/CHANGELOG.md
generated
vendored
Normal file
19
web/node_modules/@emotion/memoize/CHANGELOG.md
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
# @emotion/memoize
|
||||
|
||||
## 0.7.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`4c62ae9`](https://github.com/emotion-js/emotion/commit/4c62ae9447959d438928e1a26f76f1487983c968) [#1698](https://github.com/emotion-js/emotion/pull/1698) Thanks [@Andarist](https://github.com/Andarist)! - Add LICENSE file
|
||||
|
||||
## 0.7.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [c81c0033](https://github.com/emotion-js/emotion/commit/c81c0033c490210077da0e9c3f9fa1a22fcd9c96) [#1503](https://github.com/emotion-js/emotion/pull/1503) Thanks [@Andarist](https://github.com/Andarist)! - Add TS types to util packages - hash, memoize & weak-memoize
|
||||
|
||||
## 0.7.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [c0eb604d](https://github.com/emotion-js/emotion/commit/c0eb604d) [#1419](https://github.com/emotion-js/emotion/pull/1419) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Update build tool
|
21
web/node_modules/@emotion/memoize/LICENSE
generated
vendored
Normal file
21
web/node_modules/@emotion/memoize/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) Emotion team and other contributors
|
||||
|
||||
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.
|
13
web/node_modules/@emotion/memoize/dist/memoize.browser.cjs.js
generated
vendored
Normal file
13
web/node_modules/@emotion/memoize/dist/memoize.browser.cjs.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
function memoize(fn) {
|
||||
var cache = {};
|
||||
return function (arg) {
|
||||
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
||||
return cache[arg];
|
||||
};
|
||||
}
|
||||
|
||||
exports.default = memoize;
|
9
web/node_modules/@emotion/memoize/dist/memoize.browser.esm.js
generated
vendored
Normal file
9
web/node_modules/@emotion/memoize/dist/memoize.browser.esm.js
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
function memoize(fn) {
|
||||
var cache = {};
|
||||
return function (arg) {
|
||||
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
||||
return cache[arg];
|
||||
};
|
||||
}
|
||||
|
||||
export default memoize;
|
13
web/node_modules/@emotion/memoize/dist/memoize.cjs.dev.js
generated
vendored
Normal file
13
web/node_modules/@emotion/memoize/dist/memoize.cjs.dev.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
function memoize(fn) {
|
||||
var cache = {};
|
||||
return function (arg) {
|
||||
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
||||
return cache[arg];
|
||||
};
|
||||
}
|
||||
|
||||
exports.default = memoize;
|
7
web/node_modules/@emotion/memoize/dist/memoize.cjs.js
generated
vendored
Normal file
7
web/node_modules/@emotion/memoize/dist/memoize.cjs.js
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
module.exports = require("./memoize.cjs.prod.js");
|
||||
} else {
|
||||
module.exports = require("./memoize.cjs.dev.js");
|
||||
}
|
3
web/node_modules/@emotion/memoize/dist/memoize.cjs.js.flow
generated
vendored
Normal file
3
web/node_modules/@emotion/memoize/dist/memoize.cjs.js.flow
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
// @flow
|
||||
export * from "../src/index.js";
|
||||
export { default } from "../src/index.js";
|
12
web/node_modules/@emotion/memoize/dist/memoize.cjs.prod.js
generated
vendored
Normal file
12
web/node_modules/@emotion/memoize/dist/memoize.cjs.prod.js
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
|
||||
function memoize(fn) {
|
||||
var cache = {};
|
||||
return function(arg) {
|
||||
return void 0 === cache[arg] && (cache[arg] = fn(arg)), cache[arg];
|
||||
};
|
||||
}
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: !0
|
||||
}), exports.default = memoize;
|
9
web/node_modules/@emotion/memoize/dist/memoize.esm.js
generated
vendored
Normal file
9
web/node_modules/@emotion/memoize/dist/memoize.esm.js
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
function memoize(fn) {
|
||||
var cache = {};
|
||||
return function (arg) {
|
||||
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
||||
return cache[arg];
|
||||
};
|
||||
}
|
||||
|
||||
export default memoize;
|
28
web/node_modules/@emotion/memoize/package.json
generated
vendored
Normal file
28
web/node_modules/@emotion/memoize/package.json
generated
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"name": "@emotion/memoize",
|
||||
"version": "0.7.4",
|
||||
"description": "emotion's memoize utility",
|
||||
"main": "dist/memoize.cjs.js",
|
||||
"module": "dist/memoize.esm.js",
|
||||
"types": "types/index.d.ts",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/emotion-js/emotion/tree/master/packages/memoize",
|
||||
"scripts": {
|
||||
"test:typescript": "dtslint types"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"dtslint": "^0.3.0"
|
||||
},
|
||||
"files": [
|
||||
"src",
|
||||
"dist",
|
||||
"types"
|
||||
],
|
||||
"browser": {
|
||||
"./dist/memoize.cjs.js": "./dist/memoize.browser.cjs.js",
|
||||
"./dist/memoize.esm.js": "./dist/memoize.browser.esm.js"
|
||||
}
|
||||
}
|
10
web/node_modules/@emotion/memoize/src/index.js
generated
vendored
Normal file
10
web/node_modules/@emotion/memoize/src/index.js
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
// @flow
|
||||
|
||||
export default function memoize<V>(fn: string => V): string => V {
|
||||
const cache = {}
|
||||
|
||||
return (arg: string) => {
|
||||
if (cache[arg] === undefined) cache[arg] = fn(arg)
|
||||
return cache[arg]
|
||||
}
|
||||
}
|
3
web/node_modules/@emotion/memoize/types/index.d.ts
generated
vendored
Normal file
3
web/node_modules/@emotion/memoize/types/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
type Fn<T> = (key: string) => T
|
||||
|
||||
export default function memoize<T>(fn: Fn<T>): Fn<T>
|
7
web/node_modules/@emotion/memoize/types/tests.ts
generated
vendored
Normal file
7
web/node_modules/@emotion/memoize/types/tests.ts
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
import memoize from '@emotion/memoize'
|
||||
|
||||
// $ExpectType string[]
|
||||
memoize((arg: string) => [arg])('foo')
|
||||
|
||||
// $ExpectError
|
||||
memoize((arg: number) => [arg])
|
26
web/node_modules/@emotion/memoize/types/tsconfig.json
generated
vendored
Normal file
26
web/node_modules/@emotion/memoize/types/tsconfig.json
generated
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "../",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"module": "commonjs",
|
||||
"noEmit": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"target": "es5",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": []
|
||||
},
|
||||
"include": [
|
||||
"./*.ts",
|
||||
"./*.tsx"
|
||||
]
|
||||
}
|
25
web/node_modules/@emotion/memoize/types/tslint.json
generated
vendored
Normal file
25
web/node_modules/@emotion/memoize/types/tslint.json
generated
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"extends": "dtslint/dtslint.json",
|
||||
"rules": {
|
||||
"array-type": [
|
||||
true,
|
||||
"generic"
|
||||
],
|
||||
"import-spacing": false,
|
||||
"semicolon": false,
|
||||
"whitespace": [
|
||||
true,
|
||||
"check-branch",
|
||||
"check-decl",
|
||||
"check-operator",
|
||||
"check-module",
|
||||
"check-rest-spread",
|
||||
"check-type",
|
||||
"check-typecast",
|
||||
"check-type-operator",
|
||||
"check-preblock"
|
||||
],
|
||||
|
||||
"no-unnecessary-generics": false
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue