Compare commits
10 commits
Author | SHA1 | Date | |
---|---|---|---|
6e68b03b48 | |||
|
2c33b4c9e6 | ||
b02482d514 | |||
|
7f86d3c643 | ||
2a608b59aa | |||
b099289228 | |||
|
9cfbfb6146 | ||
|
8c4d9808ca | ||
b6887364cf | |||
d241fbf1ea |
10 changed files with 221 additions and 147 deletions
|
@ -5,14 +5,14 @@
|
|||
<name>Twigs</name>
|
||||
<summary>Twigs</summary>
|
||||
<description><![CDATA[Twigs is meant to help you get your finances on track by helping you establish budgets and register expenses. You can also share your budgets with other users.]]></description>
|
||||
<version>0.0.1</version>
|
||||
<version>0.1.2</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="william@wbrawner.com" homepage="https://wbrawner.com">William Brawner</author>
|
||||
<namespace>Twigs</namespace>
|
||||
<category>tools</category>
|
||||
<bugs>https://github.com/wbrawner/nextcloud-twigs/issues</bugs>
|
||||
<dependencies>
|
||||
<nextcloud min-version="15" max-version="15"/>
|
||||
<nextcloud min-version="15" max-version="18"/>
|
||||
</dependencies>
|
||||
<navigations>
|
||||
<navigation>
|
||||
|
|
|
@ -102,7 +102,7 @@ class CategoryController extends Controller
|
|||
$category->setName($name);
|
||||
$category->setDescription($description);
|
||||
$category->setAmount($amount);
|
||||
$category->setExpense($expense);
|
||||
$category->setExpense((int) $expense);
|
||||
$category->setBudgetId($budgetId);
|
||||
return new DataResponse($this->categoryMapper->insert($category));
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ class CategoryController extends Controller
|
|||
$category->setAmount($amount);
|
||||
}
|
||||
if ($expense) {
|
||||
$category->setExpense($expense);
|
||||
$category->setExpense((int) $expense);
|
||||
}
|
||||
if ($budgetId) {
|
||||
try {
|
||||
|
|
|
@ -119,7 +119,7 @@ class TransactionController extends Controller
|
|||
$transaction->setName($name);
|
||||
$transaction->setDescription($description);
|
||||
$transaction->setAmount($amount);
|
||||
$transaction->setExpense($expense);
|
||||
$transaction->setExpense((int) $expense);
|
||||
$dateTime = DateTime::createFromFormat(self::DATE_FORMAT, $date);
|
||||
if (!$dateTime) {
|
||||
return new DataResponse(["message" => "Invalid date format: '$date'"], Http::STATUS_BAD_REQUEST);
|
||||
|
@ -172,7 +172,7 @@ class TransactionController extends Controller
|
|||
$transaction->setName($name);
|
||||
$transaction->setDescription($description);
|
||||
$transaction->setAmount($amount);
|
||||
$transaction->setExpense($expense);
|
||||
$transaction->setExpense((int) $expense);
|
||||
$dateTime = DateTime::createFromFormat(self::DATE_FORMAT, $date);
|
||||
if (!$dateTime) {
|
||||
return new DataResponse([], Http::STATUS_BAD_REQUEST);
|
||||
|
@ -251,7 +251,7 @@ class TransactionController extends Controller
|
|||
$endDateTime->setDate(
|
||||
$endDateTime->format('Y'),
|
||||
$endDateTime->format('m'),
|
||||
$endDateTime->format('t'),
|
||||
$endDateTime->format('t')
|
||||
);
|
||||
$endDateTime->setTime(23, 59, 59, 999);
|
||||
} else {
|
||||
|
|
|
@ -9,7 +9,7 @@ use OCP\AppFramework\Db\QBMapper;
|
|||
class BudgetMapper extends QBMapper
|
||||
{
|
||||
|
||||
public static $TABLE_NAME = 'twigs_budgets';
|
||||
public const TABLE_NAME = 'twigs_budgets';
|
||||
protected $categoryMapper;
|
||||
protected $transactionMapper;
|
||||
protected $userPermissionMapper;
|
||||
|
@ -20,7 +20,7 @@ class BudgetMapper extends QBMapper
|
|||
TransactionMapper $transactionMapper,
|
||||
UserPermissionMapper $userPermissionMapper
|
||||
) {
|
||||
parent::__construct($db, BudgetMapper::$TABLE_NAME, Budget::class);
|
||||
parent::__construct($db, BudgetMapper::TABLE_NAME, Budget::class);
|
||||
$this->categoryMapper = $categoryMapper;
|
||||
$this->transactionMapper = $transactionMapper;
|
||||
$this->userPermissionMapper = $userPermissionMapper;
|
||||
|
|
|
@ -8,12 +8,12 @@ use OCP\AppFramework\Db\QBMapper;
|
|||
class CategoryMapper extends QBMapper
|
||||
{
|
||||
|
||||
public static $TABLE_NAME = 'twigs_categories';
|
||||
public const TABLE_NAME = 'twigs_categories';
|
||||
protected $userPermissionMapper;
|
||||
|
||||
public function __construct(IDbConnection $db, UserPermissionMapper $userPermissionMapper)
|
||||
{
|
||||
parent::__construct($db, CategoryMapper::$TABLE_NAME, Category::class);
|
||||
parent::__construct($db, CategoryMapper::TABLE_NAME, Category::class);
|
||||
$this->userPermissionMapper = $userPermissionMapper;
|
||||
}
|
||||
|
||||
|
|
|
@ -9,11 +9,11 @@ use OCP\AppFramework\Db\QBMapper;
|
|||
class TransactionMapper extends QBMapper
|
||||
{
|
||||
|
||||
public static $TABLE_NAME = 'twigs_transactions';
|
||||
public const TABLE_NAME = 'twigs_transactions';
|
||||
|
||||
public function __construct(IDbConnection $db)
|
||||
{
|
||||
parent::__construct($db, TransactionMapper::$TABLE_NAME, Transaction::class);
|
||||
parent::__construct($db, TransactionMapper::TABLE_NAME, Transaction::class);
|
||||
}
|
||||
|
||||
public function find(int $id)
|
||||
|
|
|
@ -7,11 +7,11 @@ use OCP\AppFramework\Db\QBMapper;
|
|||
|
||||
class UserPermissionMapper extends QBMapper
|
||||
{
|
||||
public static $TABLE_NAME = 'twigs_user_permissions';
|
||||
public const TABLE_NAME = 'twigs_user_permissions';
|
||||
|
||||
public function __construct(IDbConnection $db)
|
||||
{
|
||||
parent::__construct($db, UserPermissionMapper::$TABLE_NAME, UserPermission::class);
|
||||
parent::__construct($db, UserPermissionMapper::TABLE_NAME, UserPermission::class);
|
||||
}
|
||||
|
||||
public function find(int $budgetId, string $userId)
|
||||
|
|
|
@ -23,8 +23,8 @@ class Version000001Date20200204101200 extends SimpleMigrationStep {
|
|||
/** @var ISchemaWrapper $schema */
|
||||
$schema = $schemaClosure();
|
||||
|
||||
if (!$schema->hasTable(BudgetMapper::$TABLE_NAME)) {
|
||||
$table = $schema->createTable(BudgetMapper::$TABLE_NAME);
|
||||
if (!$schema->hasTable(BudgetMapper::TABLE_NAME)) {
|
||||
$table = $schema->createTable(BudgetMapper::TABLE_NAME);
|
||||
$table->addColumn('id', 'integer', [
|
||||
'autoincrement' => true,
|
||||
'notnull' => true,
|
||||
|
@ -41,8 +41,8 @@ class Version000001Date20200204101200 extends SimpleMigrationStep {
|
|||
$table->setPrimaryKey(['id']);
|
||||
}
|
||||
|
||||
if (!$schema->hasTable(CategoryMapper::$TABLE_NAME)) {
|
||||
$table = $schema->createTable(CategoryMapper::$TABLE_NAME);
|
||||
if (!$schema->hasTable(CategoryMapper::TABLE_NAME)) {
|
||||
$table = $schema->createTable(CategoryMapper::TABLE_NAME);
|
||||
$table->addColumn('id', 'integer', [
|
||||
'autoincrement' => true,
|
||||
'notnull' => true,
|
||||
|
@ -66,11 +66,11 @@ class Version000001Date20200204101200 extends SimpleMigrationStep {
|
|||
]);
|
||||
|
||||
$table->setPrimaryKey(['id']);
|
||||
$table->addForeignKeyConstraint(BudgetMapper::$TABLE_NAME, ['budget_id'], ['id']);
|
||||
$table->addForeignKeyConstraint($schema->getTable(BudgetMapper::TABLE_NAME), ['budget_id'], ['id']);
|
||||
}
|
||||
|
||||
if (!$schema->hasTable(TransactionMapper::$TABLE_NAME)) {
|
||||
$table = $schema->createTable(TransactionMapper::$TABLE_NAME);
|
||||
if (!$schema->hasTable(TransactionMapper::TABLE_NAME)) {
|
||||
$table = $schema->createTable(TransactionMapper::TABLE_NAME);
|
||||
$table->addColumn('id', 'integer', [
|
||||
'autoincrement' => true,
|
||||
'notnull' => true,
|
||||
|
@ -112,12 +112,12 @@ class Version000001Date20200204101200 extends SimpleMigrationStep {
|
|||
]);
|
||||
|
||||
$table->setPrimaryKey(['id']);
|
||||
$table->addForeignKeyConstraint(BudgetMapper::$TABLE_NAME, ['budget_id'], ['id']);
|
||||
$table->addForeignKeyConstraint(CategoryMapper::$TABLE_NAME, ['category_id'], ['id']);
|
||||
$table->addForeignKeyConstraint($schema->getTable(BudgetMapper::TABLE_NAME), ['budget_id'], ['id']);
|
||||
$table->addForeignKeyConstraint($schema->getTable(CategoryMapper::TABLE_NAME), ['category_id'], ['id']);
|
||||
}
|
||||
|
||||
if (!$schema->hasTable(UserPermissionMapper::$TABLE_NAME)) {
|
||||
$table = $schema->createTable(UserPermissionMapper::$TABLE_NAME);
|
||||
if (!$schema->hasTable(UserPermissionMapper::TABLE_NAME)) {
|
||||
$table = $schema->createTable(UserPermissionMapper::TABLE_NAME);
|
||||
$table->addColumn('id', 'integer', [
|
||||
'autoincrement' => true,
|
||||
'notnull' => true,
|
||||
|
@ -134,8 +134,8 @@ class Version000001Date20200204101200 extends SimpleMigrationStep {
|
|||
]);
|
||||
|
||||
$table->setPrimaryKey(['id']);
|
||||
$table->addForeignKeyConstraint(BudgetMapper::$TABLE_NAME, ['budget_id'], ['id']);
|
||||
$table->addForeignKeyConstraint('oc_users', ['user_id'], ['uid']);
|
||||
$table->addForeignKeyConstraint($schema->getTable(BudgetMapper::TABLE_NAME), ['budget_id'], ['id']);
|
||||
$table->addForeignKeyConstraint($schema->getTable('users'), ['user_id'], ['uid']);
|
||||
}
|
||||
|
||||
return $schema;
|
||||
|
|
33
lib/Migration/Version000102Date20200324194700.php
Normal file
33
lib/Migration/Version000102Date20200324194700.php
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
|
||||
namespace OCA\Twigs\Migration;
|
||||
|
||||
use Closure;
|
||||
use OCP\DB\ISchemaWrapper;
|
||||
use OCP\Migration\SimpleMigrationStep;
|
||||
use OCP\Migration\IOutput;
|
||||
use OCA\Twigs\Db\CategoryMapper;
|
||||
use OCA\Twigs\Db\TransactionMapper;
|
||||
|
||||
class Version000102Date20200324194700 extends SimpleMigrationStep {
|
||||
|
||||
/**
|
||||
* @param IOutput $output
|
||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||
* @param array $options
|
||||
* @return null|ISchemaWrapper
|
||||
*/
|
||||
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
|
||||
/** @var ISchemaWrapper $schema */
|
||||
$schema = $schemaClosure();
|
||||
|
||||
if ($schema->hasTable(CategoryMapper::TABLE_NAME)) {
|
||||
$table = $schema->getTable(CategoryMapper::TABLE_NAME);
|
||||
$table->changeColumn('description', [
|
||||
'notnull' => false,
|
||||
]);
|
||||
}
|
||||
|
||||
return $schema;
|
||||
}
|
||||
}
|
279
package-lock.json
generated
279
package-lock.json
generated
|
@ -1265,6 +1265,23 @@
|
|||
"readdir-scoped-modules": "^1.1.0"
|
||||
}
|
||||
},
|
||||
"@npmcli/move-file": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.0.1.tgz",
|
||||
"integrity": "sha512-Uv6h1sT+0DrblvIrolFtbvM1FgWm+/sy4B3pvLp67Zys+thcukzS5ekn7HsZFGpWP4Q3fYJCljbWQE/XivMRLw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"mkdirp": "^1.0.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"mkdirp": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
||||
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"@npmcli/promise-spawn": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.1.0.tgz",
|
||||
|
@ -2114,9 +2131,9 @@
|
|||
}
|
||||
},
|
||||
"bl": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.2.tgz",
|
||||
"integrity": "sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ==",
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
|
||||
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
|
||||
"requires": {
|
||||
"buffer": "^5.5.0",
|
||||
"inherits": "^2.0.4",
|
||||
|
@ -2124,9 +2141,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"buffer": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.5.0.tgz",
|
||||
"integrity": "sha512-9FTEDjLjwoAkEwyMGDjYJQN2gfRgOKBKRfiglhvibGbpeeU/pQn1bJxQqm32OD/AIeEuHxU9roxXxg34Byp/Ww==",
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
|
||||
"integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
|
||||
"requires": {
|
||||
"base64-js": "^1.0.2",
|
||||
"ieee754": "^1.1.4"
|
||||
|
@ -3585,9 +3602,9 @@
|
|||
}
|
||||
},
|
||||
"elliptic": {
|
||||
"version": "6.5.2",
|
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz",
|
||||
"integrity": "sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==",
|
||||
"version": "6.5.3",
|
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
|
||||
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"bn.js": "^4.4.0",
|
||||
|
@ -6740,9 +6757,9 @@
|
|||
}
|
||||
},
|
||||
"lodash": {
|
||||
"version": "4.17.15",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
|
||||
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
|
||||
"version": "4.17.19",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
|
||||
"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
|
||||
},
|
||||
"lodash.get": {
|
||||
"version": "4.4.2",
|
||||
|
@ -6812,108 +6829,6 @@
|
|||
"semver": "^5.6.0"
|
||||
}
|
||||
},
|
||||
"make-fetch-happen": {
|
||||
"version": "8.0.4",
|
||||
"resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-8.0.4.tgz",
|
||||
"integrity": "sha512-hIFoqGq1db0QMiy/Atr/pI1Rs4rDV+ZdGSey2SQyF3KK3u1z4aj9mS5UdNnZkdQpA+H3pGn0J3KlEwsi2x4EqA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"agentkeepalive": "^4.1.0",
|
||||
"cacache": "^15.0.0",
|
||||
"http-cache-semantics": "^4.0.4",
|
||||
"http-proxy-agent": "^4.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"is-lambda": "^1.0.1",
|
||||
"lru-cache": "^5.1.1",
|
||||
"minipass": "^3.0.0",
|
||||
"minipass-collect": "^1.0.2",
|
||||
"minipass-fetch": "^1.1.2",
|
||||
"minipass-flush": "^1.0.5",
|
||||
"minipass-pipeline": "^1.2.2",
|
||||
"promise-retry": "^1.1.1",
|
||||
"socks-proxy-agent": "^5.0.0",
|
||||
"ssri": "^8.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"cacache": {
|
||||
"version": "15.0.0",
|
||||
"resolved": "https://registry.npmjs.org/cacache/-/cacache-15.0.0.tgz",
|
||||
"integrity": "sha512-L0JpXHhplbJSiDGzyJJnJCTL7er7NzbBgxzVqLswEb4bO91Zbv17OUMuUeu/q0ZwKn3V+1HM4wb9tO4eVE/K8g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chownr": "^1.1.2",
|
||||
"fs-minipass": "^2.0.0",
|
||||
"glob": "^7.1.4",
|
||||
"infer-owner": "^1.0.4",
|
||||
"lru-cache": "^5.1.1",
|
||||
"minipass": "^3.1.1",
|
||||
"minipass-collect": "^1.0.2",
|
||||
"minipass-flush": "^1.0.5",
|
||||
"minipass-pipeline": "^1.2.2",
|
||||
"mkdirp": "^1.0.3",
|
||||
"move-concurrently": "^1.0.1",
|
||||
"p-map": "^3.0.0",
|
||||
"promise-inflight": "^1.0.1",
|
||||
"rimraf": "^2.7.1",
|
||||
"ssri": "^8.0.0",
|
||||
"tar": "^6.0.1",
|
||||
"unique-filename": "^1.1.1"
|
||||
}
|
||||
},
|
||||
"lru-cache": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
|
||||
"integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"yallist": "^3.0.2"
|
||||
}
|
||||
},
|
||||
"mkdirp": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.3.tgz",
|
||||
"integrity": "sha512-6uCP4Qc0sWsgMLy1EOqqS/3rjDHOEnsStVr/4vtAIK2Y5i2kA7lFFejYrpIyiN9w0pYf4ckeCYT9f1r1P9KX5g==",
|
||||
"dev": true
|
||||
},
|
||||
"ssri": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.0.tgz",
|
||||
"integrity": "sha512-aq/pz989nxVYwn16Tsbj1TqFpD5LLrQxHf5zaHuieFV+R0Bbr4y8qUsOA45hXT/N4/9UNXTarBjnjVmjSOVaAA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"minipass": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"tar": {
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/tar/-/tar-6.0.1.tgz",
|
||||
"integrity": "sha512-bKhKrrz2FJJj5s7wynxy/fyxpE0CmCjmOQ1KV4KkgXFWOgoIT/NbTMnB1n+LFNrNk0SSBVGGxcK5AGsyC+pW5Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chownr": "^1.1.3",
|
||||
"fs-minipass": "^2.0.0",
|
||||
"minipass": "^3.0.0",
|
||||
"minizlib": "^2.1.0",
|
||||
"mkdirp": "^1.0.3",
|
||||
"yallist": "^4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"yallist": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
|
||||
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"yallist": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
|
||||
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"map-age-cleaner": {
|
||||
"version": "0.1.3",
|
||||
"resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz",
|
||||
|
@ -8148,21 +8063,52 @@
|
|||
}
|
||||
},
|
||||
"npm-registry-fetch": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-8.0.0.tgz",
|
||||
"integrity": "sha512-975WwLvZjX97y9UWWQ8nAyr7bw02s9xKPHqvEm5T900LQsB1HXb8Gb9ebYtCBLSX+K8gSOrO5KS/9yV/naLZmQ==",
|
||||
"version": "8.1.1",
|
||||
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-8.1.1.tgz",
|
||||
"integrity": "sha512-3FCYb/YO6k9vfPMSU6H1CbixQAzoLuBqTTpjcks2PHlN59c0ENTYrDF8lCRvgLm1iAhwhwZg7pRq2VOTw3Yfaw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@npmcli/ci-detect": "^1.0.0",
|
||||
"lru-cache": "^5.1.1",
|
||||
"make-fetch-happen": "^8.0.2",
|
||||
"minipass": "^3.0.0",
|
||||
"make-fetch-happen": "^8.0.7",
|
||||
"minipass": "^3.1.3",
|
||||
"minipass-fetch": "^1.1.2",
|
||||
"minipass-json-stream": "^1.0.1",
|
||||
"minizlib": "^2.0.0",
|
||||
"npm-package-arg": "^8.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"cacache": {
|
||||
"version": "15.0.4",
|
||||
"resolved": "https://registry.npmjs.org/cacache/-/cacache-15.0.4.tgz",
|
||||
"integrity": "sha512-YlnKQqTbD/6iyoJvEY3KJftjrdBYroCbxxYXzhOzsFLWlp6KX4BOlEf4mTx0cMUfVaTS3ENL2QtDWeRYoGLkkw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@npmcli/move-file": "^1.0.1",
|
||||
"chownr": "^2.0.0",
|
||||
"fs-minipass": "^2.0.0",
|
||||
"glob": "^7.1.4",
|
||||
"infer-owner": "^1.0.4",
|
||||
"lru-cache": "^5.1.1",
|
||||
"minipass": "^3.1.1",
|
||||
"minipass-collect": "^1.0.2",
|
||||
"minipass-flush": "^1.0.5",
|
||||
"minipass-pipeline": "^1.2.2",
|
||||
"mkdirp": "^1.0.3",
|
||||
"p-map": "^4.0.0",
|
||||
"promise-inflight": "^1.0.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"ssri": "^8.0.0",
|
||||
"tar": "^6.0.2",
|
||||
"unique-filename": "^1.1.1"
|
||||
}
|
||||
},
|
||||
"chownr": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
|
||||
"integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
|
||||
"dev": true
|
||||
},
|
||||
"lru-cache": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
|
||||
|
@ -8172,6 +8118,101 @@
|
|||
"yallist": "^3.0.2"
|
||||
}
|
||||
},
|
||||
"make-fetch-happen": {
|
||||
"version": "8.0.7",
|
||||
"resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-8.0.7.tgz",
|
||||
"integrity": "sha512-rkDA4c1nMXVqLkfOaM5RK2dxkUndjLOCrPycTDZgbkFDzhmaCO3P1dmCW//yt1I/G1EcedJqMsSjWkV79Hh4hQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"agentkeepalive": "^4.1.0",
|
||||
"cacache": "^15.0.0",
|
||||
"http-cache-semantics": "^4.0.4",
|
||||
"http-proxy-agent": "^4.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"is-lambda": "^1.0.1",
|
||||
"lru-cache": "^5.1.1",
|
||||
"minipass": "^3.1.3",
|
||||
"minipass-collect": "^1.0.2",
|
||||
"minipass-fetch": "^1.1.2",
|
||||
"minipass-flush": "^1.0.5",
|
||||
"minipass-pipeline": "^1.2.2",
|
||||
"promise-retry": "^1.1.1",
|
||||
"socks-proxy-agent": "^5.0.0",
|
||||
"ssri": "^8.0.0"
|
||||
}
|
||||
},
|
||||
"minipass": {
|
||||
"version": "3.1.3",
|
||||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz",
|
||||
"integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"yallist": "^4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"yallist": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
|
||||
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"mkdirp": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
||||
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
|
||||
"dev": true
|
||||
},
|
||||
"p-map": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
|
||||
"integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"aggregate-error": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"rimraf": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
||||
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"glob": "^7.1.3"
|
||||
}
|
||||
},
|
||||
"ssri": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.0.tgz",
|
||||
"integrity": "sha512-aq/pz989nxVYwn16Tsbj1TqFpD5LLrQxHf5zaHuieFV+R0Bbr4y8qUsOA45hXT/N4/9UNXTarBjnjVmjSOVaAA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"minipass": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"tar": {
|
||||
"version": "6.0.2",
|
||||
"resolved": "https://registry.npmjs.org/tar/-/tar-6.0.2.tgz",
|
||||
"integrity": "sha512-Glo3jkRtPcvpDlAs/0+hozav78yoXKFr+c4wgw62NNMO3oo4AaJdCo21Uu7lcwr55h39W2XD1LMERc64wtbItg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chownr": "^2.0.0",
|
||||
"fs-minipass": "^2.0.0",
|
||||
"minipass": "^3.0.0",
|
||||
"minizlib": "^2.1.0",
|
||||
"mkdirp": "^1.0.3",
|
||||
"yallist": "^4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"yallist": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
|
||||
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"yallist": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
|
||||
|
|
Loading…
Reference in a new issue