Fix version dependencies

This commit is contained in:
Shanshuimei 2025-02-01 18:56:59 +08:00
parent c6275ac9f4
commit 511483c681
7 changed files with 74 additions and 28 deletions

6
node_modules/.package-lock.json generated vendored
View file

@ -82,9 +82,9 @@
}
},
"node_modules/@types/node": {
"version": "16.18.123",
"resolved": "https://registry.npmmirror.com/@types/node/-/node-16.18.123.tgz",
"integrity": "sha512-/n7I6V/4agSpJtFDKKFEa763Hc1z3hmvchobHS1TisCOTKD5nxq8NJ2iK7SRIMYL276Q9mgWOx2AWp5n2XI6eA==",
"version": "16.18.125",
"resolved": "https://registry.npmmirror.com/@types/node/-/node-16.18.125.tgz",
"integrity": "sha512-w7U5ojboSPfZP4zD98d+/cjcN2BDW6lKH2M0ubipt8L8vUC7qUAC6ENKGSJL4tEktH2Saw2K4y1uwSjyRGKMhw==",
"dev": true,
"license": "MIT"
},

2
node_modules/@types/node/README.md generated vendored
View file

@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v16.
### Additional Details
* Last updated: Wed, 01 Jan 2025 01:30:02 GMT
* Last updated: Thu, 23 Jan 2025 02:01:50 GMT
* Dependencies: none
# Credits

12
node_modules/@types/node/dgram.d.ts generated vendored
View file

@ -352,22 +352,22 @@ declare module "dgram" {
* @param callback Called when the message has been sent.
*/
send(
msg: string | Uint8Array | readonly any[],
msg: string | NodeJS.ArrayBufferView | readonly any[],
port?: number,
address?: string,
callback?: (error: Error | null, bytes: number) => void,
): void;
send(
msg: string | Uint8Array | readonly any[],
msg: string | NodeJS.ArrayBufferView | readonly any[],
port?: number,
callback?: (error: Error | null, bytes: number) => void,
): void;
send(
msg: string | Uint8Array | readonly any[],
msg: string | NodeJS.ArrayBufferView | readonly any[],
callback?: (error: Error | null, bytes: number) => void,
): void;
send(
msg: string | Uint8Array,
msg: string | NodeJS.ArrayBufferView,
offset: number,
length: number,
port?: number,
@ -375,14 +375,14 @@ declare module "dgram" {
callback?: (error: Error | null, bytes: number) => void,
): void;
send(
msg: string | Uint8Array,
msg: string | NodeJS.ArrayBufferView,
offset: number,
length: number,
port?: number,
callback?: (error: Error | null, bytes: number) => void,
): void;
send(
msg: string | Uint8Array,
msg: string | NodeJS.ArrayBufferView,
offset: number,
length: number,
callback?: (error: Error | null, bytes: number) => void,

View file

@ -1,6 +1,6 @@
{
"name": "@types/node",
"version": "16.18.123",
"version": "16.18.125",
"description": "TypeScript definitions for node",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
"license": "MIT",
@ -213,6 +213,6 @@
"scripts": {},
"dependencies": {},
"peerDependencies": {},
"typesPublisherContentHash": "0a9fc0d15f5d36c3976156d5a997a2b648b37ab58acb6d82cab2187773434457",
"typesPublisherContentHash": "ef3bd7ace4c5927bc72c6aa89d3e9713f9142b4a1434f0a9dc34cab17b5d53fa",
"typeScriptVersion": "5.0"
}

View file

@ -130,7 +130,59 @@ declare module "process" {
TZ?: string;
}
interface HRTime {
/**
* This is the legacy version of {@link process.hrtime.bigint()}
* before bigint was introduced in JavaScript.
*
* The `process.hrtime()` method returns the current high-resolution real time in a `[seconds, nanoseconds]` tuple `Array`,
* where `nanoseconds` is the remaining part of the real time that can't be represented in second precision.
*
* `time` is an optional parameter that must be the result of a previous `process.hrtime()` call to diff with the current time.
* If the parameter passed in is not a tuple `Array`, a TypeError will be thrown.
* Passing in a user-defined array instead of the result of a previous call to `process.hrtime()` will lead to undefined behavior.
*
* These times are relative to an arbitrary time in the past,
* and not related to the time of day and therefore not subject to clock drift.
* The primary use is for measuring performance between intervals:
* ```js
* const { hrtime } = require('node:process');
* const NS_PER_SEC = 1e9;
* const time = hrtime();
* // [ 1800216, 25 ]
*
* setTimeout(() => {
* const diff = hrtime(time);
* // [ 1, 552 ]
*
* console.log(`Benchmark took ${diff[0] * NS_PER_SEC + diff[1]} nanoseconds`);
* // Benchmark took 1000000552 nanoseconds
* }, 1000);
* ```
* @since 0.7.6
* @legacy Use {@link process.hrtime.bigint()} instead.
* @param time The result of a previous call to `process.hrtime()`
*/
(time?: [number, number]): [number, number];
/**
* The `bigint` version of the {@link process.hrtime()} method returning the current high-resolution real time in nanoseconds as a `bigint`.
*
* Unlike {@link process.hrtime()}, it does not support an additional time argument since the difference can just be computed directly by subtraction of the two `bigint`s.
* ```js
* import { hrtime } from 'node:process';
*
* const start = hrtime.bigint();
* // 191051479007711n
*
* setTimeout(() => {
* const end = hrtime.bigint();
* // 191052633396993n
*
* console.log(`Benchmark took ${end - start} nanoseconds`);
* // Benchmark took 1154389282 nanoseconds
* }, 1000);
* ```
* @since v10.7.0
*/
bigint(): bigint;
}
interface ProcessReport {

6
package-lock.json generated
View file

@ -472,9 +472,9 @@
}
},
"node_modules/@types/node": {
"version": "16.18.123",
"resolved": "https://registry.npmmirror.com/@types/node/-/node-16.18.123.tgz",
"integrity": "sha512-/n7I6V/4agSpJtFDKKFEa763Hc1z3hmvchobHS1TisCOTKD5nxq8NJ2iK7SRIMYL276Q9mgWOx2AWp5n2XI6eA==",
"version": "16.18.125",
"resolved": "https://registry.npmmirror.com/@types/node/-/node-16.18.125.tgz",
"integrity": "sha512-w7U5ojboSPfZP4zD98d+/cjcN2BDW6lKH2M0ubipt8L8vUC7qUAC6ENKGSJL4tEktH2Saw2K4y1uwSjyRGKMhw==",
"dev": true,
"license": "MIT"
},

View file

@ -1,7 +1,7 @@
{
"name": "obsidian-generate-timeline",
"name": "obsidian-timeline-plugin",
"version": "1.0.0",
"description": "Generate timeline from your Obsidian notes",
"description": "Timeline plugin for Obsidian",
"main": "main.js",
"type": "module",
"scripts": {
@ -9,22 +9,16 @@
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"keywords": [
"obsidian",
"timeline"
],
"author": "Shanshuimei",
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",
"@types/html2canvas": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"builtin-modules": "^3.2.0",
"esbuild": "^0.13.12",
"obsidian": "latest",
"tslib": "2.3.1",
"typescript": "4.4.4"
"typescript": "^4.9.5",
"esbuild": "^0.19.12",
"builtin-modules": "^3.3.0"
},
"dependencies": {
"html2canvas": "^1.4.1"