From dc8fe2ca314d500388ee3d2a7e33b99cb5668659 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Mon, 12 Jun 2023 21:59:29 +0200 Subject: [PATCH 001/473] token-metadata: Add interface describing the program (#4514) --- interface/Cargo.toml | 23 ++ interface/README.md | 107 +++++++++ interface/src/error.rs | 17 ++ interface/src/instruction.rs | 427 +++++++++++++++++++++++++++++++++++ interface/src/lib.rs | 15 ++ interface/src/state.rs | 77 +++++++ 6 files changed, 666 insertions(+) create mode 100644 interface/Cargo.toml create mode 100644 interface/README.md create mode 100644 interface/src/error.rs create mode 100644 interface/src/instruction.rs create mode 100644 interface/src/lib.rs create mode 100644 interface/src/state.rs diff --git a/interface/Cargo.toml b/interface/Cargo.toml new file mode 100644 index 0000000..a777e2c --- /dev/null +++ b/interface/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "spl-token-metadata-interface" +version = "0.1.0" +description = "Solana Program Library Token Metadata Interface" +authors = ["Solana Labs Maintainers "] +repository = "https://github.com/solana-labs/solana-program-library" +license = "Apache-2.0" +edition = "2021" + +[dependencies] +borsh = "0.9" +num-derive = "0.3.3" +num-traits = "0.2" +solana-program = "1.14.12" +spl-program-error = { version = "0.1.0" , path = "../../libraries/program-error" } +spl-type-length-value = { version = "0.1.0" , path = "../../libraries/type-length-value" } +thiserror = "1.0" + +[lib] +crate-type = ["cdylib", "lib"] + +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"] diff --git a/interface/README.md b/interface/README.md new file mode 100644 index 0000000..3ee6d40 --- /dev/null +++ b/interface/README.md @@ -0,0 +1,107 @@ +## Token-Metadata Interface + +An interface describing the instructions required for a program to implement +to be considered a "token-metadata" program for SPL token mints. The interface +can be implemented by any program. + +With a common interface, any wallet, dapp, or on-chain program can read the metadata, +and any tool that creates or modifies metadata will just work with any program +that implements the interface. + +There is also a `TokenMetadata` struct that may optionally be implemented, but +is not required because of the `Emit` instruction, which indexers and other off-chain +users can call to get metadata. + +### Example program + +Coming soon! + +### Motivation + +Token creators on Solana need all sorts of functionality for their token-metadata, +and the Metaplex Token-Metadata program has been the one place for all metadata +needs, leading to a feature-rich program that still might not serve all needs. + +At its base, token-metadata is a set of data fields associated to a particular token +mint, so we propose an interface that serves the simplest base case with some +compatibility with existing solutions. + +With this proposal implemented, fungible and non-fungible token creators will +have two options: + +* implement the interface in their own program, so they can eventually extend it +with new functionality or even other interfaces +* use a reference program that implements the simplest case + +### Required Instructions + +All of the following instructions are listed in greater detail in the source code. +Once the interface is decided, the information in the source code will be copied +here. + +#### Initialize + +Initializes the token-metadata TLV entry in an account with an update authority, +name, symbol, and URI. + +Must provide an SPL token mint and be signed by the mint authority. + +#### Update Field + +Updates a field in a token-metadata account. This may be an existing or totally +new field. + +Must be signed by the update authority. + +#### Remove Key + +Unsets a key-value pair, clearing an existing entry. + +Must be signed by the update authority. + +#### Update Authority + +Sets or unsets the token-metadata update authority, which signs any future updates +to the metadata. + +Must be signed by the update authority. + +#### Emit + +Emits token-metadata in the expected `TokenMetadata` state format. Although +implementing a struct that uses the exact state is optional, this instruction is +required. + +### (Optional) State + +A program that implements the interface may write the following data fields +into a type-length-value entry into an account: + +```rust +type Pubkey = [u8; 32]; +type OptionalNonZeroPubkey = Pubkey; // if all zeroes, interpreted as `None` + +pub struct TokenMetadata { + /// The authority that can sign to update the metadata + pub update_authority: OptionalNonZeroPubkey, + /// The associated mint, used to counter spoofing to be sure that metadata + /// belongs to a particular mint + pub mint: Pubkey, + /// The longer name of the token + pub name: String, + /// The shortened symbol for the token + pub symbol: String, + /// The URI pointing to richer metadata + pub uri: String, + /// Any additional metadata about the token as key-value pairs. The program + /// must avoid storing the same key twice. + pub additional_metadata: Vec<(String, String)>, +} +``` + +By storing the metadata in a TLV structure, a developer who implements this +interface in their program can freely add any other data fields in a different +TLV entry. + +You can find more information about TLV / type-length-value structures at the +[spl-type-length-value repo](https://github.com/solana-labs/solana-program-library/tree/master/libraries/type-length-value). diff --git a/interface/src/error.rs b/interface/src/error.rs new file mode 100644 index 0000000..5ccdc94 --- /dev/null +++ b/interface/src/error.rs @@ -0,0 +1,17 @@ +//! Interface error types + +use spl_program_error::*; + +/// Errors that may be returned by the interface. +#[spl_program_error] +pub enum TokenMetadataError { + /// Incorrect account provided + #[error("Incorrect account provided")] + IncorrectAccount, + /// Mint has no mint authority + #[error("Mint has no mint authority")] + MintHasNoMintAuthority, + /// Incorrect mint authority has signed the instruction + #[error("Incorrect mint authority has signed the instruction")] + IncorrectMintAuthority, +} diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs new file mode 100644 index 0000000..862056f --- /dev/null +++ b/interface/src/instruction.rs @@ -0,0 +1,427 @@ +//! Instruction types + +use { + crate::state::OptionalNonZeroPubkey, + borsh::{BorshDeserialize, BorshSerialize}, + solana_program::{ + instruction::{AccountMeta, Instruction}, + program_error::ProgramError, + pubkey::Pubkey, + }, + spl_type_length_value::discriminator::{Discriminator, TlvDiscriminator}, +}; + +/// Fields in the metadata account +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +pub enum Field { + /// The name field, corresponding to `TokenMetadata.name` + Name, + /// The symbol field, corresponding to `TokenMetadata.symbol` + Symbol, + /// The uri field, corresponding to `TokenMetadata.uri` + Uri, + /// A user field, whose key is given by the associated string + Key(String), +} + +/// Initialization instruction data +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +pub struct Initialize { + /// Longer name of the token + pub name: String, + /// Shortened symbol of the token + pub symbol: String, + /// URI pointing to more metadata (image, video, etc.) + pub uri: String, +} +impl TlvDiscriminator for Initialize { + /// Please use this discriminator in your program when matching + const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(INITIALIZE_DISCRIMINATOR); +} +/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:initialize_account"])` +const INITIALIZE_DISCRIMINATOR: [u8; Discriminator::LENGTH] = [210, 225, 30, 162, 88, 184, 77, 141]; +// annoying, but needed to perform a match on the value +const INITIALIZE_DISCRIMINATOR_SLICE: &[u8] = &INITIALIZE_DISCRIMINATOR; + +/// Update field instruction data +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +pub struct UpdateField { + /// Field to update in the metadata + pub field: Field, + /// Value to write for the field + pub value: String, +} +impl TlvDiscriminator for UpdateField { + /// Please use this discriminator in your program when matching + const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(UPDATE_FIELD_DISCRIMINATOR); +} +/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:updating_field"])` +const UPDATE_FIELD_DISCRIMINATOR: [u8; Discriminator::LENGTH] = + [221, 233, 49, 45, 181, 202, 220, 200]; +// annoying, but needed to perform a match on the value +const UPDATE_FIELD_DISCRIMINATOR_SLICE: &[u8] = &UPDATE_FIELD_DISCRIMINATOR; + +/// Remove key instruction data +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +pub struct RemoveKey { + /// Key to remove in the additional metadata portion + pub key: String, +} +impl TlvDiscriminator for RemoveKey { + /// Please use this discriminator in your program when matching + const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(REMOVE_KEY_DISCRIMINATOR); +} +/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:remove_key_ix"])` +const REMOVE_KEY_DISCRIMINATOR: [u8; Discriminator::LENGTH] = [234, 18, 32, 56, 89, 141, 37, 181]; +// annoying, but needed to perform a match on the value +const REMOVE_KEY_DISCRIMINATOR_SLICE: &[u8] = &REMOVE_KEY_DISCRIMINATOR; + +/// Update authority instruction data +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +pub struct UpdateAuthority { + /// New authority for the token metadata, or unset if `None` + pub new_authority: OptionalNonZeroPubkey, +} +impl TlvDiscriminator for UpdateAuthority { + /// Please use this discriminator in your program when matching + const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(UPDATE_AUTHORITY_DISCRIMINATOR); +} +/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:update_the_authority"])` +const UPDATE_AUTHORITY_DISCRIMINATOR: [u8; Discriminator::LENGTH] = + [215, 228, 166, 228, 84, 100, 86, 123]; +// annoying, but needed to perform a match on the value +const UPDATE_AUTHORITY_DISCRIMINATOR_SLICE: &[u8] = &UPDATE_AUTHORITY_DISCRIMINATOR; + +/// Instruction data for Emit +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +pub struct Emit { + /// Start of range of data to emit + pub start: Option, + /// End of range of data to emit + pub end: Option, +} +impl TlvDiscriminator for Emit { + /// Please use this discriminator in your program when matching + const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(EMIT_DISCRIMINATOR); +} +/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:emitter"])` +const EMIT_DISCRIMINATOR: [u8; Discriminator::LENGTH] = [250, 166, 180, 250, 13, 12, 184, 70]; +// annoying, but needed to perform a match on the value +const EMIT_DISCRIMINATOR_SLICE: &[u8] = &EMIT_DISCRIMINATOR; + +/// All instructions that must be implemented in the token-metadata interface +#[derive(Clone, Debug, PartialEq)] +pub enum TokenMetadataInstruction { + /// Initializes a TLV entry with the basic token-metadata fields. + /// + /// Assumes that the provided mint is an SPL token mint, that the metadata + /// account is allocated and assigned to the program, and that the metadata + /// account has enough lamports to cover the rent-exempt reserve. + /// + /// Accounts expected by this instruction: + /// + /// 0. `[w]` Metadata + /// 1. `[]` Update authority + /// 2. `[]` Mint + /// 3. `[s]` Mint authority + /// + /// Data: `Initialize` data, name / symbol / uri strings + Initialize(Initialize), + + /// Updates a field in a token-metadata account. + /// + /// The field can be one of the required fields (name, symbol, URI), or a + /// totally new field denoted by a "key" string. + /// + /// By the end of the instruction, the metadata account must be properly + /// resized based on the new size of the TLV entry. + /// * If the new size is larger, the program must first reallocate to avoid + /// overwriting other TLV entries. + /// * If the new size is smaller, the program must reallocate at the end + /// so that it's possible to iterate over TLV entries + /// + /// Accounts expected by this instruction: + /// + /// 0. `[w]` Metadata account + /// 1. `[s]` Update authority + /// + /// Data: `UpdateField` data, specifying the new field and value. If the field + /// does not exist on the account, it will be created. If the field does exist, + /// it will be overwritten. + UpdateField(UpdateField), + + /// Removes a key-value pair in a token-metadata account. + /// + /// This only applies to additional fields, and not the base name / symbol / + /// URI fields. + /// + /// By the end of the instruction, the metadata account must be properly + /// resized at the end based on the new size of the TLV entry. + /// + /// Accounts expected by this instruction: + /// + /// 0. `[w]` Metadata account + /// 1. `[s]` Update authority + /// + /// Data: the string key to remove. Errors if the key is not present + RemoveKey(RemoveKey), + + /// Updates the token-metadata authority + /// + /// Accounts expected by this instruction: + /// + /// 0. `[w]` Metadata account + /// 1. `[s]` Current update authority + /// 2. `[]` New update authority + /// + /// Data: the new authority. Can be unset using a `None` value + UpdateAuthority(UpdateAuthority), + + /// Emits the token-metadata as return data + /// + /// The format of the data emitted follows exactly the `TokenMetadata` + /// struct, but it's possible + /// + /// Accounts expected by this instruction: + /// + /// 0. `[]` Metadata account + Emit(Emit), +} +impl TokenMetadataInstruction { + /// Unpacks a byte buffer into a [TokenMetadataInstruction](enum.TokenMetadataInstruction.html). + pub fn unpack(input: &[u8]) -> Result { + if input.len() < Discriminator::LENGTH { + return Err(ProgramError::InvalidInstructionData); + } + let (discriminator, rest) = input.split_at(Discriminator::LENGTH); + Ok(match discriminator { + INITIALIZE_DISCRIMINATOR_SLICE => { + let data = Initialize::try_from_slice(rest)?; + Self::Initialize(data) + } + UPDATE_FIELD_DISCRIMINATOR_SLICE => { + let data = UpdateField::try_from_slice(rest)?; + Self::UpdateField(data) + } + REMOVE_KEY_DISCRIMINATOR_SLICE => { + let data = RemoveKey::try_from_slice(rest)?; + Self::RemoveKey(data) + } + UPDATE_AUTHORITY_DISCRIMINATOR_SLICE => { + let data = UpdateAuthority::try_from_slice(rest)?; + Self::UpdateAuthority(data) + } + EMIT_DISCRIMINATOR_SLICE => { + let data = Emit::try_from_slice(rest)?; + Self::Emit(data) + } + _ => return Err(ProgramError::InvalidInstructionData), + }) + } + + /// Packs a [TokenInstruction](enum.TokenInstruction.html) into a byte buffer. + pub fn pack(&self) -> Vec { + let mut buf = vec![]; + match self { + Self::Initialize(data) => { + buf.extend_from_slice(INITIALIZE_DISCRIMINATOR_SLICE); + buf.append(&mut data.try_to_vec().unwrap()); + } + Self::UpdateField(data) => { + buf.extend_from_slice(UPDATE_FIELD_DISCRIMINATOR_SLICE); + buf.append(&mut data.try_to_vec().unwrap()); + } + Self::RemoveKey(data) => { + buf.extend_from_slice(REMOVE_KEY_DISCRIMINATOR_SLICE); + buf.append(&mut data.try_to_vec().unwrap()); + } + Self::UpdateAuthority(data) => { + buf.extend_from_slice(UPDATE_AUTHORITY_DISCRIMINATOR_SLICE); + buf.append(&mut data.try_to_vec().unwrap()); + } + Self::Emit(data) => { + buf.extend_from_slice(EMIT_DISCRIMINATOR_SLICE); + buf.append(&mut data.try_to_vec().unwrap()); + } + }; + buf + } +} + +/// Creates an `Initialize` instruction +#[allow(clippy::too_many_arguments)] +pub fn initialize( + program_id: &Pubkey, + metadata: &Pubkey, + update_authority: &Pubkey, + mint: &Pubkey, + mint_authority: &Pubkey, + name: String, + symbol: String, + uri: String, +) -> Instruction { + let data = TokenMetadataInstruction::Initialize(Initialize { name, symbol, uri }); + Instruction { + program_id: *program_id, + accounts: vec![ + AccountMeta::new(*metadata, false), + AccountMeta::new_readonly(*update_authority, false), + AccountMeta::new_readonly(*mint, false), + AccountMeta::new_readonly(*mint_authority, true), + ], + data: data.pack(), + } +} + +/// Creates an `UpdateField` instruction +pub fn update_field( + program_id: &Pubkey, + metadata: &Pubkey, + update_authority: &Pubkey, + field: Field, + value: String, +) -> Instruction { + let data = TokenMetadataInstruction::UpdateField(UpdateField { field, value }); + Instruction { + program_id: *program_id, + accounts: vec![ + AccountMeta::new(*metadata, false), + AccountMeta::new_readonly(*update_authority, true), + ], + data: data.pack(), + } +} + +/// Creates a `RemoveKey` instruction +pub fn remove_key( + program_id: &Pubkey, + metadata: &Pubkey, + update_authority: &Pubkey, + key: String, +) -> Instruction { + let data = TokenMetadataInstruction::RemoveKey(RemoveKey { key }); + Instruction { + program_id: *program_id, + accounts: vec![ + AccountMeta::new(*metadata, false), + AccountMeta::new_readonly(*update_authority, true), + ], + data: data.pack(), + } +} + +/// Creates an `UpdateAuthority` instruction +pub fn update_authority( + program_id: &Pubkey, + metadata: &Pubkey, + current_authority: &Pubkey, + new_authority: OptionalNonZeroPubkey, +) -> Instruction { + let data = TokenMetadataInstruction::UpdateAuthority(UpdateAuthority { new_authority }); + Instruction { + program_id: *program_id, + accounts: vec![ + AccountMeta::new(*metadata, false), + AccountMeta::new_readonly(*current_authority, true), + ], + data: data.pack(), + } +} + +/// Creates an `Emit` instruction +pub fn emit( + program_id: &Pubkey, + metadata: &Pubkey, + start: Option, + end: Option, +) -> Instruction { + let data = TokenMetadataInstruction::Emit(Emit { start, end }); + Instruction { + program_id: *program_id, + accounts: vec![AccountMeta::new_readonly(*metadata, false)], + data: data.pack(), + } +} + +#[cfg(test)] +mod test { + use {super::*, crate::NAMESPACE, solana_program::hash}; + + fn check_pack_unpack( + instruction: TokenMetadataInstruction, + discriminator: &[u8], + data: T, + ) { + let mut expect = vec![]; + expect.extend_from_slice(discriminator.as_ref()); + expect.append(&mut data.try_to_vec().unwrap()); + let packed = instruction.pack(); + assert_eq!(packed, expect); + let unpacked = TokenMetadataInstruction::unpack(&expect).unwrap(); + assert_eq!(unpacked, instruction); + } + + #[test] + fn initialize_pack() { + let name = "My test token"; + let symbol = "TEST"; + let uri = "http://test.test"; + let data = Initialize { + name: name.to_string(), + symbol: symbol.to_string(), + uri: uri.to_string(), + }; + let check = TokenMetadataInstruction::Initialize(data.clone()); + let preimage = hash::hashv(&[format!("{NAMESPACE}:initialize_account").as_bytes()]); + let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + check_pack_unpack(check, discriminator, data); + } + + #[test] + fn update_field_pack() { + let field = "MyTestField"; + let value = "http://test.uri"; + let data = UpdateField { + field: Field::Key(field.to_string()), + value: value.to_string(), + }; + let check = TokenMetadataInstruction::UpdateField(data.clone()); + let preimage = hash::hashv(&[format!("{NAMESPACE}:updating_field").as_bytes()]); + let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + check_pack_unpack(check, discriminator, data); + } + + #[test] + fn remove_key_pack() { + let data = RemoveKey { + key: "MyTestField".to_string(), + }; + let check = TokenMetadataInstruction::RemoveKey(data.clone()); + let preimage = hash::hashv(&[format!("{NAMESPACE}:remove_key_ix").as_bytes()]); + let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + check_pack_unpack(check, discriminator, data); + } + + #[test] + fn update_authority_pack() { + let data = UpdateAuthority { + new_authority: OptionalNonZeroPubkey::default(), + }; + let check = TokenMetadataInstruction::UpdateAuthority(data.clone()); + let preimage = hash::hashv(&[format!("{NAMESPACE}:update_the_authority").as_bytes()]); + let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + check_pack_unpack(check, discriminator, data); + } + + #[test] + fn emit_pack() { + let data = Emit { + start: None, + end: Some(10), + }; + let check = TokenMetadataInstruction::Emit(data.clone()); + let preimage = hash::hashv(&[format!("{NAMESPACE}:emitter").as_bytes()]); + let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + check_pack_unpack(check, discriminator, data); + } +} diff --git a/interface/src/lib.rs b/interface/src/lib.rs new file mode 100644 index 0000000..c3d92a1 --- /dev/null +++ b/interface/src/lib.rs @@ -0,0 +1,15 @@ +//! Crate defining an interface for token-metadata + +#![allow(clippy::integer_arithmetic)] +#![deny(missing_docs)] +#![cfg_attr(not(test), forbid(unsafe_code))] + +pub mod error; +pub mod instruction; +pub mod state; + +// Export current sdk types for downstream users building with a different sdk version +pub use solana_program; + +/// Namespace for all programs implementing token-metadata +pub const NAMESPACE: &str = "spl_token_metadata_interface"; diff --git a/interface/src/state.rs b/interface/src/state.rs new file mode 100644 index 0000000..07e0396 --- /dev/null +++ b/interface/src/state.rs @@ -0,0 +1,77 @@ +//! Token-metadata interface state types +use { + borsh::{BorshDeserialize, BorshSchema, BorshSerialize}, + solana_program::{program_error::ProgramError, pubkey::Pubkey}, + spl_type_length_value::discriminator::{Discriminator, TlvDiscriminator}, + std::convert::TryFrom, +}; + +/// A Pubkey that encodes `None` as all `0`, meant to be usable as a Pod type, +/// similar to all NonZero* number types from the bytemuck library. +#[derive(Clone, Debug, Default, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] +#[repr(transparent)] +pub struct OptionalNonZeroPubkey(Pubkey); +impl TryFrom> for OptionalNonZeroPubkey { + type Error = ProgramError; + fn try_from(p: Option) -> Result { + match p { + None => Ok(Self(Pubkey::default())), + Some(pubkey) => { + if pubkey == Pubkey::default() { + Err(ProgramError::InvalidArgument) + } else { + Ok(Self(pubkey)) + } + } + } + } +} +impl From for Option { + fn from(p: OptionalNonZeroPubkey) -> Self { + if p.0 == Pubkey::default() { + None + } else { + Some(p.0) + } + } +} + +/// Data struct for all token-metadata, stored in a TLV entry +/// +/// The type and length parts must be handled by the TLV library, and not stored +/// as part of this struct. +#[derive(Clone, Debug, Default, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] +pub struct TokenMetadata { + /// The authority that can sign to update the metadata + pub update_authority: OptionalNonZeroPubkey, + /// The associated mint, used to counter spoofing to be sure that metadata + /// belongs to a particular mint + pub mint: Pubkey, + /// The longer name of the token + pub name: String, + /// The shortened symbol for the token + pub symbol: String, + /// The URI pointing to richer metadata + pub uri: String, + /// Any additional metadata about the token as key-value pairs. The program + /// must avoid storing the same key twice. + pub additional_metadata: Vec<(String, String)>, +} +impl TlvDiscriminator for TokenMetadata { + /// Please use this discriminator in your program when matching + const TLV_DISCRIMINATOR: Discriminator = + Discriminator::new([112, 132, 90, 90, 11, 88, 157, 87]); +} + +#[cfg(test)] +mod tests { + use {super::*, crate::NAMESPACE, solana_program::hash}; + + #[test] + fn discriminator() { + let preimage = hash::hashv(&[format!("{NAMESPACE}:token_metadata").as_bytes()]); + let discriminator = + Discriminator::try_from(&preimage.as_ref()[..Discriminator::LENGTH]).unwrap(); + assert_eq!(TokenMetadata::TLV_DISCRIMINATOR, discriminator); + } +} From 6ef834a81a03536909307c66392d99203ad13881 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Tue, 13 Jun 2023 01:46:01 +0200 Subject: [PATCH 002/473] token-metadata: Finish that comment! (#4524) --- interface/src/instruction.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index 862056f..1aaacce 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -180,7 +180,12 @@ pub enum TokenMetadataInstruction { /// Emits the token-metadata as return data /// /// The format of the data emitted follows exactly the `TokenMetadata` - /// struct, but it's possible + /// struct, but it's possible that the account data is stored in another + /// format by the program. + /// + /// With this instruction, a program that implements the token-metadata + /// interface can return `TokenMetadata` without adhering to the specific + /// byte layout of the `TokenMetadata` struct in any accounts. /// /// Accounts expected by this instruction: /// From 65423e7fcfdd5d52c4041cfa695ebb8b99422932 Mon Sep 17 00:00:00 2001 From: Joe C Date: Fri, 16 Jun 2023 14:04:37 -0400 Subject: [PATCH 003/473] Fix downstream dependencies for `spl-program-error` (#4555) * fixed downstream * drop deps from token metadata interface --- interface/Cargo.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index a777e2c..23e5e12 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -9,12 +9,9 @@ edition = "2021" [dependencies] borsh = "0.9" -num-derive = "0.3.3" -num-traits = "0.2" solana-program = "1.14.12" spl-program-error = { version = "0.1.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.1.0" , path = "../../libraries/type-length-value" } -thiserror = "1.0" [lib] crate-type = ["cdylib", "lib"] From d4d8842cccd0d8e76b6fba1f405e5037acc39a65 Mon Sep 17 00:00:00 2001 From: Joe C Date: Thu, 22 Jun 2023 12:29:19 -0400 Subject: [PATCH 004/473] `spl discriminator` crate (#4556) * spl discriminator * fixed tlv impls for spec * resolved some comments (naming conventions) * remove TLV discrims * new_with_hash_input fn * HasDiscriminator * added len function * SplDiscriminates * fix dependency issues * merge fix lockfile * bugfix on fat-finger in tlv libs * update ArrayDiscriminator * switch to SplDiscriminate * drop len() --- interface/Cargo.toml | 1 + interface/src/instruction.rs | 93 +++++++++++------------------------- interface/src/state.rs | 13 ++--- 3 files changed, 36 insertions(+), 71 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 23e5e12..49c61d6 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -10,6 +10,7 @@ edition = "2021" [dependencies] borsh = "0.9" solana-program = "1.14.12" +spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.1.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.1.0" , path = "../../libraries/type-length-value" } diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index 1aaacce..506a740 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -8,7 +8,7 @@ use { program_error::ProgramError, pubkey::Pubkey, }, - spl_type_length_value::discriminator::{Discriminator, TlvDiscriminator}, + spl_discriminator::{discriminator::ArrayDiscriminator, SplDiscriminate}, }; /// Fields in the metadata account @@ -25,7 +25,8 @@ pub enum Field { } /// Initialization instruction data -#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] +#[discriminator_hash_input("spl_token_metadata_interface:initialize_account")] pub struct Initialize { /// Longer name of the token pub name: String, @@ -34,80 +35,42 @@ pub struct Initialize { /// URI pointing to more metadata (image, video, etc.) pub uri: String, } -impl TlvDiscriminator for Initialize { - /// Please use this discriminator in your program when matching - const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(INITIALIZE_DISCRIMINATOR); -} -/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:initialize_account"])` -const INITIALIZE_DISCRIMINATOR: [u8; Discriminator::LENGTH] = [210, 225, 30, 162, 88, 184, 77, 141]; -// annoying, but needed to perform a match on the value -const INITIALIZE_DISCRIMINATOR_SLICE: &[u8] = &INITIALIZE_DISCRIMINATOR; /// Update field instruction data -#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] +#[discriminator_hash_input("spl_token_metadata_interface:updating_field")] pub struct UpdateField { /// Field to update in the metadata pub field: Field, /// Value to write for the field pub value: String, } -impl TlvDiscriminator for UpdateField { - /// Please use this discriminator in your program when matching - const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(UPDATE_FIELD_DISCRIMINATOR); -} -/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:updating_field"])` -const UPDATE_FIELD_DISCRIMINATOR: [u8; Discriminator::LENGTH] = - [221, 233, 49, 45, 181, 202, 220, 200]; -// annoying, but needed to perform a match on the value -const UPDATE_FIELD_DISCRIMINATOR_SLICE: &[u8] = &UPDATE_FIELD_DISCRIMINATOR; /// Remove key instruction data -#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] +#[discriminator_hash_input("spl_token_metadata_interface:remove_key_ix")] pub struct RemoveKey { /// Key to remove in the additional metadata portion pub key: String, } -impl TlvDiscriminator for RemoveKey { - /// Please use this discriminator in your program when matching - const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(REMOVE_KEY_DISCRIMINATOR); -} -/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:remove_key_ix"])` -const REMOVE_KEY_DISCRIMINATOR: [u8; Discriminator::LENGTH] = [234, 18, 32, 56, 89, 141, 37, 181]; -// annoying, but needed to perform a match on the value -const REMOVE_KEY_DISCRIMINATOR_SLICE: &[u8] = &REMOVE_KEY_DISCRIMINATOR; /// Update authority instruction data -#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] +#[discriminator_hash_input("spl_token_metadata_interface:update_the_authority")] pub struct UpdateAuthority { /// New authority for the token metadata, or unset if `None` pub new_authority: OptionalNonZeroPubkey, } -impl TlvDiscriminator for UpdateAuthority { - /// Please use this discriminator in your program when matching - const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(UPDATE_AUTHORITY_DISCRIMINATOR); -} -/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:update_the_authority"])` -const UPDATE_AUTHORITY_DISCRIMINATOR: [u8; Discriminator::LENGTH] = - [215, 228, 166, 228, 84, 100, 86, 123]; -// annoying, but needed to perform a match on the value -const UPDATE_AUTHORITY_DISCRIMINATOR_SLICE: &[u8] = &UPDATE_AUTHORITY_DISCRIMINATOR; /// Instruction data for Emit -#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] +#[discriminator_hash_input("spl_token_metadata_interface:emitter")] pub struct Emit { /// Start of range of data to emit pub start: Option, /// End of range of data to emit pub end: Option, } -impl TlvDiscriminator for Emit { - /// Please use this discriminator in your program when matching - const TLV_DISCRIMINATOR: Discriminator = Discriminator::new(EMIT_DISCRIMINATOR); -} -/// First 8 bytes of `hash::hashv(&["spl_token_metadata_interface:emitter"])` -const EMIT_DISCRIMINATOR: [u8; Discriminator::LENGTH] = [250, 166, 180, 250, 13, 12, 184, 70]; -// annoying, but needed to perform a match on the value -const EMIT_DISCRIMINATOR_SLICE: &[u8] = &EMIT_DISCRIMINATOR; /// All instructions that must be implemented in the token-metadata interface #[derive(Clone, Debug, PartialEq)] @@ -195,28 +158,28 @@ pub enum TokenMetadataInstruction { impl TokenMetadataInstruction { /// Unpacks a byte buffer into a [TokenMetadataInstruction](enum.TokenMetadataInstruction.html). pub fn unpack(input: &[u8]) -> Result { - if input.len() < Discriminator::LENGTH { + if input.len() < ArrayDiscriminator::LENGTH { return Err(ProgramError::InvalidInstructionData); } - let (discriminator, rest) = input.split_at(Discriminator::LENGTH); + let (discriminator, rest) = input.split_at(ArrayDiscriminator::LENGTH); Ok(match discriminator { - INITIALIZE_DISCRIMINATOR_SLICE => { + Initialize::SPL_DISCRIMINATOR_SLICE => { let data = Initialize::try_from_slice(rest)?; Self::Initialize(data) } - UPDATE_FIELD_DISCRIMINATOR_SLICE => { + UpdateField::SPL_DISCRIMINATOR_SLICE => { let data = UpdateField::try_from_slice(rest)?; Self::UpdateField(data) } - REMOVE_KEY_DISCRIMINATOR_SLICE => { + RemoveKey::SPL_DISCRIMINATOR_SLICE => { let data = RemoveKey::try_from_slice(rest)?; Self::RemoveKey(data) } - UPDATE_AUTHORITY_DISCRIMINATOR_SLICE => { + UpdateAuthority::SPL_DISCRIMINATOR_SLICE => { let data = UpdateAuthority::try_from_slice(rest)?; Self::UpdateAuthority(data) } - EMIT_DISCRIMINATOR_SLICE => { + Emit::SPL_DISCRIMINATOR_SLICE => { let data = Emit::try_from_slice(rest)?; Self::Emit(data) } @@ -229,23 +192,23 @@ impl TokenMetadataInstruction { let mut buf = vec![]; match self { Self::Initialize(data) => { - buf.extend_from_slice(INITIALIZE_DISCRIMINATOR_SLICE); + buf.extend_from_slice(Initialize::SPL_DISCRIMINATOR_SLICE); buf.append(&mut data.try_to_vec().unwrap()); } Self::UpdateField(data) => { - buf.extend_from_slice(UPDATE_FIELD_DISCRIMINATOR_SLICE); + buf.extend_from_slice(UpdateField::SPL_DISCRIMINATOR_SLICE); buf.append(&mut data.try_to_vec().unwrap()); } Self::RemoveKey(data) => { - buf.extend_from_slice(REMOVE_KEY_DISCRIMINATOR_SLICE); + buf.extend_from_slice(RemoveKey::SPL_DISCRIMINATOR_SLICE); buf.append(&mut data.try_to_vec().unwrap()); } Self::UpdateAuthority(data) => { - buf.extend_from_slice(UPDATE_AUTHORITY_DISCRIMINATOR_SLICE); + buf.extend_from_slice(UpdateAuthority::SPL_DISCRIMINATOR_SLICE); buf.append(&mut data.try_to_vec().unwrap()); } Self::Emit(data) => { - buf.extend_from_slice(EMIT_DISCRIMINATOR_SLICE); + buf.extend_from_slice(Emit::SPL_DISCRIMINATOR_SLICE); buf.append(&mut data.try_to_vec().unwrap()); } }; @@ -378,7 +341,7 @@ mod test { }; let check = TokenMetadataInstruction::Initialize(data.clone()); let preimage = hash::hashv(&[format!("{NAMESPACE}:initialize_account").as_bytes()]); - let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } @@ -392,7 +355,7 @@ mod test { }; let check = TokenMetadataInstruction::UpdateField(data.clone()); let preimage = hash::hashv(&[format!("{NAMESPACE}:updating_field").as_bytes()]); - let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } @@ -403,7 +366,7 @@ mod test { }; let check = TokenMetadataInstruction::RemoveKey(data.clone()); let preimage = hash::hashv(&[format!("{NAMESPACE}:remove_key_ix").as_bytes()]); - let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } @@ -414,7 +377,7 @@ mod test { }; let check = TokenMetadataInstruction::UpdateAuthority(data.clone()); let preimage = hash::hashv(&[format!("{NAMESPACE}:update_the_authority").as_bytes()]); - let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } @@ -426,7 +389,7 @@ mod test { }; let check = TokenMetadataInstruction::Emit(data.clone()); let preimage = hash::hashv(&[format!("{NAMESPACE}:emitter").as_bytes()]); - let discriminator = &preimage.as_ref()[..Discriminator::LENGTH]; + let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } } diff --git a/interface/src/state.rs b/interface/src/state.rs index 07e0396..097cd18 100644 --- a/interface/src/state.rs +++ b/interface/src/state.rs @@ -1,8 +1,9 @@ //! Token-metadata interface state types + use { borsh::{BorshDeserialize, BorshSchema, BorshSerialize}, solana_program::{program_error::ProgramError, pubkey::Pubkey}, - spl_type_length_value::discriminator::{Discriminator, TlvDiscriminator}, + spl_discriminator::{ArrayDiscriminator, SplDiscriminate}, std::convert::TryFrom, }; @@ -57,10 +58,10 @@ pub struct TokenMetadata { /// must avoid storing the same key twice. pub additional_metadata: Vec<(String, String)>, } -impl TlvDiscriminator for TokenMetadata { +impl SplDiscriminate for TokenMetadata { /// Please use this discriminator in your program when matching - const TLV_DISCRIMINATOR: Discriminator = - Discriminator::new([112, 132, 90, 90, 11, 88, 157, 87]); + const SPL_DISCRIMINATOR: ArrayDiscriminator = + ArrayDiscriminator::new([112, 132, 90, 90, 11, 88, 157, 87]); } #[cfg(test)] @@ -71,7 +72,7 @@ mod tests { fn discriminator() { let preimage = hash::hashv(&[format!("{NAMESPACE}:token_metadata").as_bytes()]); let discriminator = - Discriminator::try_from(&preimage.as_ref()[..Discriminator::LENGTH]).unwrap(); - assert_eq!(TokenMetadata::TLV_DISCRIMINATOR, discriminator); + ArrayDiscriminator::try_from(&preimage.as_ref()[..ArrayDiscriminator::LENGTH]).unwrap(); + assert_eq!(TokenMetadata::SPL_DISCRIMINATOR, discriminator); } } From 9061992e6c337a8f8c24a448b9ade8ca2382c34c Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Fri, 23 Jun 2023 21:26:04 +0200 Subject: [PATCH 005/473] token-metadata: Implement example program (#4546) * token-metadata: Add example program * Implement UpdateField * Implement RemoveKey * Implement UpdateAuthority * Implement Emit * Move serialize helper to TLV * Add CI job * Remove re-export * Fix merge error --- interface/Cargo.toml | 2 +- interface/src/error.rs | 9 + interface/src/instruction.rs | 26 +-- interface/src/lib.rs | 2 + interface/src/state.rs | 153 ++++++++++++++++- program/Cargo.toml | 30 ++++ program/src/entrypoint.rs | 24 +++ program/src/lib.rs | 10 ++ program/src/processor.rs | 220 ++++++++++++++++++++++++ program/tests/emit.rs | 106 ++++++++++++ program/tests/initialize.rs | 271 ++++++++++++++++++++++++++++++ program/tests/program_test.rs | 167 ++++++++++++++++++ program/tests/remove_key.rs | 271 ++++++++++++++++++++++++++++++ program/tests/update_authority.rs | 265 +++++++++++++++++++++++++++++ program/tests/update_field.rs | 250 +++++++++++++++++++++++++++ 15 files changed, 1787 insertions(+), 19 deletions(-) create mode 100644 program/Cargo.toml create mode 100644 program/src/entrypoint.rs create mode 100644 program/src/lib.rs create mode 100644 program/src/processor.rs create mode 100644 program/tests/emit.rs create mode 100644 program/tests/initialize.rs create mode 100644 program/tests/program_test.rs create mode 100644 program/tests/remove_key.rs create mode 100644 program/tests/update_authority.rs create mode 100644 program/tests/update_field.rs diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 49c61d6..50074a9 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ borsh = "0.9" solana-program = "1.14.12" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.1.0" , path = "../../libraries/program-error" } -spl-type-length-value = { version = "0.1.0" , path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.1.0", features = ["borsh"], path = "../../libraries/type-length-value" } [lib] crate-type = ["cdylib", "lib"] diff --git a/interface/src/error.rs b/interface/src/error.rs index 5ccdc94..a0ebd0b 100644 --- a/interface/src/error.rs +++ b/interface/src/error.rs @@ -14,4 +14,13 @@ pub enum TokenMetadataError { /// Incorrect mint authority has signed the instruction #[error("Incorrect mint authority has signed the instruction")] IncorrectMintAuthority, + /// Incorrect metadata update authority has signed the instruction + #[error("Incorrect metadata update authority has signed the instruction")] + IncorrectUpdateAuthority, + /// Token metadata has no update authority + #[error("Token metadata has no update authority")] + ImmutableMetadata, + /// Key not found in metadata account + #[error("Key not found in metadata account")] + KeyNotFound, } diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index 506a740..10e5831 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -1,7 +1,7 @@ //! Instruction types use { - crate::state::OptionalNonZeroPubkey, + crate::state::{Field, OptionalNonZeroPubkey}, borsh::{BorshDeserialize, BorshSerialize}, solana_program::{ instruction::{AccountMeta, Instruction}, @@ -11,19 +11,6 @@ use { spl_discriminator::{discriminator::ArrayDiscriminator, SplDiscriminate}, }; -/// Fields in the metadata account -#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] -pub enum Field { - /// The name field, corresponding to `TokenMetadata.name` - Name, - /// The symbol field, corresponding to `TokenMetadata.symbol` - Symbol, - /// The uri field, corresponding to `TokenMetadata.uri` - Uri, - /// A user field, whose key is given by the associated string - Key(String), -} - /// Initialization instruction data #[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] #[discriminator_hash_input("spl_token_metadata_interface:initialize_account")] @@ -50,6 +37,9 @@ pub struct UpdateField { #[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] #[discriminator_hash_input("spl_token_metadata_interface:remove_key_ix")] pub struct RemoveKey { + /// If the idempotent flag is set to true, then the instruction will not + /// error if the key does not exist + pub idempotent: bool, /// Key to remove in the additional metadata portion pub key: String, } @@ -126,7 +116,8 @@ pub enum TokenMetadataInstruction { /// 0. `[w]` Metadata account /// 1. `[s]` Update authority /// - /// Data: the string key to remove. Errors if the key is not present + /// Data: the string key to remove. If the idempotent flag is set to false, + /// returns an error if the key is not present RemoveKey(RemoveKey), /// Updates the token-metadata authority @@ -135,7 +126,6 @@ pub enum TokenMetadataInstruction { /// /// 0. `[w]` Metadata account /// 1. `[s]` Current update authority - /// 2. `[]` New update authority /// /// Data: the new authority. Can be unset using a `None` value UpdateAuthority(UpdateAuthority), @@ -266,8 +256,9 @@ pub fn remove_key( metadata: &Pubkey, update_authority: &Pubkey, key: String, + idempotent: bool, ) -> Instruction { - let data = TokenMetadataInstruction::RemoveKey(RemoveKey { key }); + let data = TokenMetadataInstruction::RemoveKey(RemoveKey { key, idempotent }); Instruction { program_id: *program_id, accounts: vec![ @@ -363,6 +354,7 @@ mod test { fn remove_key_pack() { let data = RemoveKey { key: "MyTestField".to_string(), + idempotent: true, }; let check = TokenMetadataInstruction::RemoveKey(data.clone()); let preimage = hash::hashv(&[format!("{NAMESPACE}:remove_key_ix").as_bytes()]); diff --git a/interface/src/lib.rs b/interface/src/lib.rs index c3d92a1..b668ba0 100644 --- a/interface/src/lib.rs +++ b/interface/src/lib.rs @@ -10,6 +10,8 @@ pub mod state; // Export current sdk types for downstream users building with a different sdk version pub use solana_program; +// Export borsh for downstream users +pub use borsh; /// Namespace for all programs implementing token-metadata pub const NAMESPACE: &str = "spl_token_metadata_interface"; diff --git a/interface/src/state.rs b/interface/src/state.rs index 097cd18..24289bc 100644 --- a/interface/src/state.rs +++ b/interface/src/state.rs @@ -2,8 +2,9 @@ use { borsh::{BorshDeserialize, BorshSchema, BorshSerialize}, - solana_program::{program_error::ProgramError, pubkey::Pubkey}, + solana_program::{borsh::get_instance_packed_len, program_error::ProgramError, pubkey::Pubkey}, spl_discriminator::{ArrayDiscriminator, SplDiscriminate}, + spl_type_length_value::state::{TlvState, TlvStateBorrowed}, std::convert::TryFrom, }; @@ -63,6 +64,72 @@ impl SplDiscriminate for TokenMetadata { const SPL_DISCRIMINATOR: ArrayDiscriminator = ArrayDiscriminator::new([112, 132, 90, 90, 11, 88, 157, 87]); } +impl TokenMetadata { + /// Gives the total size of this struct as a TLV entry in an account + pub fn tlv_size_of(&self) -> Result { + TlvStateBorrowed::get_base_len() + .checked_add(get_instance_packed_len(self)?) + .ok_or(ProgramError::InvalidAccountData) + } + + /// Updates a field in the metadata struct + pub fn update(&mut self, field: Field, value: String) { + match field { + Field::Name => self.name = value, + Field::Symbol => self.symbol = value, + Field::Uri => self.uri = value, + Field::Key(key) => self.set_key_value(key, value), + } + } + + /// Sets a key-value pair in the additional metadata + /// + /// If the key is already present, overwrites the existing entry. Otherwise, + /// adds it to the end. + pub fn set_key_value(&mut self, new_key: String, new_value: String) { + for (key, value) in self.additional_metadata.iter_mut() { + if *key == new_key { + value.replace_range(.., &new_value); + return; + } + } + self.additional_metadata.push((new_key, new_value)); + } + + /// Removes the key-value pair given by the provided key. Returns true if + /// the key was found. + pub fn remove_key(&mut self, key: &str) -> bool { + let mut found_key = false; + self.additional_metadata.retain(|x| { + let should_retain = x.0 != key; + if !should_retain { + found_key = true; + } + should_retain + }); + found_key + } + + /// Get the slice corresponding to the given start and end range + pub fn get_slice(data: &[u8], start: Option, end: Option) -> Option<&[u8]> { + let start = start.unwrap_or(0) as usize; + let end = end.map(|x| x as usize).unwrap_or(data.len()); + data.get(start..end) + } +} + +/// Fields in the metadata account, used for updating +#[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] +pub enum Field { + /// The name field, corresponding to `TokenMetadata.name` + Name, + /// The symbol field, corresponding to `TokenMetadata.symbol` + Symbol, + /// The uri field, corresponding to `TokenMetadata.uri` + Uri, + /// A user field, whose key is given by the associated string + Key(String), +} #[cfg(test)] mod tests { @@ -75,4 +142,88 @@ mod tests { ArrayDiscriminator::try_from(&preimage.as_ref()[..ArrayDiscriminator::LENGTH]).unwrap(); assert_eq!(TokenMetadata::SPL_DISCRIMINATOR, discriminator); } + + #[test] + fn update() { + let name = "name".to_string(); + let symbol = "symbol".to_string(); + let uri = "uri".to_string(); + let mut token_metadata = TokenMetadata { + name, + symbol, + uri, + ..Default::default() + }; + + // updating base fields + let new_name = "new_name".to_string(); + token_metadata.update(Field::Name, new_name.clone()); + assert_eq!(token_metadata.name, new_name); + + let new_symbol = "new_symbol".to_string(); + token_metadata.update(Field::Symbol, new_symbol.clone()); + assert_eq!(token_metadata.symbol, new_symbol); + + let new_uri = "new_uri".to_string(); + token_metadata.update(Field::Uri, new_uri.clone()); + assert_eq!(token_metadata.uri, new_uri); + + // add new key-value pairs + let key1 = "key1".to_string(); + let value1 = "value1".to_string(); + token_metadata.update(Field::Key(key1.clone()), value1.clone()); + assert_eq!(token_metadata.additional_metadata.len(), 1); + assert_eq!( + token_metadata.additional_metadata[0], + (key1.clone(), value1.clone()) + ); + + let key2 = "key2".to_string(); + let value2 = "value2".to_string(); + token_metadata.update(Field::Key(key2.clone()), value2.clone()); + assert_eq!(token_metadata.additional_metadata.len(), 2); + assert_eq!( + token_metadata.additional_metadata[0], + (key1.clone(), value1) + ); + assert_eq!( + token_metadata.additional_metadata[1], + (key2.clone(), value2.clone()) + ); + + // update first key, see that order is preserved + let new_value1 = "new_value1".to_string(); + token_metadata.update(Field::Key(key1.clone()), new_value1.clone()); + assert_eq!(token_metadata.additional_metadata.len(), 2); + assert_eq!(token_metadata.additional_metadata[0], (key1, new_value1)); + assert_eq!(token_metadata.additional_metadata[1], (key2, value2)); + } + + #[test] + fn remove_key() { + let name = "name".to_string(); + let symbol = "symbol".to_string(); + let uri = "uri".to_string(); + let mut token_metadata = TokenMetadata { + name, + symbol, + uri, + ..Default::default() + }; + + // add new key-value pair + let key = "key".to_string(); + let value = "value".to_string(); + token_metadata.update(Field::Key(key.clone()), value.clone()); + assert_eq!(token_metadata.additional_metadata.len(), 1); + assert_eq!(token_metadata.additional_metadata[0], (key.clone(), value)); + + // remove it + assert!(token_metadata.remove_key(&key)); + assert_eq!(token_metadata.additional_metadata.len(), 0); + + // remove it again, returns false + assert!(!token_metadata.remove_key(&key)); + assert_eq!(token_metadata.additional_metadata.len(), 0); + } } diff --git a/program/Cargo.toml b/program/Cargo.toml new file mode 100644 index 0000000..9b9a1f1 --- /dev/null +++ b/program/Cargo.toml @@ -0,0 +1,30 @@ +[package] +name = "spl-token-metadata-example" +version = "0.1.0" +description = "Solana Program Library Token Metadata Example Program" +authors = ["Solana Labs Maintainers "] +repository = "https://github.com/solana-labs/solana-program-library" +license = "Apache-2.0" +edition = "2021" + +[features] +no-entrypoint = [] +test-sbf = [] + +[dependencies] +solana-program = "1.14.12" +spl-type-length-value = { version = "0.1.0" , path = "../../libraries/type-length-value" } +spl-token-2022 = { version = "0.6.0", path = "../../token/program-2022" } +spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } + +[dev-dependencies] +solana-program-test = "1.14.12" +solana-sdk = "1.14.12" +spl-token-client = { version = "0.5", path = "../../token/client" } +test-case = "3.1" + +[lib] +crate-type = ["cdylib", "lib"] + +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"] diff --git a/program/src/entrypoint.rs b/program/src/entrypoint.rs new file mode 100644 index 0000000..9104ee3 --- /dev/null +++ b/program/src/entrypoint.rs @@ -0,0 +1,24 @@ +//! Program entrypoint + +use { + crate::processor, + solana_program::{ + account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, + program_error::PrintProgramError, pubkey::Pubkey, + }, + spl_token_metadata_interface::error::TokenMetadataError, +}; + +entrypoint!(process_instruction); +fn process_instruction( + program_id: &Pubkey, + accounts: &[AccountInfo], + instruction_data: &[u8], +) -> ProgramResult { + if let Err(error) = processor::process(program_id, accounts, instruction_data) { + // catch the error so we can print it + error.print::(); + return Err(error); + } + Ok(()) +} diff --git a/program/src/lib.rs b/program/src/lib.rs new file mode 100644 index 0000000..e027144 --- /dev/null +++ b/program/src/lib.rs @@ -0,0 +1,10 @@ +//! Crate defining an example program for storing SPL token metadata + +#![allow(clippy::integer_arithmetic)] +#![deny(missing_docs)] +#![cfg_attr(not(test), forbid(unsafe_code))] + +pub mod processor; + +#[cfg(not(feature = "no-entrypoint"))] +mod entrypoint; diff --git a/program/src/processor.rs b/program/src/processor.rs new file mode 100644 index 0000000..b770761 --- /dev/null +++ b/program/src/processor.rs @@ -0,0 +1,220 @@ +//! Program state processor + +use { + solana_program::{ + account_info::{next_account_info, AccountInfo}, + borsh::get_instance_packed_len, + entrypoint::ProgramResult, + msg, + program::set_return_data, + program_error::ProgramError, + program_option::COption, + pubkey::Pubkey, + }, + spl_token_2022::{extension::StateWithExtensions, state::Mint}, + spl_token_metadata_interface::{ + error::TokenMetadataError, + instruction::{ + Emit, Initialize, RemoveKey, TokenMetadataInstruction, UpdateAuthority, UpdateField, + }, + state::{OptionalNonZeroPubkey, TokenMetadata}, + }, + spl_type_length_value::state::{ + realloc_and_borsh_serialize, TlvState, TlvStateBorrowed, TlvStateMut, + }, +}; + +fn check_update_authority( + update_authority_info: &AccountInfo, + expected_update_authority: &OptionalNonZeroPubkey, +) -> Result<(), ProgramError> { + if !update_authority_info.is_signer { + return Err(ProgramError::MissingRequiredSignature); + } + let update_authority = Option::::from(expected_update_authority.clone()) + .ok_or(TokenMetadataError::ImmutableMetadata)?; + if update_authority != *update_authority_info.key { + return Err(TokenMetadataError::IncorrectUpdateAuthority.into()); + } + Ok(()) +} + +/// Processes a [Initialize](enum.TokenMetadataInstruction.html) instruction. +pub fn process_initialize( + _program_id: &Pubkey, + accounts: &[AccountInfo], + data: Initialize, +) -> ProgramResult { + let account_info_iter = &mut accounts.iter(); + + let metadata_info = next_account_info(account_info_iter)?; + let update_authority_info = next_account_info(account_info_iter)?; + let mint_info = next_account_info(account_info_iter)?; + let mint_authority_info = next_account_info(account_info_iter)?; + + // scope the mint authority check, in case the mint is in the same account! + { + // IMPORTANT: this example metadata program is designed to work with any + // program that implements the SPL token interface, so there is no + // ownership check on the mint account. + let mint_data = mint_info.try_borrow_data()?; + let mint = StateWithExtensions::::unpack(&mint_data)?; + + if !mint_authority_info.is_signer { + return Err(ProgramError::MissingRequiredSignature); + } + if mint.base.mint_authority.as_ref() != COption::Some(mint_authority_info.key) { + return Err(TokenMetadataError::IncorrectMintAuthority.into()); + } + } + + // get the required size, assumes that there's enough space for the entry + let update_authority = OptionalNonZeroPubkey::try_from(Some(*update_authority_info.key))?; + let token_metadata = TokenMetadata { + name: data.name, + symbol: data.symbol, + uri: data.uri, + update_authority, + mint: *mint_info.key, + ..Default::default() + }; + let instance_size = get_instance_packed_len(&token_metadata)?; + + // allocate a TLV entry for the space and write it in + let mut buffer = metadata_info.try_borrow_mut_data()?; + let mut state = TlvStateMut::unpack(&mut buffer)?; + state.alloc::(instance_size)?; + state.borsh_serialize(&token_metadata)?; + + Ok(()) +} + +/// Processes an [UpdateField](enum.TokenMetadataInstruction.html) instruction. +pub fn process_update_field( + _program_id: &Pubkey, + accounts: &[AccountInfo], + data: UpdateField, +) -> ProgramResult { + let account_info_iter = &mut accounts.iter(); + let metadata_info = next_account_info(account_info_iter)?; + let update_authority_info = next_account_info(account_info_iter)?; + + // deserialize the metadata, but scope the data borrow since we'll probably + // realloc the account + let mut token_metadata = { + let buffer = metadata_info.try_borrow_data()?; + let state = TlvStateBorrowed::unpack(&buffer)?; + state.borsh_deserialize::()? + }; + + check_update_authority(update_authority_info, &token_metadata.update_authority)?; + + // Update the field + token_metadata.update(data.field, data.value); + + // Update / realloc the account + realloc_and_borsh_serialize(metadata_info, &token_metadata)?; + + Ok(()) +} + +/// Processes a [RemoveKey](enum.TokenMetadataInstruction.html) instruction. +pub fn process_remove_key( + _program_id: &Pubkey, + accounts: &[AccountInfo], + data: RemoveKey, +) -> ProgramResult { + let account_info_iter = &mut accounts.iter(); + let metadata_info = next_account_info(account_info_iter)?; + let update_authority_info = next_account_info(account_info_iter)?; + + // deserialize the metadata, but scope the data borrow since we'll probably + // realloc the account + let mut token_metadata = { + let buffer = metadata_info.try_borrow_data()?; + let state = TlvStateBorrowed::unpack(&buffer)?; + state.borsh_deserialize::()? + }; + + check_update_authority(update_authority_info, &token_metadata.update_authority)?; + if !token_metadata.remove_key(&data.key) && !data.idempotent { + return Err(TokenMetadataError::KeyNotFound.into()); + } + realloc_and_borsh_serialize(metadata_info, &token_metadata)?; + + Ok(()) +} + +/// Processes a [UpdateAuthority](enum.TokenMetadataInstruction.html) instruction. +pub fn process_update_authority( + _program_id: &Pubkey, + accounts: &[AccountInfo], + data: UpdateAuthority, +) -> ProgramResult { + let account_info_iter = &mut accounts.iter(); + let metadata_info = next_account_info(account_info_iter)?; + let update_authority_info = next_account_info(account_info_iter)?; + + // deserialize the metadata, but scope the data borrow since we'll probably + // realloc the account + let mut token_metadata = { + let buffer = metadata_info.try_borrow_data()?; + let state = TlvStateBorrowed::unpack(&buffer)?; + state.borsh_deserialize::()? + }; + + check_update_authority(update_authority_info, &token_metadata.update_authority)?; + token_metadata.update_authority = data.new_authority; + // Update the account, no realloc needed! + realloc_and_borsh_serialize(metadata_info, &token_metadata)?; + + Ok(()) +} + +/// Processes an [Emit](enum.TokenMetadataInstruction.html) instruction. +pub fn process_emit(program_id: &Pubkey, accounts: &[AccountInfo], data: Emit) -> ProgramResult { + let account_info_iter = &mut accounts.iter(); + let metadata_info = next_account_info(account_info_iter)?; + + if metadata_info.owner != program_id { + return Err(ProgramError::IllegalOwner); + } + + let buffer = metadata_info.try_borrow_data()?; + let state = TlvStateBorrowed::unpack(&buffer)?; + let metadata_bytes = state.get_bytes::()?; + + if let Some(range) = TokenMetadata::get_slice(metadata_bytes, data.start, data.end) { + set_return_data(range); + } + + Ok(()) +} + +/// Processes an [Instruction](enum.Instruction.html). +pub fn process(program_id: &Pubkey, accounts: &[AccountInfo], input: &[u8]) -> ProgramResult { + let instruction = TokenMetadataInstruction::unpack(input)?; + + match instruction { + TokenMetadataInstruction::Initialize(data) => { + msg!("Instruction: Initialize"); + process_initialize(program_id, accounts, data) + } + TokenMetadataInstruction::UpdateField(data) => { + msg!("Instruction: UpdateField"); + process_update_field(program_id, accounts, data) + } + TokenMetadataInstruction::RemoveKey(data) => { + msg!("Instruction: RemoveKey"); + process_remove_key(program_id, accounts, data) + } + TokenMetadataInstruction::UpdateAuthority(data) => { + msg!("Instruction: UpdateAuthority"); + process_update_authority(program_id, accounts, data) + } + TokenMetadataInstruction::Emit(data) => { + msg!("Instruction: Emit"); + process_emit(program_id, accounts, data) + } + } +} diff --git a/program/tests/emit.rs b/program/tests/emit.rs new file mode 100644 index 0000000..c311b73 --- /dev/null +++ b/program/tests/emit.rs @@ -0,0 +1,106 @@ +#![cfg(feature = "test-sbf")] + +mod program_test; +use { + program_test::{setup, setup_metadata, setup_mint}, + solana_program_test::tokio, + solana_sdk::{ + borsh::try_from_slice_unchecked, program::MAX_RETURN_DATA, pubkey::Pubkey, + signature::Signer, signer::keypair::Keypair, transaction::Transaction, + }, + spl_token_metadata_interface::{ + borsh::BorshSerialize, instruction::emit, state::TokenMetadata, + }, + test_case::test_case, +}; + +#[test_case(Some(40), Some(40) ; "zero bytes")] +#[test_case(Some(40), Some(41) ; "one byte")] +#[test_case(Some(1_000_000), Some(1_000_001) ; "too far")] +#[test_case(Some(50), Some(49) ; "wrong way")] +#[test_case(Some(50), None ; "truncate start")] +#[test_case(None, Some(50) ; "truncate end")] +#[test_case(None, None ; "full data")] +#[tokio::test] +async fn success(start: Option, end: Option) { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let update_authority = Pubkey::new_unique(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(update_authority).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + + setup_metadata( + &mut context, + &program_id, + token.get_address(), + &token_metadata, + &metadata_keypair, + &mint_authority, + ) + .await; + + let transaction = Transaction::new_signed_with_payer( + &[emit(&program_id, &metadata_pubkey, start, end)], + Some(&payer.pubkey()), + &[payer.as_ref()], + context.last_blockhash, + ); + let simulation = context + .banks_client + .simulate_transaction(transaction) + .await + .unwrap(); + + let metadata_buffer = token_metadata.try_to_vec().unwrap(); + if let Some(check_buffer) = TokenMetadata::get_slice(&metadata_buffer, start, end) { + if !check_buffer.is_empty() { + // pad the data if necessary + let mut return_data = vec![0; MAX_RETURN_DATA]; + let simulation_return_data = + simulation.simulation_details.unwrap().return_data.unwrap(); + assert_eq!(simulation_return_data.program_id, program_id); + return_data[..simulation_return_data.data.len()] + .copy_from_slice(&simulation_return_data.data); + + assert_eq!(*check_buffer, return_data[..check_buffer.len()]); + // we're sure that we're getting the full data, so also compare the deserialized type + if start.is_none() && end.is_none() { + let emitted_token_metadata = + try_from_slice_unchecked::(&return_data).unwrap(); + assert_eq!(token_metadata, emitted_token_metadata); + } + } else { + assert!(simulation.simulation_details.unwrap().return_data.is_none()); + } + } else { + assert!(simulation.simulation_details.unwrap().return_data.is_none()); + } +} diff --git a/program/tests/initialize.rs b/program/tests/initialize.rs new file mode 100644 index 0000000..41909d1 --- /dev/null +++ b/program/tests/initialize.rs @@ -0,0 +1,271 @@ +#![cfg(feature = "test-sbf")] + +mod program_test; +use { + program_test::{setup, setup_metadata, setup_mint}, + solana_program_test::tokio, + solana_sdk::{ + instruction::InstructionError, + pubkey::Pubkey, + signature::Signer, + signer::keypair::Keypair, + system_instruction, + transaction::{Transaction, TransactionError}, + }, + spl_token_metadata_interface::{ + error::TokenMetadataError, instruction::initialize, state::TokenMetadata, + }, + spl_type_length_value::{ + error::TlvError, + state::{TlvState, TlvStateBorrowed}, + }, +}; + +#[tokio::test] +async fn success_initialize() { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let update_authority = Pubkey::new_unique(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(update_authority).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + + setup_metadata( + &mut context, + &program_id, + token.get_address(), + &token_metadata, + &metadata_keypair, + &mint_authority, + ) + .await; + + // check that the data is correct + let fetched_metadata_account = context + .banks_client + .get_account(metadata_pubkey) + .await + .unwrap() + .unwrap(); + let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); + let fetched_metadata = fetched_metadata_state + .borsh_deserialize::() + .unwrap(); + assert_eq!(fetched_metadata, token_metadata); + + // fail doing it again, and reverse some params to ensure a new tx + { + let transaction = Transaction::new_signed_with_payer( + &[initialize( + &program_id, + &metadata_pubkey, + &update_authority, + token.get_address(), + &mint_authority_pubkey, + token_metadata.symbol.clone(), // intentionally reversed! + token_metadata.name.clone(), + token_metadata.uri.clone(), + )], + Some(&payer.pubkey()), + &[&payer, &mint_authority], + context.last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError( + 0, + InstructionError::Custom(TlvError::TypeAlreadyExists as u32) + ) + ); + } +} + +#[tokio::test] +async fn fail_without_authority_signature() { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let update_authority = Pubkey::new_unique(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(update_authority).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + let rent = context.banks_client.get_rent().await.unwrap(); + let space = token_metadata.tlv_size_of().unwrap(); + let rent_lamports = rent.minimum_balance(space); + let mut initialize_ix = initialize( + &program_id, + &metadata_pubkey, + &update_authority, + token.get_address(), + &mint_authority_pubkey, + token_metadata.name.clone(), + token_metadata.symbol.clone(), + token_metadata.uri.clone(), + ); + initialize_ix.accounts[3].is_signer = false; + let transaction = Transaction::new_signed_with_payer( + &[ + system_instruction::create_account( + &payer.pubkey(), + &metadata_pubkey, + rent_lamports, + space.try_into().unwrap(), + &program_id, + ), + initialize_ix, + ], + Some(&payer.pubkey()), + &[&payer, &metadata_keypair], + context.last_blockhash, + ); + + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError(1, InstructionError::MissingRequiredSignature,) + ); +} + +#[tokio::test] +async fn fail_incorrect_authority() { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let update_authority = Pubkey::new_unique(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(update_authority).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + let rent = context.banks_client.get_rent().await.unwrap(); + let space = token_metadata.tlv_size_of().unwrap(); + let rent_lamports = rent.minimum_balance(space); + let mut initialize_ix = initialize( + &program_id, + &metadata_pubkey, + &update_authority, + token.get_address(), + &metadata_pubkey, + token_metadata.name.clone(), + token_metadata.symbol.clone(), + token_metadata.uri.clone(), + ); + initialize_ix.accounts[3].is_signer = false; + let transaction = Transaction::new_signed_with_payer( + &[ + system_instruction::create_account( + &payer.pubkey(), + &metadata_pubkey, + rent_lamports, + space.try_into().unwrap(), + &program_id, + ), + initialize_ix, + ], + Some(&payer.pubkey()), + &[&payer, &metadata_keypair], + context.last_blockhash, + ); + + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError( + 1, + InstructionError::Custom(TokenMetadataError::IncorrectMintAuthority as u32) + ) + ); +} diff --git a/program/tests/program_test.rs b/program/tests/program_test.rs new file mode 100644 index 0000000..27ad8f2 --- /dev/null +++ b/program/tests/program_test.rs @@ -0,0 +1,167 @@ +#![cfg(feature = "test-sbf")] + +use { + solana_program_test::{processor, tokio::sync::Mutex, ProgramTest, ProgramTestContext}, + solana_sdk::{ + pubkey::Pubkey, signature::Signer, signer::keypair::Keypair, system_instruction, + transaction::Transaction, + }, + spl_token_client::{ + client::{ + ProgramBanksClient, ProgramBanksClientProcessTransaction, ProgramClient, + SendTransaction, + }, + token::Token, + }, + spl_token_metadata_interface::{ + instruction::{initialize, update_field}, + state::{Field, TokenMetadata}, + }, + std::sync::Arc, +}; + +fn keypair_clone(kp: &Keypair) -> Keypair { + Keypair::from_bytes(&kp.to_bytes()).expect("failed to copy keypair") +} + +pub async fn setup( + program_id: &Pubkey, +) -> ( + Arc>, + Arc>, + Arc, +) { + let mut program_test = ProgramTest::new( + "spl_token_metadata_example", + *program_id, + processor!(spl_token_metadata_example::processor::process), + ); + + program_test.prefer_bpf(false); // simplicity in the build + program_test.add_program( + "spl_token_2022", + spl_token_2022::id(), + processor!(spl_token_2022::processor::Processor::process), + ); + + let context = program_test.start_with_context().await; + let payer = Arc::new(keypair_clone(&context.payer)); + let context = Arc::new(Mutex::new(context)); + + let client: Arc> = + Arc::new(ProgramBanksClient::new_from_context( + Arc::clone(&context), + ProgramBanksClientProcessTransaction, + )); + (context, client, payer) +} + +pub async fn setup_mint( + program_id: &Pubkey, + mint_authority: &Pubkey, + decimals: u8, + payer: Arc, + client: Arc>, +) -> Token { + let mint_account = Keypair::new(); + let token = Token::new( + client, + program_id, + &mint_account.pubkey(), + Some(decimals), + payer, + ); + token + .create_mint(mint_authority, None, vec![], &[&mint_account]) + .await + .unwrap(); + token +} + +pub async fn setup_metadata( + context: &mut ProgramTestContext, + metadata_program_id: &Pubkey, + mint: &Pubkey, + token_metadata: &TokenMetadata, + metadata_keypair: &Keypair, + mint_authority: &Keypair, +) { + let rent = context.banks_client.get_rent().await.unwrap(); + let space = token_metadata.tlv_size_of().unwrap(); + let rent_lamports = rent.minimum_balance(space); + let transaction = Transaction::new_signed_with_payer( + &[ + system_instruction::create_account( + &context.payer.pubkey(), + &metadata_keypair.pubkey(), + rent_lamports, + space.try_into().unwrap(), + metadata_program_id, + ), + initialize( + metadata_program_id, + &metadata_keypair.pubkey(), + &Option::::from(token_metadata.update_authority.clone()).unwrap(), + mint, + &mint_authority.pubkey(), + token_metadata.name.clone(), + token_metadata.symbol.clone(), + token_metadata.uri.clone(), + ), + ], + Some(&context.payer.pubkey()), + &[&context.payer, metadata_keypair, mint_authority], + context.last_blockhash, + ); + + context + .banks_client + .process_transaction(transaction) + .await + .unwrap(); +} + +#[allow(dead_code)] +pub async fn setup_update_field( + context: &mut ProgramTestContext, + metadata_program_id: &Pubkey, + token_metadata: &mut TokenMetadata, + metadata: &Pubkey, + update_authority: &Keypair, + field: Field, + value: String, +) { + let rent = context.banks_client.get_rent().await.unwrap(); + let old_space = token_metadata.tlv_size_of().unwrap(); + let old_rent_lamports = rent.minimum_balance(old_space); + + token_metadata.update(field.clone(), value.clone()); + + let new_space = token_metadata.tlv_size_of().unwrap(); + let new_rent_lamports = rent.minimum_balance(new_space); + let transaction = Transaction::new_signed_with_payer( + &[ + system_instruction::transfer( + &context.payer.pubkey(), + metadata, + new_rent_lamports.saturating_sub(old_rent_lamports), + ), + update_field( + metadata_program_id, + metadata, + &update_authority.pubkey(), + field, + value, + ), + ], + Some(&context.payer.pubkey()), + &[&context.payer, update_authority], + context.last_blockhash, + ); + + context + .banks_client + .process_transaction(transaction) + .await + .unwrap(); +} diff --git a/program/tests/remove_key.rs b/program/tests/remove_key.rs new file mode 100644 index 0000000..def5086 --- /dev/null +++ b/program/tests/remove_key.rs @@ -0,0 +1,271 @@ +#![cfg(feature = "test-sbf")] + +mod program_test; +use { + program_test::{setup, setup_metadata, setup_mint, setup_update_field}, + solana_program_test::{tokio, ProgramTestBanksClientExt}, + solana_sdk::{ + instruction::InstructionError, + pubkey::Pubkey, + signature::Signer, + signer::keypair::Keypair, + transaction::{Transaction, TransactionError}, + }, + spl_token_metadata_interface::{ + error::TokenMetadataError, + instruction::remove_key, + state::{Field, TokenMetadata}, + }, + spl_type_length_value::state::{TlvState, TlvStateBorrowed}, +}; + +#[tokio::test] +async fn success_remove() { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let update_authority = Keypair::new(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let mut token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(update_authority.pubkey()).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + + setup_metadata( + &mut context, + &program_id, + token.get_address(), + &token_metadata, + &metadata_keypair, + &mint_authority, + ) + .await; + + let key = "key".to_string(); + let value = "value".to_string(); + let field = Field::Key(key.clone()); + setup_update_field( + &mut context, + &program_id, + &mut token_metadata, + &metadata_pubkey, + &update_authority, + field, + value, + ) + .await; + + let transaction = Transaction::new_signed_with_payer( + &[remove_key( + &program_id, + &metadata_pubkey, + &update_authority.pubkey(), + key.clone(), + false, // idempotent + )], + Some(&payer.pubkey()), + &[&payer, &update_authority], + context.last_blockhash, + ); + context + .banks_client + .process_transaction(transaction) + .await + .unwrap(); + + // check that the data is correct + token_metadata.remove_key(&key); + let fetched_metadata_account = context + .banks_client + .get_account(metadata_pubkey) + .await + .unwrap() + .unwrap(); + assert_eq!( + fetched_metadata_account.data.len(), + token_metadata.tlv_size_of().unwrap() + ); + let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); + let fetched_metadata = fetched_metadata_state + .borsh_deserialize::() + .unwrap(); + assert_eq!(fetched_metadata, token_metadata); + + // refresh blockhash before trying again + let last_blockhash = context.last_blockhash; + let last_blockhash = context + .banks_client + .get_new_latest_blockhash(&last_blockhash) + .await + .unwrap(); + + // fail doing it again without idempotent flag + let transaction = Transaction::new_signed_with_payer( + &[remove_key( + &program_id, + &metadata_pubkey, + &update_authority.pubkey(), + key.clone(), + false, // idempotent + )], + Some(&payer.pubkey()), + &[&payer, &update_authority], + last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError( + 0, + InstructionError::Custom(TokenMetadataError::KeyNotFound as u32) + ) + ); + + // succeed with idempotent flag + let transaction = Transaction::new_signed_with_payer( + &[remove_key( + &program_id, + &metadata_pubkey, + &update_authority.pubkey(), + key, + true, // idempotent + )], + Some(&payer.pubkey()), + &[&payer, &update_authority], + last_blockhash, + ); + context + .banks_client + .process_transaction(transaction) + .await + .unwrap(); +} + +#[tokio::test] +async fn fail_authority_checks() { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let update_authority = Keypair::new(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(update_authority.pubkey()).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + + setup_metadata( + &mut context, + &program_id, + token.get_address(), + &token_metadata, + &metadata_keypair, + &mint_authority, + ) + .await; + + // no signature + let mut instruction = remove_key( + &program_id, + &metadata_pubkey, + &update_authority.pubkey(), + "new_name".to_string(), + true, // idempotent + ); + instruction.accounts[1].is_signer = false; + let transaction = Transaction::new_signed_with_payer( + &[instruction], + Some(&payer.pubkey()), + &[payer.as_ref()], + context.last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError(0, InstructionError::MissingRequiredSignature,) + ); + + // wrong authority + let transaction = Transaction::new_signed_with_payer( + &[remove_key( + &program_id, + &metadata_pubkey, + &payer.pubkey(), + "new_name".to_string(), + true, // idempotent + )], + Some(&payer.pubkey()), + &[payer.as_ref()], + context.last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError( + 0, + InstructionError::Custom(TokenMetadataError::IncorrectUpdateAuthority as u32), + ) + ); +} diff --git a/program/tests/update_authority.rs b/program/tests/update_authority.rs new file mode 100644 index 0000000..92653a9 --- /dev/null +++ b/program/tests/update_authority.rs @@ -0,0 +1,265 @@ +#![cfg(feature = "test-sbf")] + +mod program_test; +use { + program_test::{setup, setup_metadata, setup_mint}, + solana_program_test::tokio, + solana_sdk::{ + instruction::InstructionError, + pubkey::Pubkey, + signature::Signer, + signer::keypair::Keypair, + transaction::{Transaction, TransactionError}, + }, + spl_token_metadata_interface::{ + error::TokenMetadataError, + instruction::update_authority, + state::{OptionalNonZeroPubkey, TokenMetadata}, + }, + spl_type_length_value::state::{TlvState, TlvStateBorrowed}, +}; + +#[tokio::test] +async fn success_update() { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let authority = Keypair::new(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let mut token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(authority.pubkey()).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + + setup_metadata( + &mut context, + &program_id, + token.get_address(), + &token_metadata, + &metadata_keypair, + &mint_authority, + ) + .await; + + let new_update_authority = Keypair::new(); + let new_update_authority_pubkey = + OptionalNonZeroPubkey::try_from(Some(new_update_authority.pubkey())).unwrap(); + token_metadata.update_authority = new_update_authority_pubkey.clone(); + + let transaction = Transaction::new_signed_with_payer( + &[update_authority( + &program_id, + &metadata_pubkey, + &authority.pubkey(), + new_update_authority_pubkey.clone(), + )], + Some(&payer.pubkey()), + &[&payer, &authority], + context.last_blockhash, + ); + context + .banks_client + .process_transaction(transaction) + .await + .unwrap(); + + // check that the data is correct + let fetched_metadata_account = context + .banks_client + .get_account(metadata_pubkey) + .await + .unwrap() + .unwrap(); + assert_eq!( + fetched_metadata_account.data.len(), + token_metadata.tlv_size_of().unwrap() + ); + let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); + let fetched_metadata = fetched_metadata_state + .borsh_deserialize::() + .unwrap(); + assert_eq!(fetched_metadata, token_metadata); + + // unset + token_metadata.update_authority = None.try_into().unwrap(); + let transaction = Transaction::new_signed_with_payer( + &[update_authority( + &program_id, + &metadata_pubkey, + &new_update_authority.pubkey(), + None.try_into().unwrap(), + )], + Some(&payer.pubkey()), + &[&payer, &new_update_authority], + context.last_blockhash, + ); + context + .banks_client + .process_transaction(transaction) + .await + .unwrap(); + + let fetched_metadata_account = context + .banks_client + .get_account(metadata_pubkey) + .await + .unwrap() + .unwrap(); + assert_eq!( + fetched_metadata_account.data.len(), + token_metadata.tlv_size_of().unwrap() + ); + let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); + let fetched_metadata = fetched_metadata_state + .borsh_deserialize::() + .unwrap(); + assert_eq!(fetched_metadata, token_metadata); + + // fail to update + let transaction = Transaction::new_signed_with_payer( + &[update_authority( + &program_id, + &metadata_pubkey, + &new_update_authority.pubkey(), + Some(new_update_authority.pubkey()).try_into().unwrap(), + )], + Some(&payer.pubkey()), + &[&payer, &new_update_authority], + context.last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError( + 0, + InstructionError::Custom(TokenMetadataError::ImmutableMetadata as u32) + ) + ); +} + +#[tokio::test] +async fn fail_authority_checks() { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let authority = Keypair::new(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(authority.pubkey()).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + + setup_metadata( + &mut context, + &program_id, + token.get_address(), + &token_metadata, + &metadata_keypair, + &mint_authority, + ) + .await; + + // no signature + let mut instruction = update_authority( + &program_id, + &metadata_pubkey, + &authority.pubkey(), + None.try_into().unwrap(), + ); + instruction.accounts[1].is_signer = false; + let transaction = Transaction::new_signed_with_payer( + &[instruction], + Some(&payer.pubkey()), + &[payer.as_ref()], + context.last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError(0, InstructionError::MissingRequiredSignature,) + ); + + // wrong authority + let transaction = Transaction::new_signed_with_payer( + &[update_authority( + &program_id, + &metadata_pubkey, + &payer.pubkey(), + None.try_into().unwrap(), + )], + Some(&payer.pubkey()), + &[payer.as_ref()], + context.last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError( + 0, + InstructionError::Custom(TokenMetadataError::IncorrectUpdateAuthority as u32), + ) + ); +} diff --git a/program/tests/update_field.rs b/program/tests/update_field.rs new file mode 100644 index 0000000..c5f44ae --- /dev/null +++ b/program/tests/update_field.rs @@ -0,0 +1,250 @@ +#![cfg(feature = "test-sbf")] + +mod program_test; +use { + program_test::{setup, setup_metadata, setup_mint}, + solana_program_test::tokio, + solana_sdk::{ + instruction::InstructionError, + pubkey::Pubkey, + signature::Signer, + signer::keypair::Keypair, + system_instruction, + transaction::{Transaction, TransactionError}, + }, + spl_token_metadata_interface::{ + error::TokenMetadataError, + instruction::update_field, + state::{Field, TokenMetadata}, + }, + spl_type_length_value::state::{TlvState, TlvStateBorrowed}, + test_case::test_case, +}; + +#[test_case(Field::Name, "This is my larger name".to_string() ; "larger name")] +#[test_case(Field::Name, "Smaller".to_string() ; "smaller name")] +#[test_case(Field::Key("my new field".to_string()), "Some data for the new field!".to_string() ; "new field")] +#[tokio::test] +async fn success_update(field: Field, value: String) { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let update_authority = Keypair::new(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let mut token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(update_authority.pubkey()).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + + setup_metadata( + &mut context, + &program_id, + token.get_address(), + &token_metadata, + &metadata_keypair, + &mint_authority, + ) + .await; + + let rent = context.banks_client.get_rent().await.unwrap(); + let old_space = token_metadata.tlv_size_of().unwrap(); + let old_rent_lamports = rent.minimum_balance(old_space); + + token_metadata.update(field.clone(), value.clone()); + + let new_space = token_metadata.tlv_size_of().unwrap(); + + if new_space > old_space { + // fails without more lamports + let transaction = Transaction::new_signed_with_payer( + &[update_field( + &program_id, + &metadata_pubkey, + &update_authority.pubkey(), + field.clone(), + value.clone(), + )], + Some(&payer.pubkey()), + &[&payer, &update_authority], + context.last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InsufficientFundsForRent { account_index: 2 } + ); + } + + // transfer required lamports + let new_rent_lamports = rent.minimum_balance(new_space); + let transaction = Transaction::new_signed_with_payer( + &[ + system_instruction::transfer( + &payer.pubkey(), + &metadata_pubkey, + new_rent_lamports.saturating_sub(old_rent_lamports), + ), + update_field( + &program_id, + &metadata_pubkey, + &update_authority.pubkey(), + field.clone(), + value.clone(), + ), + ], + Some(&payer.pubkey()), + &[&payer, &update_authority], + context.last_blockhash, + ); + context + .banks_client + .process_transaction(transaction) + .await + .unwrap(); + + // check that the data is correct + let fetched_metadata_account = context + .banks_client + .get_account(metadata_pubkey) + .await + .unwrap() + .unwrap(); + assert_eq!( + fetched_metadata_account.data.len(), + token_metadata.tlv_size_of().unwrap() + ); + let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); + let fetched_metadata = fetched_metadata_state + .borsh_deserialize::() + .unwrap(); + assert_eq!(fetched_metadata, token_metadata); +} + +#[tokio::test] +async fn fail_authority_checks() { + let program_id = Pubkey::new_unique(); + let (context, client, payer) = setup(&program_id).await; + + let mint_authority = Keypair::new(); + let mint_authority_pubkey = mint_authority.pubkey(); + + let token_program_id = spl_token_2022::id(); + let decimals = 2; + let token = setup_mint( + &token_program_id, + &mint_authority_pubkey, + decimals, + payer.clone(), + client.clone(), + ) + .await; + let mut context = context.lock().await; + + let update_authority = Keypair::new(); + let name = "MySuperCoolToken".to_string(); + let symbol = "MINE".to_string(); + let uri = "my.super.cool.token".to_string(); + let token_metadata = TokenMetadata { + name, + symbol, + uri, + update_authority: Some(update_authority.pubkey()).try_into().unwrap(), + mint: *token.get_address(), + ..Default::default() + }; + + let metadata_keypair = Keypair::new(); + let metadata_pubkey = metadata_keypair.pubkey(); + + setup_metadata( + &mut context, + &program_id, + token.get_address(), + &token_metadata, + &metadata_keypair, + &mint_authority, + ) + .await; + + // no signature + let mut instruction = update_field( + &program_id, + &metadata_pubkey, + &update_authority.pubkey(), + Field::Name, + "new_name".to_string(), + ); + instruction.accounts[1].is_signer = false; + let transaction = Transaction::new_signed_with_payer( + &[instruction], + Some(&payer.pubkey()), + &[payer.as_ref()], + context.last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError(0, InstructionError::MissingRequiredSignature,) + ); + + // wrong authority + let transaction = Transaction::new_signed_with_payer( + &[update_field( + &program_id, + &metadata_pubkey, + &payer.pubkey(), + Field::Name, + "new_name".to_string(), + )], + Some(&payer.pubkey()), + &[payer.as_ref()], + context.last_blockhash, + ); + let error = context + .banks_client + .process_transaction(transaction) + .await + .unwrap_err() + .unwrap(); + assert_eq!( + error, + TransactionError::InstructionError( + 0, + InstructionError::Custom(TokenMetadataError::IncorrectUpdateAuthority as u32), + ) + ); +} From e0bfac02cb7f51381684c45f0b4ab4701dcc1cf5 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Mon, 26 Jun 2023 14:42:02 +0200 Subject: [PATCH 006/473] Update Solana to 1.16.1 and Rust to 1.69 (#4592) #### Problem The 1.16 Solana crates are out, but SPL is still on 1.14 and needs the new functionality. #### Solution Update the: * rust version to 1.69 * nightly to 2023-04-19 * solana tools to 1.16.1 * solana crates to 1.16.1 * borsh to 0.10 And fix: * new clippy warnings * deprecated warnings in the new solana crates --- interface/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 50074a9..13630ad 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -8,8 +8,8 @@ license = "Apache-2.0" edition = "2021" [dependencies] -borsh = "0.9" -solana-program = "1.14.12" +borsh = "0.10" +solana-program = "1.16.1" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.1.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.1.0", features = ["borsh"], path = "../../libraries/type-length-value" } From 27d41f8174e1927840f83f34dcea37a6b40d8ecc Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Mon, 26 Jun 2023 15:29:34 +0200 Subject: [PATCH 007/473] token-metadata: Update program crates to Solana 1.16.1 (#4603) --- program/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 9b9a1f1..40c508e 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,14 +12,14 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "1.14.12" +solana-program = "1.16.1" spl-type-length-value = { version = "0.1.0" , path = "../../libraries/type-length-value" } spl-token-2022 = { version = "0.6.0", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } [dev-dependencies] -solana-program-test = "1.14.12" -solana-sdk = "1.14.12" +solana-program-test = "1.16.1" +solana-sdk = "1.16.1" spl-token-client = { version = "0.5", path = "../../token/client" } test-case = "3.1" From ff720e6aa98f46b4a0c6985759434b3431f940c9 Mon Sep 17 00:00:00 2001 From: Joe C Date: Mon, 26 Jun 2023 16:32:41 -0400 Subject: [PATCH 008/473] bump/program-error (#4606) --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 13630ad..1101d9f 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" borsh = "0.10" solana-program = "1.16.1" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } -spl-program-error = { version = "0.1.0" , path = "../../libraries/program-error" } +spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.1.0", features = ["borsh"], path = "../../libraries/type-length-value" } [lib] From f2b3eff8d6efaf071335e2e1b5fcbb45599d3b19 Mon Sep 17 00:00:00 2001 From: Joe C Date: Mon, 26 Jun 2023 17:47:07 -0400 Subject: [PATCH 009/473] Expanding TLV lib (#4602) * rebase * borsh feature for TM example --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 40c508e..cee00db 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = "1.16.1" -spl-type-length-value = { version = "0.1.0" , path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.1.0" , path = "../../libraries/type-length-value", features = ["borsh"] } spl-token-2022 = { version = "0.6.0", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } From 4f3fd37a9a49851f71a0ee23d0c95651a141524f Mon Sep 17 00:00:00 2001 From: Joe C Date: Mon, 26 Jun 2023 18:47:32 -0400 Subject: [PATCH 010/473] bump/type-length-value (#4608) --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 1101d9f..aa10e39 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ borsh = "0.10" solana-program = "1.16.1" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } -spl-type-length-value = { version = "0.1.0", features = ["borsh"], path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.2.0", features = ["borsh"], path = "../../libraries/type-length-value" } [lib] crate-type = ["cdylib", "lib"] diff --git a/program/Cargo.toml b/program/Cargo.toml index cee00db..b761742 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,9 +13,9 @@ test-sbf = [] [dependencies] solana-program = "1.16.1" -spl-type-length-value = { version = "0.1.0" , path = "../../libraries/type-length-value", features = ["borsh"] } spl-token-2022 = { version = "0.6.0", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } +spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value", features = ["borsh"] } [dev-dependencies] solana-program-test = "1.16.1" From 1768957e2701129418ec085bd6de1d1b6a765ee6 Mon Sep 17 00:00:00 2001 From: Joe C Date: Tue, 27 Jun 2023 11:15:42 -0400 Subject: [PATCH 011/473] bump/token-2022 (#4623) * bump/token-2022 * bump/token-2022 - 0.7 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index b761742..0e601cf 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = "1.16.1" -spl-token-2022 = { version = "0.6.0", path = "../../token/program-2022" } +spl-token-2022 = { version = "0.7", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value", features = ["borsh"] } From 1282d440b6c2a3ced86526b498e72cf117d76087 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Fri, 7 Jul 2023 19:09:09 +0200 Subject: [PATCH 012/473] TLV: Add `VariableLenPack` trait to remove borsh dependency (#4720) * tlv: Remove borsh dependency via `UnsizedPack` * Use `UnsizedPack` in the token-metadata interface and example * Rename unsized -> variable-length * Rename unsized -> variable-length in token-metadata * Fixup comment * Rename unsized -> variable-len in README --- interface/Cargo.toml | 2 +- interface/src/state.rs | 22 ++++++++++++++++++++-- program/Cargo.toml | 2 +- program/src/processor.rs | 16 ++++++++-------- program/tests/initialize.rs | 2 +- program/tests/remove_key.rs | 2 +- program/tests/update_authority.rs | 4 ++-- program/tests/update_field.rs | 2 +- 8 files changed, 35 insertions(+), 17 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index aa10e39..0c05b84 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ borsh = "0.10" solana-program = "1.16.1" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } -spl-type-length-value = { version = "0.2.0", features = ["borsh"], path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } [lib] crate-type = ["cdylib", "lib"] diff --git a/interface/src/state.rs b/interface/src/state.rs index 24289bc..075e9d5 100644 --- a/interface/src/state.rs +++ b/interface/src/state.rs @@ -2,9 +2,16 @@ use { borsh::{BorshDeserialize, BorshSchema, BorshSerialize}, - solana_program::{borsh::get_instance_packed_len, program_error::ProgramError, pubkey::Pubkey}, + solana_program::{ + borsh::{get_instance_packed_len, try_from_slice_unchecked}, + program_error::ProgramError, + pubkey::Pubkey, + }, spl_discriminator::{ArrayDiscriminator, SplDiscriminate}, - spl_type_length_value::state::{TlvState, TlvStateBorrowed}, + spl_type_length_value::{ + state::{TlvState, TlvStateBorrowed}, + variable_len_pack::VariableLenPack, + }, std::convert::TryFrom, }; @@ -117,6 +124,17 @@ impl TokenMetadata { data.get(start..end) } } +impl VariableLenPack for TokenMetadata { + fn pack_into_slice(&self, dst: &mut [u8]) -> Result<(), ProgramError> { + borsh::to_writer(&mut dst[..], self).map_err(Into::into) + } + fn unpack_from_slice(src: &[u8]) -> Result { + try_from_slice_unchecked(src).map_err(Into::into) + } + fn get_packed_len(&self) -> Result { + get_instance_packed_len(self).map_err(Into::into) + } +} /// Fields in the metadata account, used for updating #[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] diff --git a/program/Cargo.toml b/program/Cargo.toml index 0e601cf..a5d1b63 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -15,7 +15,7 @@ test-sbf = [] solana-program = "1.16.1" spl-token-2022 = { version = "0.7", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } -spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value", features = ["borsh"] } +spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value" } [dev-dependencies] solana-program-test = "1.16.1" diff --git a/program/src/processor.rs b/program/src/processor.rs index b770761..a15d98d 100644 --- a/program/src/processor.rs +++ b/program/src/processor.rs @@ -20,7 +20,7 @@ use { state::{OptionalNonZeroPubkey, TokenMetadata}, }, spl_type_length_value::state::{ - realloc_and_borsh_serialize, TlvState, TlvStateBorrowed, TlvStateMut, + realloc_and_pack_variable_len, TlvState, TlvStateBorrowed, TlvStateMut, }, }; @@ -84,7 +84,7 @@ pub fn process_initialize( let mut buffer = metadata_info.try_borrow_mut_data()?; let mut state = TlvStateMut::unpack(&mut buffer)?; state.alloc::(instance_size)?; - state.borsh_serialize(&token_metadata)?; + state.pack_variable_len_value(&token_metadata)?; Ok(()) } @@ -104,7 +104,7 @@ pub fn process_update_field( let mut token_metadata = { let buffer = metadata_info.try_borrow_data()?; let state = TlvStateBorrowed::unpack(&buffer)?; - state.borsh_deserialize::()? + state.get_variable_len_value::()? }; check_update_authority(update_authority_info, &token_metadata.update_authority)?; @@ -113,7 +113,7 @@ pub fn process_update_field( token_metadata.update(data.field, data.value); // Update / realloc the account - realloc_and_borsh_serialize(metadata_info, &token_metadata)?; + realloc_and_pack_variable_len(metadata_info, &token_metadata)?; Ok(()) } @@ -133,14 +133,14 @@ pub fn process_remove_key( let mut token_metadata = { let buffer = metadata_info.try_borrow_data()?; let state = TlvStateBorrowed::unpack(&buffer)?; - state.borsh_deserialize::()? + state.get_variable_len_value::()? }; check_update_authority(update_authority_info, &token_metadata.update_authority)?; if !token_metadata.remove_key(&data.key) && !data.idempotent { return Err(TokenMetadataError::KeyNotFound.into()); } - realloc_and_borsh_serialize(metadata_info, &token_metadata)?; + realloc_and_pack_variable_len(metadata_info, &token_metadata)?; Ok(()) } @@ -160,13 +160,13 @@ pub fn process_update_authority( let mut token_metadata = { let buffer = metadata_info.try_borrow_data()?; let state = TlvStateBorrowed::unpack(&buffer)?; - state.borsh_deserialize::()? + state.get_variable_len_value::()? }; check_update_authority(update_authority_info, &token_metadata.update_authority)?; token_metadata.update_authority = data.new_authority; // Update the account, no realloc needed! - realloc_and_borsh_serialize(metadata_info, &token_metadata)?; + realloc_and_pack_variable_len(metadata_info, &token_metadata)?; Ok(()) } diff --git a/program/tests/initialize.rs b/program/tests/initialize.rs index 41909d1..d48cb05 100644 --- a/program/tests/initialize.rs +++ b/program/tests/initialize.rs @@ -76,7 +76,7 @@ async fn success_initialize() { .unwrap(); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .borsh_deserialize::() + .get_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); diff --git a/program/tests/remove_key.rs b/program/tests/remove_key.rs index def5086..6f65417 100644 --- a/program/tests/remove_key.rs +++ b/program/tests/remove_key.rs @@ -111,7 +111,7 @@ async fn success_remove() { ); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .borsh_deserialize::() + .get_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); diff --git a/program/tests/update_authority.rs b/program/tests/update_authority.rs index 92653a9..004153e 100644 --- a/program/tests/update_authority.rs +++ b/program/tests/update_authority.rs @@ -100,7 +100,7 @@ async fn success_update() { ); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .borsh_deserialize::() + .get_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); @@ -135,7 +135,7 @@ async fn success_update() { ); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .borsh_deserialize::() + .get_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); diff --git a/program/tests/update_field.rs b/program/tests/update_field.rs index c5f44ae..f564249 100644 --- a/program/tests/update_field.rs +++ b/program/tests/update_field.rs @@ -144,7 +144,7 @@ async fn success_update(field: Field, value: String) { ); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .borsh_deserialize::() + .get_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); } From af7a566f49d1bcd52c02f4fd759f64960a7b46f2 Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Thu, 13 Jul 2023 11:06:07 +0900 Subject: [PATCH 013/473] Upgrade to solana 1.16.3 (#4679) * upgrade to solana 1.16.3 * bring down hashbrown dependency to 0.12.3 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 0c05b84..45c569d 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] borsh = "0.10" -solana-program = "1.16.1" +solana-program = "1.16.3" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } diff --git a/program/Cargo.toml b/program/Cargo.toml index a5d1b63..a7a338c 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,14 +12,14 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "1.16.1" +solana-program = "1.16.3" spl-token-2022 = { version = "0.7", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value" } [dev-dependencies] -solana-program-test = "1.16.1" -solana-sdk = "1.16.1" +solana-program-test = "1.16.3" +solana-sdk = "1.16.3" spl-token-client = { version = "0.5", path = "../../token/client" } test-case = "3.1" From 68e51cfc863f28f8edb010ce19de7f67296bdd01 Mon Sep 17 00:00:00 2001 From: Joe C Date: Fri, 21 Jul 2023 16:47:23 -0500 Subject: [PATCH 014/473] Unique & Allow Repeating APIs for TLV (#4804) * unique x allow repeating API * tests * jon feedback * naming conventions * indices_unchecked * weirdness comment --- program/src/processor.rs | 20 ++++++++++---------- program/tests/initialize.rs | 2 +- program/tests/remove_key.rs | 2 +- program/tests/update_authority.rs | 4 ++-- program/tests/update_field.rs | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/program/src/processor.rs b/program/src/processor.rs index a15d98d..ca817ca 100644 --- a/program/src/processor.rs +++ b/program/src/processor.rs @@ -20,7 +20,7 @@ use { state::{OptionalNonZeroPubkey, TokenMetadata}, }, spl_type_length_value::state::{ - realloc_and_pack_variable_len, TlvState, TlvStateBorrowed, TlvStateMut, + realloc_and_pack_first_variable_len, TlvState, TlvStateBorrowed, TlvStateMut, }, }; @@ -83,8 +83,8 @@ pub fn process_initialize( // allocate a TLV entry for the space and write it in let mut buffer = metadata_info.try_borrow_mut_data()?; let mut state = TlvStateMut::unpack(&mut buffer)?; - state.alloc::(instance_size)?; - state.pack_variable_len_value(&token_metadata)?; + state.alloc::(instance_size, false)?; + state.pack_first_variable_len_value(&token_metadata)?; Ok(()) } @@ -104,7 +104,7 @@ pub fn process_update_field( let mut token_metadata = { let buffer = metadata_info.try_borrow_data()?; let state = TlvStateBorrowed::unpack(&buffer)?; - state.get_variable_len_value::()? + state.get_first_variable_len_value::()? }; check_update_authority(update_authority_info, &token_metadata.update_authority)?; @@ -113,7 +113,7 @@ pub fn process_update_field( token_metadata.update(data.field, data.value); // Update / realloc the account - realloc_and_pack_variable_len(metadata_info, &token_metadata)?; + realloc_and_pack_first_variable_len(metadata_info, &token_metadata)?; Ok(()) } @@ -133,14 +133,14 @@ pub fn process_remove_key( let mut token_metadata = { let buffer = metadata_info.try_borrow_data()?; let state = TlvStateBorrowed::unpack(&buffer)?; - state.get_variable_len_value::()? + state.get_first_variable_len_value::()? }; check_update_authority(update_authority_info, &token_metadata.update_authority)?; if !token_metadata.remove_key(&data.key) && !data.idempotent { return Err(TokenMetadataError::KeyNotFound.into()); } - realloc_and_pack_variable_len(metadata_info, &token_metadata)?; + realloc_and_pack_first_variable_len(metadata_info, &token_metadata)?; Ok(()) } @@ -160,13 +160,13 @@ pub fn process_update_authority( let mut token_metadata = { let buffer = metadata_info.try_borrow_data()?; let state = TlvStateBorrowed::unpack(&buffer)?; - state.get_variable_len_value::()? + state.get_first_variable_len_value::()? }; check_update_authority(update_authority_info, &token_metadata.update_authority)?; token_metadata.update_authority = data.new_authority; // Update the account, no realloc needed! - realloc_and_pack_variable_len(metadata_info, &token_metadata)?; + realloc_and_pack_first_variable_len(metadata_info, &token_metadata)?; Ok(()) } @@ -182,7 +182,7 @@ pub fn process_emit(program_id: &Pubkey, accounts: &[AccountInfo], data: Emit) - let buffer = metadata_info.try_borrow_data()?; let state = TlvStateBorrowed::unpack(&buffer)?; - let metadata_bytes = state.get_bytes::()?; + let metadata_bytes = state.get_first_bytes::()?; if let Some(range) = TokenMetadata::get_slice(metadata_bytes, data.start, data.end) { set_return_data(range); diff --git a/program/tests/initialize.rs b/program/tests/initialize.rs index d48cb05..ccd5037 100644 --- a/program/tests/initialize.rs +++ b/program/tests/initialize.rs @@ -76,7 +76,7 @@ async fn success_initialize() { .unwrap(); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .get_variable_len_value::() + .get_first_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); diff --git a/program/tests/remove_key.rs b/program/tests/remove_key.rs index 6f65417..505113f 100644 --- a/program/tests/remove_key.rs +++ b/program/tests/remove_key.rs @@ -111,7 +111,7 @@ async fn success_remove() { ); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .get_variable_len_value::() + .get_first_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); diff --git a/program/tests/update_authority.rs b/program/tests/update_authority.rs index 004153e..0ff61c1 100644 --- a/program/tests/update_authority.rs +++ b/program/tests/update_authority.rs @@ -100,7 +100,7 @@ async fn success_update() { ); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .get_variable_len_value::() + .get_first_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); @@ -135,7 +135,7 @@ async fn success_update() { ); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .get_variable_len_value::() + .get_first_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); diff --git a/program/tests/update_field.rs b/program/tests/update_field.rs index f564249..e2454df 100644 --- a/program/tests/update_field.rs +++ b/program/tests/update_field.rs @@ -144,7 +144,7 @@ async fn success_update(field: Field, value: String) { ); let fetched_metadata_state = TlvStateBorrowed::unpack(&fetched_metadata_account.data).unwrap(); let fetched_metadata = fetched_metadata_state - .get_variable_len_value::() + .get_first_variable_len_value::() .unwrap(); assert_eq!(fetched_metadata, token_metadata); } From dd23a5663ef6e6abdae4451391395b638f88e4b5 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Mon, 24 Jul 2023 21:19:36 +0200 Subject: [PATCH 015/473] token-client: Add simulation support to ProgramClient (#4767) * token-client: Support transaction simulation * token-cli: Add placeholder for simulation support * `sig_verify` is off by default, so need to check sigs * token-upgrade: Fixup test type * token-upgrade: Fixup program tests * Update token-metadata tests * Fix token-2022 tests to include `SimulateTransaction` * Fixup merge conflict --- program/tests/program_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/tests/program_test.rs b/program/tests/program_test.rs index 27ad8f2..561b4ab 100644 --- a/program/tests/program_test.rs +++ b/program/tests/program_test.rs @@ -9,7 +9,7 @@ use { spl_token_client::{ client::{ ProgramBanksClient, ProgramBanksClientProcessTransaction, ProgramClient, - SendTransaction, + SendTransaction, SimulateTransaction, }, token::Token, }, @@ -56,7 +56,7 @@ pub async fn setup( (context, client, payer) } -pub async fn setup_mint( +pub async fn setup_mint( program_id: &Pubkey, mint_authority: &Pubkey, decimals: u8, From d76de55667f8328e76988138f09ab3b59c049c00 Mon Sep 17 00:00:00 2001 From: serbangv Date: Wed, 23 Aug 2023 06:32:18 +0300 Subject: [PATCH 016/473] [token-metadata] Add serde support for token metadata instructions (#5050) * token-metadata: Add serde support instructions #3325 * token-metadata: Add serde support instructions --------- Co-authored-by: Serban <@> --- interface/Cargo.toml | 7 +++ interface/src/instruction.rs | 118 +++++++++++++++++++++++++++++++++++ interface/src/state.rs | 65 +++++++++++++++++++ 3 files changed, 190 insertions(+) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 45c569d..e3f7010 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -7,12 +7,19 @@ repository = "https://github.com/solana-labs/solana-program-library" license = "Apache-2.0" edition = "2021" +[features] +serde-traits = ["serde"] + [dependencies] borsh = "0.10" solana-program = "1.16.3" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } +serde = { version = "1.0.183", optional = true } + +[dev-dependencies] +serde_json = "1.0.105" [lib] crate-type = ["cdylib", "lib"] diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index 10e5831..9b93c69 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -11,7 +11,12 @@ use { spl_discriminator::{discriminator::ArrayDiscriminator, SplDiscriminate}, }; +#[cfg(feature = "serde-traits")] +use serde::{Deserialize, Serialize}; + /// Initialization instruction data +#[cfg_attr(feature = "serde-traits", derive(Serialize, Deserialize))] +#[cfg_attr(feature = "serde-traits", serde(rename_all = "camelCase"))] #[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] #[discriminator_hash_input("spl_token_metadata_interface:initialize_account")] pub struct Initialize { @@ -24,6 +29,8 @@ pub struct Initialize { } /// Update field instruction data +#[cfg_attr(feature = "serde-traits", derive(Serialize, Deserialize))] +#[cfg_attr(feature = "serde-traits", serde(rename_all = "camelCase"))] #[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] #[discriminator_hash_input("spl_token_metadata_interface:updating_field")] pub struct UpdateField { @@ -34,6 +41,8 @@ pub struct UpdateField { } /// Remove key instruction data +#[cfg_attr(feature = "serde-traits", derive(Serialize, Deserialize))] +#[cfg_attr(feature = "serde-traits", serde(rename_all = "camelCase"))] #[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] #[discriminator_hash_input("spl_token_metadata_interface:remove_key_ix")] pub struct RemoveKey { @@ -46,6 +55,8 @@ pub struct RemoveKey { /// Update authority instruction data #[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] +#[cfg_attr(feature = "serde-traits", derive(Serialize, Deserialize))] +#[cfg_attr(feature = "serde-traits", serde(rename_all = "camelCase"))] #[discriminator_hash_input("spl_token_metadata_interface:update_the_authority")] pub struct UpdateAuthority { /// New authority for the token metadata, or unset if `None` @@ -53,6 +64,8 @@ pub struct UpdateAuthority { } /// Instruction data for Emit +#[cfg_attr(feature = "serde-traits", derive(Serialize, Deserialize))] +#[cfg_attr(feature = "serde-traits", serde(rename_all = "camelCase"))] #[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize, SplDiscriminate)] #[discriminator_hash_input("spl_token_metadata_interface:emitter")] pub struct Emit { @@ -63,6 +76,8 @@ pub struct Emit { } /// All instructions that must be implemented in the token-metadata interface +#[cfg_attr(feature = "serde-traits", derive(Serialize, Deserialize))] +#[cfg_attr(feature = "serde-traits", serde(rename_all = "camelCase"))] #[derive(Clone, Debug, PartialEq)] pub enum TokenMetadataInstruction { /// Initializes a TLV entry with the basic token-metadata fields. @@ -306,6 +321,9 @@ pub fn emit( mod test { use {super::*, crate::NAMESPACE, solana_program::hash}; + #[cfg(feature = "serde-traits")] + use std::str::FromStr; + fn check_pack_unpack( instruction: TokenMetadataInstruction, discriminator: &[u8], @@ -384,4 +402,104 @@ mod test { let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } + + #[cfg(feature = "serde-traits")] + #[test] + fn initialize_serde() { + let data = Initialize { + name: "Token Name".to_string(), + symbol: "TST".to_string(), + uri: "uri.test".to_string(), + }; + let ix = TokenMetadataInstruction::Initialize(data); + let serialized = serde_json::to_string(&ix).unwrap(); + let serialized_expected = + "{\"initialize\":{\"name\":\"Token Name\",\"symbol\":\"TST\",\"uri\":\"uri.test\"}}"; + assert_eq!(&serialized, serialized_expected); + + let deserialized = serde_json::from_str::(&serialized).unwrap(); + assert_eq!(ix, deserialized); + } + + #[cfg(feature = "serde-traits")] + #[test] + fn update_field_serde() { + let data = UpdateField { + field: Field::Key("MyField".to_string()), + value: "my field value".to_string(), + }; + let ix = TokenMetadataInstruction::UpdateField(data); + let serialized = serde_json::to_string(&ix).unwrap(); + let serialized_expected = + "{\"updateField\":{\"field\":{\"key\":\"MyField\"},\"value\":\"my field value\"}}"; + assert_eq!(&serialized, serialized_expected); + + let deserialized = serde_json::from_str::(&serialized).unwrap(); + assert_eq!(ix, deserialized); + } + + #[cfg(feature = "serde-traits")] + #[test] + fn remove_key_serde() { + let data = RemoveKey { + key: "MyTestField".to_string(), + idempotent: true, + }; + let ix = TokenMetadataInstruction::RemoveKey(data); + let serialized = serde_json::to_string(&ix).unwrap(); + let serialized_expected = "{\"removeKey\":{\"idempotent\":true,\"key\":\"MyTestField\"}}"; + assert_eq!(&serialized, serialized_expected); + + let deserialized = serde_json::from_str::(&serialized).unwrap(); + assert_eq!(ix, deserialized); + } + + #[cfg(feature = "serde-traits")] + #[test] + fn update_authority_serde() { + let update_authority_option: Option = + Some(Pubkey::from_str("4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM").unwrap()); + let update_authority: OptionalNonZeroPubkey = update_authority_option.try_into().unwrap(); + let data = UpdateAuthority { + new_authority: update_authority, + }; + let ix = TokenMetadataInstruction::UpdateAuthority(data); + let serialized = serde_json::to_string(&ix).unwrap(); + let serialized_expected = "{\"updateAuthority\":{\"newAuthority\":\"4uQeVj5tqViQh7yWWGStvkEG1Zmhx6uasJtWCJziofM\"}}"; + assert_eq!(&serialized, serialized_expected); + + let deserialized = serde_json::from_str::(&serialized).unwrap(); + assert_eq!(ix, deserialized); + } + + #[cfg(feature = "serde-traits")] + #[test] + fn update_authority_serde_with_none() { + let data = UpdateAuthority { + new_authority: OptionalNonZeroPubkey::default(), + }; + let ix = TokenMetadataInstruction::UpdateAuthority(data); + let serialized = serde_json::to_string(&ix).unwrap(); + let serialized_expected = "{\"updateAuthority\":{\"newAuthority\":null}}"; + assert_eq!(&serialized, serialized_expected); + + let deserialized = serde_json::from_str::(&serialized).unwrap(); + assert_eq!(ix, deserialized); + } + + #[cfg(feature = "serde-traits")] + #[test] + fn emit_serde() { + let data = Emit { + start: None, + end: Some(10), + }; + let ix = TokenMetadataInstruction::Emit(data); + let serialized = serde_json::to_string(&ix).unwrap(); + let serialized_expected = "{\"emit\":{\"start\":null,\"end\":10}}"; + assert_eq!(&serialized, serialized_expected); + + let deserialized = serde_json::from_str::(&serialized).unwrap(); + assert_eq!(ix, deserialized); + } } diff --git a/interface/src/state.rs b/interface/src/state.rs index 075e9d5..a029bff 100644 --- a/interface/src/state.rs +++ b/interface/src/state.rs @@ -15,6 +15,15 @@ use { std::convert::TryFrom, }; +#[cfg(feature = "serde-traits")] +use { + serde::{ + de::{Error, Unexpected, Visitor}, + {Deserialize, Deserializer, Serialize, Serializer}, + }, + std::{fmt, str::FromStr}, +}; + /// A Pubkey that encodes `None` as all `0`, meant to be usable as a Pod type, /// similar to all NonZero* number types from the bytemuck library. #[derive(Clone, Debug, Default, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] @@ -45,6 +54,60 @@ impl From for Option { } } +#[cfg(feature = "serde-traits")] +impl Serialize for OptionalNonZeroPubkey { + fn serialize(&self, s: S) -> Result + where + S: Serializer, + { + if self.0 == Pubkey::default() { + s.serialize_none() + } else { + s.serialize_some(&self.0.to_string()) + } + } +} + +#[cfg(feature = "serde-traits")] +impl<'de> Deserialize<'de> for OptionalNonZeroPubkey { + fn deserialize(deserializer: D) -> Result + where + D: Deserializer<'de>, + { + deserializer.deserialize_any(OptionalNonZeroPubkeyVisitor) + } +} + +/// Visitor for deserializing OptionalNonZeroPubkey +#[cfg(feature = "serde-traits")] +struct OptionalNonZeroPubkeyVisitor; + +#[cfg(feature = "serde-traits")] +impl<'de> Visitor<'de> for OptionalNonZeroPubkeyVisitor { + type Value = OptionalNonZeroPubkey; + + fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { + formatter.write_str("a Pubkey in base58 or `null`") + } + + fn visit_str(self, v: &str) -> Result + where + E: Error, + { + let pkey = Pubkey::from_str(&v) + .map_err(|_| Error::invalid_value(Unexpected::Str(v), &"value string"))?; + + Ok(OptionalNonZeroPubkey(pkey)) + } + + fn visit_unit(self) -> Result + where + E: Error, + { + Ok(OptionalNonZeroPubkey(Pubkey::default())) + } +} + /// Data struct for all token-metadata, stored in a TLV entry /// /// The type and length parts must be handled by the TLV library, and not stored @@ -137,6 +200,8 @@ impl VariableLenPack for TokenMetadata { } /// Fields in the metadata account, used for updating +#[cfg_attr(feature = "serde-traits", derive(Serialize, Deserialize))] +#[cfg_attr(feature = "serde-traits", serde(rename_all = "camelCase"))] #[derive(Clone, Debug, PartialEq, BorshSerialize, BorshDeserialize)] pub enum Field { /// The name field, corresponding to `TokenMetadata.name` From c22c1100e1caa1d6803ac6dd48da340e10c9eefc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Aug 2023 12:22:18 +0200 Subject: [PATCH 017/473] build(deps): bump serde from 1.0.185 to 1.0.186 (#5097) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.185 to 1.0.186. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.186) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index e3f7010..35bcca5 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -16,7 +16,7 @@ solana-program = "1.16.3" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } -serde = { version = "1.0.183", optional = true } +serde = { version = "1.0.186", optional = true } [dev-dependencies] serde_json = "1.0.105" From f0ea13a71d8f1607c96e36c17a7e732c7ad64912 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Aug 2023 22:34:40 +0200 Subject: [PATCH 018/473] build(deps): bump serde from 1.0.186 to 1.0.187 (#5124) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.186 to 1.0.187. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.186...v1.0.187) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 35bcca5..dac2865 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -16,7 +16,7 @@ solana-program = "1.16.3" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } -serde = { version = "1.0.186", optional = true } +serde = { version = "1.0.187", optional = true } [dev-dependencies] serde_json = "1.0.105" From 0168d6978fde9e828a79b137b8d95fbe6f5062c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 21:07:22 +0200 Subject: [PATCH 019/473] build(deps): bump serde from 1.0.187 to 1.0.188 (#5130) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.187 to 1.0.188. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.187...v1.0.188) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index dac2865..e36b498 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -16,7 +16,7 @@ solana-program = "1.16.3" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } -serde = { version = "1.0.187", optional = true } +serde = { version = "1.0.188", optional = true } [dev-dependencies] serde_json = "1.0.105" From 0e54d17f1a8fe78ed19dc5ebb36ab0f3be1f3d85 Mon Sep 17 00:00:00 2001 From: serbangv Date: Wed, 30 Aug 2023 19:26:27 +0300 Subject: [PATCH 020/473] Move Pod types to separate library (#5119) * Move Pod types to separate library - just move code * Move Pod types to separate library - add/modify logic and tests * Move Pod types to separate library - small test changes * Move Pod types to separate library - small test changes * Move Pod types to separate library - small test changes --------- Co-authored-by: Serban <@> --- interface/Cargo.toml | 5 +- interface/src/instruction.rs | 3 +- interface/src/state.rs | 94 +------------------------------ program/Cargo.toml | 1 + program/src/processor.rs | 5 +- program/tests/program_test.rs | 2 +- program/tests/update_authority.rs | 9 ++- 7 files changed, 16 insertions(+), 103 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index e36b498..75a8646 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -8,15 +8,16 @@ license = "Apache-2.0" edition = "2021" [features] -serde-traits = ["serde"] +serde-traits = ["serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" +serde = { version = "1.0.188", optional = true } solana-program = "1.16.3" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } -serde = { version = "1.0.188", optional = true } +spl-pod = { version = "0.1.0", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] serde_json = "1.0.105" diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index 9b93c69..30865d3 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -1,7 +1,7 @@ //! Instruction types use { - crate::state::{Field, OptionalNonZeroPubkey}, + crate::state::Field, borsh::{BorshDeserialize, BorshSerialize}, solana_program::{ instruction::{AccountMeta, Instruction}, @@ -9,6 +9,7 @@ use { pubkey::Pubkey, }, spl_discriminator::{discriminator::ArrayDiscriminator, SplDiscriminate}, + spl_pod::optional_keys::OptionalNonZeroPubkey, }; #[cfg(feature = "serde-traits")] diff --git a/interface/src/state.rs b/interface/src/state.rs index a029bff..d8b140c 100644 --- a/interface/src/state.rs +++ b/interface/src/state.rs @@ -8,105 +8,15 @@ use { pubkey::Pubkey, }, spl_discriminator::{ArrayDiscriminator, SplDiscriminate}, + spl_pod::optional_keys::OptionalNonZeroPubkey, spl_type_length_value::{ state::{TlvState, TlvStateBorrowed}, variable_len_pack::VariableLenPack, }, - std::convert::TryFrom, }; #[cfg(feature = "serde-traits")] -use { - serde::{ - de::{Error, Unexpected, Visitor}, - {Deserialize, Deserializer, Serialize, Serializer}, - }, - std::{fmt, str::FromStr}, -}; - -/// A Pubkey that encodes `None` as all `0`, meant to be usable as a Pod type, -/// similar to all NonZero* number types from the bytemuck library. -#[derive(Clone, Debug, Default, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)] -#[repr(transparent)] -pub struct OptionalNonZeroPubkey(Pubkey); -impl TryFrom> for OptionalNonZeroPubkey { - type Error = ProgramError; - fn try_from(p: Option) -> Result { - match p { - None => Ok(Self(Pubkey::default())), - Some(pubkey) => { - if pubkey == Pubkey::default() { - Err(ProgramError::InvalidArgument) - } else { - Ok(Self(pubkey)) - } - } - } - } -} -impl From for Option { - fn from(p: OptionalNonZeroPubkey) -> Self { - if p.0 == Pubkey::default() { - None - } else { - Some(p.0) - } - } -} - -#[cfg(feature = "serde-traits")] -impl Serialize for OptionalNonZeroPubkey { - fn serialize(&self, s: S) -> Result - where - S: Serializer, - { - if self.0 == Pubkey::default() { - s.serialize_none() - } else { - s.serialize_some(&self.0.to_string()) - } - } -} - -#[cfg(feature = "serde-traits")] -impl<'de> Deserialize<'de> for OptionalNonZeroPubkey { - fn deserialize(deserializer: D) -> Result - where - D: Deserializer<'de>, - { - deserializer.deserialize_any(OptionalNonZeroPubkeyVisitor) - } -} - -/// Visitor for deserializing OptionalNonZeroPubkey -#[cfg(feature = "serde-traits")] -struct OptionalNonZeroPubkeyVisitor; - -#[cfg(feature = "serde-traits")] -impl<'de> Visitor<'de> for OptionalNonZeroPubkeyVisitor { - type Value = OptionalNonZeroPubkey; - - fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { - formatter.write_str("a Pubkey in base58 or `null`") - } - - fn visit_str(self, v: &str) -> Result - where - E: Error, - { - let pkey = Pubkey::from_str(&v) - .map_err(|_| Error::invalid_value(Unexpected::Str(v), &"value string"))?; - - Ok(OptionalNonZeroPubkey(pkey)) - } - - fn visit_unit(self) -> Result - where - E: Error, - { - Ok(OptionalNonZeroPubkey(Pubkey::default())) - } -} +use serde::{Deserialize, Serialize}; /// Data struct for all token-metadata, stored in a TLV entry /// diff --git a/program/Cargo.toml b/program/Cargo.toml index a7a338c..d741e5d 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -16,6 +16,7 @@ solana-program = "1.16.3" spl-token-2022 = { version = "0.7", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value" } +spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "1.16.3" diff --git a/program/src/processor.rs b/program/src/processor.rs index ca817ca..234ff41 100644 --- a/program/src/processor.rs +++ b/program/src/processor.rs @@ -11,13 +11,14 @@ use { program_option::COption, pubkey::Pubkey, }, + spl_pod::optional_keys::OptionalNonZeroPubkey, spl_token_2022::{extension::StateWithExtensions, state::Mint}, spl_token_metadata_interface::{ error::TokenMetadataError, instruction::{ Emit, Initialize, RemoveKey, TokenMetadataInstruction, UpdateAuthority, UpdateField, }, - state::{OptionalNonZeroPubkey, TokenMetadata}, + state::TokenMetadata, }, spl_type_length_value::state::{ realloc_and_pack_first_variable_len, TlvState, TlvStateBorrowed, TlvStateMut, @@ -31,7 +32,7 @@ fn check_update_authority( if !update_authority_info.is_signer { return Err(ProgramError::MissingRequiredSignature); } - let update_authority = Option::::from(expected_update_authority.clone()) + let update_authority = Option::::from(*expected_update_authority) .ok_or(TokenMetadataError::ImmutableMetadata)?; if update_authority != *update_authority_info.key { return Err(TokenMetadataError::IncorrectUpdateAuthority.into()); diff --git a/program/tests/program_test.rs b/program/tests/program_test.rs index 561b4ab..19e91ee 100644 --- a/program/tests/program_test.rs +++ b/program/tests/program_test.rs @@ -101,7 +101,7 @@ pub async fn setup_metadata( initialize( metadata_program_id, &metadata_keypair.pubkey(), - &Option::::from(token_metadata.update_authority.clone()).unwrap(), + &Option::::from(token_metadata.update_authority).unwrap(), mint, &mint_authority.pubkey(), token_metadata.name.clone(), diff --git a/program/tests/update_authority.rs b/program/tests/update_authority.rs index 0ff61c1..cb2251b 100644 --- a/program/tests/update_authority.rs +++ b/program/tests/update_authority.rs @@ -11,10 +11,9 @@ use { signer::keypair::Keypair, transaction::{Transaction, TransactionError}, }, + spl_pod::optional_keys::OptionalNonZeroPubkey, spl_token_metadata_interface::{ - error::TokenMetadataError, - instruction::update_authority, - state::{OptionalNonZeroPubkey, TokenMetadata}, + error::TokenMetadataError, instruction::update_authority, state::TokenMetadata, }, spl_type_length_value::state::{TlvState, TlvStateBorrowed}, }; @@ -68,14 +67,14 @@ async fn success_update() { let new_update_authority = Keypair::new(); let new_update_authority_pubkey = OptionalNonZeroPubkey::try_from(Some(new_update_authority.pubkey())).unwrap(); - token_metadata.update_authority = new_update_authority_pubkey.clone(); + token_metadata.update_authority = new_update_authority_pubkey; let transaction = Transaction::new_signed_with_payer( &[update_authority( &program_id, &metadata_pubkey, &authority.pubkey(), - new_update_authority_pubkey.clone(), + new_update_authority_pubkey, )], Some(&payer.pubkey()), &[&payer, &authority], From c6b06a9e9fd85593c16a9f827d73f6e52437886d Mon Sep 17 00:00:00 2001 From: serbangv Date: Thu, 31 Aug 2023 19:35:51 +0200 Subject: [PATCH 021/473] Serde optional dependencies clean-up (#5181) Co-authored-by: Serban <@> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 75a8646..96796e6 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" edition = "2021" [features] -serde-traits = ["serde", "spl-pod/serde-traits"] +serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" From 95ed920689c64546c4c28048a645cb469cfdf7ed Mon Sep 17 00:00:00 2001 From: Joe C Date: Fri, 1 Sep 2023 11:40:34 -0600 Subject: [PATCH 022/473] SPL errors from hashes (#5169) * SPL errors from hashes * hashed error code is first variant only * add check for collision error codes * address feedback! * stupid `0`! --- interface/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/error.rs b/interface/src/error.rs index a0ebd0b..3f5b243 100644 --- a/interface/src/error.rs +++ b/interface/src/error.rs @@ -3,7 +3,7 @@ use spl_program_error::*; /// Errors that may be returned by the interface. -#[spl_program_error] +#[spl_program_error(hash_error_code_start = 901_952_957)] pub enum TokenMetadataError { /// Incorrect account provided #[error("Incorrect account provided")] From ffa83446f460d23b0a662dc045b48d1a3ff67934 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Fri, 1 Sep 2023 21:55:38 +0200 Subject: [PATCH 023/473] release: Bump token-2022 and all dependencies (#5189) * release: Bump token-2022 and all dependencies In order to release a new token-2022, we need to bump its version and every local crate that it depends on. That means the following: * spl-token-2022 * spl-program-error * spl-tlv-account-resolution * spl-type-length-value * spl-token-metadata-interface * spl-token-metadata-example * spl-transfer-hook-interface * spl-transfer-hook-example * spl-token-client (this one's not needed, but it's cleaner) * Also bump spl-token-cli * Also bump associated-token-account --- interface/Cargo.toml | 10 +++++----- program/Cargo.toml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 96796e6..e12ad1e 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.1.0" +version = "0.2.0" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -14,10 +14,10 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] borsh = "0.10" serde = { version = "1.0.188", optional = true } solana-program = "1.16.3" -spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } -spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } -spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.1.0", path = "../../libraries/pod", features = ["borsh"] } +spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } +spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } +spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } +spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] serde_json = "1.0.105" diff --git a/program/Cargo.toml b/program/Cargo.toml index d741e5d..2186279 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-example" -version = "0.1.0" +version = "0.2.0" description = "Solana Program Library Token Metadata Example Program" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -13,15 +13,15 @@ test-sbf = [] [dependencies] solana-program = "1.16.3" -spl-token-2022 = { version = "0.7", path = "../../token/program-2022" } -spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } -spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value" } +spl-token-2022 = { version = "0.8", path = "../../token/program-2022" } +spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } +spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "1.16.3" solana-sdk = "1.16.3" -spl-token-client = { version = "0.5", path = "../../token/client" } +spl-token-client = { version = "0.6", path = "../../token/client" } test-case = "3.1" [lib] From da2acdb10567b4e959e3dabb225384200a95bc18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 09:03:43 -0400 Subject: [PATCH 024/473] build(deps): bump serde_json from 1.0.105 to 1.0.106 (#5232) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.105 to 1.0.106. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.106) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index e12ad1e..c04f982 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -20,7 +20,7 @@ spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-v spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] -serde_json = "1.0.105" +serde_json = "1.0.106" [lib] crate-type = ["cdylib", "lib"] From 7e3bf1c4e47cc2e2dcc0f5a1a78a4e687d6e5085 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 12:01:58 +0200 Subject: [PATCH 025/473] build(deps): bump serde_json from 1.0.106 to 1.0.107 (#5275) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.106 to 1.0.107. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.106...v1.0.107) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index c04f982..3acb87a 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -20,7 +20,7 @@ spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-v spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] -serde_json = "1.0.106" +serde_json = "1.0.107" [lib] crate-type = ["cdylib", "lib"] From ab04b7fdb2beb2f765b4280f5505e850181148fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:58:20 +0200 Subject: [PATCH 026/473] build(deps): bump test-case from 3.1.0 to 3.2.1 (#5295) Bumps [test-case](https://github.com/frondeus/test-case) from 3.1.0 to 3.2.1. - [Release notes](https://github.com/frondeus/test-case/releases) - [Changelog](https://github.com/frondeus/test-case/blob/master/CHANGELOG.md) - [Commits](https://github.com/frondeus/test-case/compare/v3.1.0...v3.2.1) --- updated-dependencies: - dependency-name: test-case dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 2186279..7027b8c 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.1.0", path = "../../libraries/pod" } solana-program-test = "1.16.3" solana-sdk = "1.16.3" spl-token-client = { version = "0.6", path = "../../token/client" } -test-case = "3.1" +test-case = "3.2" [lib] crate-type = ["cdylib", "lib"] From 81c95f20667358c9ca7f12c877eb8738fdd75651 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Thu, 21 Sep 2023 10:44:57 +0200 Subject: [PATCH 027/473] Bump repo to 1.16.13 (#5324) * Run update script * Update everything to use non-deprecated functions --- interface/Cargo.toml | 2 +- interface/src/state.rs | 2 +- program/Cargo.toml | 6 +++--- program/src/processor.rs | 2 +- program/tests/emit.rs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 3acb87a..101095f 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" serde = { version = "1.0.188", optional = true } -solana-program = "1.16.3" +solana-program = "1.16.13" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } diff --git a/interface/src/state.rs b/interface/src/state.rs index d8b140c..08e5429 100644 --- a/interface/src/state.rs +++ b/interface/src/state.rs @@ -3,7 +3,7 @@ use { borsh::{BorshDeserialize, BorshSchema, BorshSerialize}, solana_program::{ - borsh::{get_instance_packed_len, try_from_slice_unchecked}, + borsh0_10::{get_instance_packed_len, try_from_slice_unchecked}, program_error::ProgramError, pubkey::Pubkey, }, diff --git a/program/Cargo.toml b/program/Cargo.toml index 7027b8c..4982515 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "1.16.3" +solana-program = "1.16.13" spl-token-2022 = { version = "0.8", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = "1.16.3" -solana-sdk = "1.16.3" +solana-program-test = "1.16.13" +solana-sdk = "1.16.13" spl-token-client = { version = "0.6", path = "../../token/client" } test-case = "3.2" diff --git a/program/src/processor.rs b/program/src/processor.rs index 234ff41..1ff45bf 100644 --- a/program/src/processor.rs +++ b/program/src/processor.rs @@ -3,7 +3,7 @@ use { solana_program::{ account_info::{next_account_info, AccountInfo}, - borsh::get_instance_packed_len, + borsh0_10::get_instance_packed_len, entrypoint::ProgramResult, msg, program::set_return_data, diff --git a/program/tests/emit.rs b/program/tests/emit.rs index c311b73..00ef924 100644 --- a/program/tests/emit.rs +++ b/program/tests/emit.rs @@ -5,7 +5,7 @@ use { program_test::{setup, setup_metadata, setup_mint}, solana_program_test::tokio, solana_sdk::{ - borsh::try_from_slice_unchecked, program::MAX_RETURN_DATA, pubkey::Pubkey, + borsh0_10::try_from_slice_unchecked, program::MAX_RETURN_DATA, pubkey::Pubkey, signature::Signer, signer::keypair::Keypair, transaction::Transaction, }, spl_token_metadata_interface::{ From a4c534d6928422a99d526ed11dca7bd74517d932 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Tue, 26 Sep 2023 17:40:25 +0200 Subject: [PATCH 028/473] release: Bump tlv-account-resolution and dependents (#5367) --- program/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 4982515..393248d 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = "1.16.13" -spl-token-2022 = { version = "0.8", path = "../../token/program-2022" } +spl-token-2022 = { version = "0.9", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } @@ -21,7 +21,7 @@ spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "1.16.13" solana-sdk = "1.16.13" -spl-token-client = { version = "0.6", path = "../../token/client" } +spl-token-client = { version = "0.7", path = "../../token/client" } test-case = "3.2" [lib] From 509c68e2357a4eff89858bd19deaf1eb7d03091c Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Tue, 10 Oct 2023 21:02:47 -0400 Subject: [PATCH 029/473] chore: Bump Solana crates to 1.16.16 (#5494) --- interface/Cargo.toml | 2 +- program/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 101095f..04b1af8 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" serde = { version = "1.0.188", optional = true } -solana-program = "1.16.13" +solana-program = "1.16.16" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } diff --git a/program/Cargo.toml b/program/Cargo.toml index 393248d..8fa6434 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "1.16.13" +solana-program = "1.16.16" spl-token-2022 = { version = "0.9", path = "../../token/program-2022" } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = "1.16.13" -solana-sdk = "1.16.13" +solana-program-test = "1.16.16" +solana-sdk = "1.16.16" spl-token-client = { version = "0.7", path = "../../token/client" } test-case = "3.2" From a7929445a69b3e098f5e6f1f5fdabe2b4b37ed7a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Oct 2023 10:31:28 -0400 Subject: [PATCH 030/473] build(deps): bump serde from 1.0.188 to 1.0.189 (#5523) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.188 to 1.0.189. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.189) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 04b1af8..dc3475b 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" -serde = { version = "1.0.188", optional = true } +serde = { version = "1.0.189", optional = true } solana-program = "1.16.16" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } From 33e7baf7bd42ddd337fd8d6940a239fa5373aff7 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Thu, 19 Oct 2023 18:04:18 +0200 Subject: [PATCH 031/473] ci: Bump repo to Solana 1.17 (#5575) * Update workspace for new cargo resolver, remove ntapi patch * Update Rust versions * Update dependencies with `./update-solana-dependencies.sh 1.17.2` * Update lockfile * Fix build errors * Run clippy with `--fix` * concurrent-merkle-tree: Fix function to not use mutable ref * Replace StakeState with StakeStateV2 * governance: Fix clippy lint * governance: Fix unnecessary mut * Allow `clippy::items_after_module` * token: Make error tests clearer * token-2022: Fix private glob re-export * token-upgrade-cli: Replace validator with parser * single-pool-cli: Fix parsers * ci: Update clippy command * Update anchor version * token-metadata: Use `no-entrypoint` feature in token-2022 * ci: Add protobuf-compiler to build deps * discriminator-syn: *Don't* specify type of lib to build * ci: Blast directories in cargo-build-test * account-compression: Update build and lockfile * Update token-group and feature-gate * single-pool: revert WrongStakeStateV2 * stake-pool: revert WrongStakeStateV2 * stake-pool-py: revert StakeStateV2 --------- Co-authored-by: hanako mumei <81144685+2501babe@users.noreply.github.com> --- interface/Cargo.toml | 2 +- interface/src/lib.rs | 2 +- program/Cargo.toml | 8 ++++---- program/src/lib.rs | 2 +- program/tests/update_field.rs | 1 + 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index dc3475b..d389ea9 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" serde = { version = "1.0.189", optional = true } -solana-program = "1.16.16" +solana-program = "1.17.2" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } diff --git a/interface/src/lib.rs b/interface/src/lib.rs index b668ba0..5f1ec04 100644 --- a/interface/src/lib.rs +++ b/interface/src/lib.rs @@ -1,6 +1,6 @@ //! Crate defining an interface for token-metadata -#![allow(clippy::integer_arithmetic)] +#![allow(clippy::arithmetic_side_effects)] #![deny(missing_docs)] #![cfg_attr(not(test), forbid(unsafe_code))] diff --git a/program/Cargo.toml b/program/Cargo.toml index 8fa6434..429eb40 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "1.16.16" -spl-token-2022 = { version = "0.9", path = "../../token/program-2022" } +solana-program = "1.17.2" +spl-token-2022 = { version = "0.9", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = "1.16.16" -solana-sdk = "1.16.16" +solana-program-test = "1.17.2" +solana-sdk = "1.17.2" spl-token-client = { version = "0.7", path = "../../token/client" } test-case = "3.2" diff --git a/program/src/lib.rs b/program/src/lib.rs index e027144..db86409 100644 --- a/program/src/lib.rs +++ b/program/src/lib.rs @@ -1,6 +1,6 @@ //! Crate defining an example program for storing SPL token metadata -#![allow(clippy::integer_arithmetic)] +#![allow(clippy::arithmetic_side_effects)] #![deny(missing_docs)] #![cfg_attr(not(test), forbid(unsafe_code))] diff --git a/program/tests/update_field.rs b/program/tests/update_field.rs index e2454df..d44356d 100644 --- a/program/tests/update_field.rs +++ b/program/tests/update_field.rs @@ -1,4 +1,5 @@ #![cfg(feature = "test-sbf")] +#![allow(clippy::items_after_test_module)] mod program_test; use { From a150c37c28b14c84b018cec7f797e3d549b43612 Mon Sep 17 00:00:00 2001 From: mistersimon <779959+mistersimon@users.noreply.github.com> Date: Tue, 24 Oct 2023 16:24:13 +0800 Subject: [PATCH 032/473] WIP: SPL Token Metadata JS Library (#5292) --- clients/js-legacy/.eslintignore | 5 + clients/js-legacy/.eslintrc | 34 + clients/js-legacy/.gitignore | 13 + clients/js-legacy/.mocharc.json | 5 + clients/js-legacy/.nojekyll | 0 clients/js-legacy/.prettierignore | 5 + clients/js-legacy/.prettierrc | 7 + clients/js-legacy/LICENSE | 202 + clients/js-legacy/README.md | 61 + clients/js-legacy/package-lock.json | 6493 ++++++++++++++++++++ clients/js-legacy/package.json | 79 + clients/js-legacy/src/errors.ts | 39 + clients/js-legacy/src/field.ts | 30 + clients/js-legacy/src/index.ts | 4 + clients/js-legacy/src/instruction.ts | 173 + clients/js-legacy/src/state.ts | 68 + clients/js-legacy/test/instruction.test.ts | 166 + clients/js-legacy/test/state.test.ts | 98 + clients/js-legacy/tsconfig.all.json | 11 + clients/js-legacy/tsconfig.base.json | 14 + clients/js-legacy/tsconfig.cjs.json | 10 + clients/js-legacy/tsconfig.esm.json | 13 + clients/js-legacy/tsconfig.json | 8 + clients/js-legacy/tsconfig.root.json | 6 + clients/js-legacy/typedoc.json | 5 + 25 files changed, 7549 insertions(+) create mode 100644 clients/js-legacy/.eslintignore create mode 100644 clients/js-legacy/.eslintrc create mode 100644 clients/js-legacy/.gitignore create mode 100644 clients/js-legacy/.mocharc.json create mode 100644 clients/js-legacy/.nojekyll create mode 100644 clients/js-legacy/.prettierignore create mode 100644 clients/js-legacy/.prettierrc create mode 100644 clients/js-legacy/LICENSE create mode 100644 clients/js-legacy/README.md create mode 100644 clients/js-legacy/package-lock.json create mode 100644 clients/js-legacy/package.json create mode 100644 clients/js-legacy/src/errors.ts create mode 100644 clients/js-legacy/src/field.ts create mode 100644 clients/js-legacy/src/index.ts create mode 100644 clients/js-legacy/src/instruction.ts create mode 100644 clients/js-legacy/src/state.ts create mode 100644 clients/js-legacy/test/instruction.test.ts create mode 100644 clients/js-legacy/test/state.test.ts create mode 100644 clients/js-legacy/tsconfig.all.json create mode 100644 clients/js-legacy/tsconfig.base.json create mode 100644 clients/js-legacy/tsconfig.cjs.json create mode 100644 clients/js-legacy/tsconfig.esm.json create mode 100644 clients/js-legacy/tsconfig.json create mode 100644 clients/js-legacy/tsconfig.root.json create mode 100644 clients/js-legacy/typedoc.json diff --git a/clients/js-legacy/.eslintignore b/clients/js-legacy/.eslintignore new file mode 100644 index 0000000..6da325e --- /dev/null +++ b/clients/js-legacy/.eslintignore @@ -0,0 +1,5 @@ +docs +lib +test-ledger + +package-lock.json diff --git a/clients/js-legacy/.eslintrc b/clients/js-legacy/.eslintrc new file mode 100644 index 0000000..5aef10a --- /dev/null +++ b/clients/js-legacy/.eslintrc @@ -0,0 +1,34 @@ +{ + "root": true, + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:prettier/recommended", + "plugin:require-extensions/recommended" + ], + "parser": "@typescript-eslint/parser", + "plugins": [ + "@typescript-eslint", + "prettier", + "require-extensions" + ], + "rules": { + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-empty-interface": "off", + "@typescript-eslint/consistent-type-imports": "error" + }, + "overrides": [ + { + "files": [ + "examples/**/*", + "test/**/*" + ], + "rules": { + "require-extensions/require-extensions": "off", + "require-extensions/require-index": "off" + } + } + ] +} diff --git a/clients/js-legacy/.gitignore b/clients/js-legacy/.gitignore new file mode 100644 index 0000000..21f33db --- /dev/null +++ b/clients/js-legacy/.gitignore @@ -0,0 +1,13 @@ +.idea +.vscode +.DS_Store + +node_modules + +pnpm-lock.yaml +yarn.lock + +docs +lib +test-ledger +*.tsbuildinfo diff --git a/clients/js-legacy/.mocharc.json b/clients/js-legacy/.mocharc.json new file mode 100644 index 0000000..451c14c --- /dev/null +++ b/clients/js-legacy/.mocharc.json @@ -0,0 +1,5 @@ +{ + "extension": ["ts"], + "node-option": ["experimental-specifier-resolution=node", "loader=ts-node/esm"], + "timeout": 5000 +} diff --git a/clients/js-legacy/.nojekyll b/clients/js-legacy/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/clients/js-legacy/.prettierignore b/clients/js-legacy/.prettierignore new file mode 100644 index 0000000..6da325e --- /dev/null +++ b/clients/js-legacy/.prettierignore @@ -0,0 +1,5 @@ +docs +lib +test-ledger + +package-lock.json diff --git a/clients/js-legacy/.prettierrc b/clients/js-legacy/.prettierrc new file mode 100644 index 0000000..b9ce4c1 --- /dev/null +++ b/clients/js-legacy/.prettierrc @@ -0,0 +1,7 @@ +{ + "printWidth": 120, + "trailingComma": "es5", + "tabWidth": 4, + "semi": true, + "singleQuote": true +} \ No newline at end of file diff --git a/clients/js-legacy/LICENSE b/clients/js-legacy/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/clients/js-legacy/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/clients/js-legacy/README.md b/clients/js-legacy/README.md new file mode 100644 index 0000000..851a95d --- /dev/null +++ b/clients/js-legacy/README.md @@ -0,0 +1,61 @@ +# `@solana/spl-token-metadata` + +A TypeScript interface describing the instructions required for a program to implement to be considered a "token-metadata" program for SPL token mints. The interface can be implemented by any program. + +## Links + +- [TypeScript Docs](https://solana-labs.github.io/solana-program-library/token-metadata/js/) +- [FAQs (Frequently Asked Questions)](#faqs) +- [Install](#install) +- [Build from Source](#build-from-source) + +## FAQs + +### How can I get support? + +Please ask questions in the Solana Stack Exchange: https://solana.stackexchange.com/ + +If you've found a bug or you'd like to request a feature, please +[open an issue](https://github.com/solana-labs/solana-program-library/issues/new). + +## Install + +```shell +npm install --save @solana/spl-token-metadata @solana/web3.js +``` +_OR_ +```shell +yarn add @solana/spl-token-metadata @solana/web3.js +``` + +## Build from Source + +0. Prerequisites + +* Node 16+ +* NPM 8+ + +1. Clone the project: +```shell +git clone https://github.com/solana-labs/solana-program-library.git +``` + +2. Navigate to the library: +```shell +cd solana-program-library/token-metadata/js +``` + +3. Install the dependencies: +```shell +npm install +``` + +4. Build the library: +```shell +npm run build +``` + +5. Build the on-chain programs: +```shell +npm run test:build-programs +``` diff --git a/clients/js-legacy/package-lock.json b/clients/js-legacy/package-lock.json new file mode 100644 index 0000000..743d380 --- /dev/null +++ b/clients/js-legacy/package-lock.json @@ -0,0 +1,6493 @@ +{ + "name": "@solana/spl-token-metadata", + "version": "0.0.1", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@solana/spl-token-metadata", + "version": "0.0.1", + "license": "Apache-2.0", + "dependencies": { + "@solana/codecs-core": "2.0.0-experimental.398c396", + "@solana/codecs-data-structures": "2.0.0-experimental.398c396", + "@solana/codecs-numbers": "2.0.0-experimental.398c396", + "@solana/codecs-strings": "2.0.0-experimental.398c396", + "@solana/options": "2.0.0-experimental.398c396", + "@solana/spl-type-length-value": "0.1.0" + }, + "devDependencies": { + "@solana/web3.js": "^1.47.4", + "@types/chai": "^4.3.3", + "@types/mocha": "^10.0.0", + "@types/node": "^20.8.7", + "@types/prettier": "^3.0.0", + "@typescript-eslint/eslint-plugin": "^6.0.0", + "@typescript-eslint/parser": "^6.0.0", + "chai": "^4.3.6", + "eslint": "^8.20.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-prettier": "^5.0.0", + "eslint-plugin-require-extensions": "^0.1.1", + "gh-pages": "^6.0.0", + "mocha": "^10.1.0", + "prettier": "^3.0.0", + "shx": "^0.3.4", + "ts-node": "^10.9.1", + "tslib": "^2.3.1", + "typedoc": "^0.25.0", + "typescript": "^5.0.4" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "@solana/web3.js": "^1.47.4" + } + }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz", + "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==", + "dev": true, + "dependencies": { + "regenerator-runtime": "^0.13.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", + "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", + "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/js": { + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", + "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.11", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", + "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "dev": true, + "license": "MIT" + }, + "node_modules/@noble/curves": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.0.0.tgz", + "integrity": "sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "@noble/hashes": "1.3.0" + } + }, + "node_modules/@noble/hashes": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", + "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@pkgr/utils": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.4.2.tgz", + "integrity": "sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "fast-glob": "^3.3.0", + "is-glob": "^4.0.3", + "open": "^9.1.0", + "picocolors": "^1.0.0", + "tslib": "^2.6.0" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/@solana/buffer-layout": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz", + "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==", + "dev": true, + "dependencies": { + "buffer": "~6.0.3" + }, + "engines": { + "node": ">=5.10" + } + }, + "node_modules/@solana/codecs-core": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-E3kJzw7K6rkmmTX1tSOdE7Qg/OFqbKiIaaT9V2PTKTVZxwssPrqogUh6aLx0wdzlSJNymy8krKG/FbXsua0FIA==" + }, + "node_modules/@solana/codecs-data-structures": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-gJxLunF1GuBXF8Mz1lfnqGjNMkIrpyTmHgk0g4PyacRCI0MvQr6d3q5oXVHfYLIaRrYPUUxvbt02sqOoOiW2dQ==", + "dependencies": { + "@solana/codecs-core": "2.0.0-experimental.398c396", + "@solana/codecs-numbers": "2.0.0-experimental.398c396" + } + }, + "node_modules/@solana/codecs-numbers": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-mmUSfO3TOL5kCb/5UCWCz0UTC0KgC864pRe9veCtJbgh5G2YDcBYNJiyKTT661yo/Y+dvrh2hZtYprhB/qxjmw==", + "dependencies": { + "@solana/codecs-core": "2.0.0-experimental.398c396" + } + }, + "node_modules/@solana/codecs-strings": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-RGj57x8pDpk5e2hnZ0dguXJlzzVVBUf93VNyp0NGmhm+oWlj5lG4nPinjLo8OunYBBlishFDZZGfCpcqivrDRg==", + "dependencies": { + "@solana/codecs-core": "2.0.0-experimental.398c396", + "@solana/codecs-numbers": "2.0.0-experimental.398c396" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22" + } + }, + "node_modules/@solana/options": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-EyHhCADS1D20zf9fZHozkGcNXAi45bux/AUwBrU0kPBY9RH67IUGxyRwRoWVIYVzsUZNWr0zoqWY5ZS4IZxzJw==", + "dependencies": { + "@solana/codecs-core": "2.0.0-experimental.398c396", + "@solana/codecs-numbers": "2.0.0-experimental.398c396" + } + }, + "node_modules/@solana/spl-type-length-value": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@solana/spl-type-length-value/-/spl-type-length-value-0.1.0.tgz", + "integrity": "sha512-JBMGB0oR4lPttOZ5XiUGyvylwLQjt1CPJa6qQ5oM+MBCndfjz2TKKkw0eATlLLcYmq1jBVsNlJ2cD6ns2GR7lA==", + "dependencies": { + "buffer": "^6.0.3" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@solana/web3.js": { + "version": "1.78.5", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.78.5.tgz", + "integrity": "sha512-2ZHsDNqkKdglJQrIvJ3p2DmgS3cGnary3VJyqt9C1SPrpAtLYzcElr3xyXJOznyQTU/8AMw+GoF11lFoKbicKg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.22.6", + "@noble/curves": "^1.0.0", + "@noble/hashes": "^1.3.1", + "@solana/buffer-layout": "^4.0.0", + "agentkeepalive": "^4.3.0", + "bigint-buffer": "^1.1.5", + "bn.js": "^5.2.1", + "borsh": "^0.7.0", + "bs58": "^4.0.1", + "buffer": "6.0.3", + "fast-stable-stringify": "^1.0.0", + "jayson": "^4.1.0", + "node-fetch": "^2.6.12", + "rpc-websockets": "^7.5.1", + "superstruct": "^0.14.2" + } + }, + "node_modules/@solana/web3.js/node_modules/@noble/hashes": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", + "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==", + "dev": true, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@solana/web3.js/node_modules/borsh": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", + "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", + "dev": true, + "dependencies": { + "bn.js": "^5.2.0", + "bs58": "^4.0.0", + "text-encoding-utf-8": "^1.0.2" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.9", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/chai": { + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.9.tgz", + "integrity": "sha512-69TtiDzu0bcmKQv3yg1Zx409/Kd7r0b5F1PfpYJfSHzLGtB53547V4u+9iqKYsTu/O2ai6KTb0TInNpvuQ3qmg==", + "dev": true + }, + "node_modules/@types/connect": { + "version": "3.4.35", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", + "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", + "dev": true + }, + "node_modules/@types/mocha": { + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.3.tgz", + "integrity": "sha512-RsOPImTriV/OE4A9qKjMtk2MnXiuLLbcO3nCXK+kvq4nr0iMfFgpjaX3MPLb6f7+EL1FGSelYvuJMV6REH+ZPQ==", + "dev": true + }, + "node_modules/@types/node": { + "version": "20.8.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", + "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", + "dev": true, + "dependencies": { + "undici-types": "~5.25.1" + } + }, + "node_modules/@types/prettier": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-3.0.0.tgz", + "integrity": "sha512-mFMBfMOz8QxhYVbuINtswBp9VL2b4Y0QqYHwqLz3YbgtfAcat2Dl6Y1o4e22S/OVE6Ebl9m7wWiMT2lSbAs1wA==", + "deprecated": "This is a stub types definition. prettier provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "prettier": "*" + } + }, + "node_modules/@types/semver": { + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==", + "dev": true + }, + "node_modules/@types/ws": { + "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.7.0.tgz", + "integrity": "sha512-gUqtknHm0TDs1LhY12K2NA3Rmlmp88jK9Tx8vGZMfHeNMLE3GH2e9TRub+y+SOjuYgtOmok+wt1AyDPZqxbNag==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.5.1", + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/type-utils": "6.7.0", + "@typescript-eslint/utils": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.4", + "natural-compare": "^1.4.0", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha", + "eslint": "^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.7.0.tgz", + "integrity": "sha512-jZKYwqNpNm5kzPVP5z1JXAuxjtl2uG+5NpaMocFPTNC2EdYIgbXIPImObOkhbONxtFTTdoZstLZefbaK+wXZng==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/typescript-estree": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.7.0.tgz", + "integrity": "sha512-lAT1Uau20lQyjoLUQ5FUMSX/dS07qux9rYd5FGzKz/Kf8W8ccuvMyldb8hadHdK/qOI7aikvQWqulnEq2nCEYA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.7.0.tgz", + "integrity": "sha512-f/QabJgDAlpSz3qduCyQT0Fw7hHpmhOzY/Rv6zO3yO+HVIdPfIWhrQoAyG+uZVtWAIS85zAyzgAFfyEr+MgBpg==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "6.7.0", + "@typescript-eslint/utils": "6.7.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.7.0.tgz", + "integrity": "sha512-ihPfvOp7pOcN/ysoj0RpBPOx3HQTJTrIN8UZK+WFd3/iDeFHHqeyYxa4hQk4rMhsz9H9mXpR61IzwlBVGXtl9Q==", + "dev": true, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.7.0.tgz", + "integrity": "sha512-dPvkXj3n6e9yd/0LfojNU8VMUGHWiLuBZvbM6V6QYD+2qxqInE7J+J/ieY2iGwR9ivf/R/haWGkIj04WVUeiSQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.7.0.tgz", + "integrity": "sha512-MfCq3cM0vh2slSikQYqK2Gq52gvOhe57vD2RM3V4gQRZYX4rDPnKLu5p6cm89+LJiGlwEXU8hkYxhqqEC/V3qA==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/typescript-estree": "6.7.0", + "semver": "^7.5.4" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.0.tgz", + "integrity": "sha512-/C1RVgKFDmGMcVGeD8HjKv2bd72oI1KxQDeY8uc66gw9R0OK0eMq48cA+jv9/2Ag6cdrsUGySm1yzYmfz0hxwQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.7.0", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/acorn": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", + "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/agentkeepalive": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", + "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "depd": "^2.0.0", + "humanize-ms": "^1.2.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-sequence-parser": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz", + "integrity": "sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==", + "dev": true + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/argparse": { + "version": "2.0.1", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/array-union": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/array-uniq": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/async": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", + "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", + "dev": true + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/base-x": { + "version": "3.0.9", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/big-integer": { + "version": "1.6.51", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", + "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/bigint-buffer": { + "version": "1.1.5", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "bindings": "^1.3.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/bindings": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "file-uri-to-path": "1.0.0" + } + }, + "node_modules/bn.js": { + "version": "5.2.1", + "dev": true, + "license": "MIT" + }, + "node_modules/bplist-parser": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz", + "integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==", + "dev": true, + "dependencies": { + "big-integer": "^1.6.44" + }, + "engines": { + "node": ">= 5.10.0" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true + }, + "node_modules/bs58": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "node_modules/buffer": { + "version": "6.0.3", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/bufferutil": { + "version": "4.0.6", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "node_modules/bundle-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-3.0.0.tgz", + "integrity": "sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==", + "dev": true, + "dependencies": { + "run-applescript": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/chai": { + "version": "4.3.10", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", + "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", + "dev": true, + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", + "pathval": "^1.1.1", + "type-detect": "^4.0.8" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/check-error": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", + "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", + "dev": true, + "dependencies": { + "get-func-name": "^2.0.2" + }, + "engines": { + "node": "*" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "dev": true, + "license": "MIT" + }, + "node_modules/commander": { + "version": "2.20.3", + "dev": true, + "license": "MIT" + }, + "node_modules/commondir": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/create-require": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/deep-eql": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", + "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", + "dev": true, + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/default-browser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-4.0.0.tgz", + "integrity": "sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==", + "dev": true, + "dependencies": { + "bundle-name": "^3.0.0", + "default-browser-id": "^3.0.0", + "execa": "^7.1.1", + "titleize": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-3.0.0.tgz", + "integrity": "sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==", + "dev": true, + "dependencies": { + "bplist-parser": "^0.2.0", + "untildify": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/delay": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", + "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/email-addresses": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/email-addresses/-/email-addresses-5.0.0.tgz", + "integrity": "sha512-4OIPYlA6JXqtVn8zpHpGiI7vE6EQOAg16aGnDMIAlZVinnoZ8208tW1hAbjWydgN/4PLTT9q+O1K6AH/vALJGw==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/es6-promise": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", + "dev": true + }, + "node_modules/es6-promisify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", + "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", + "dev": true, + "dependencies": { + "es6-promise": "^4.0.3" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", + "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.2", + "@eslint/js": "8.49.0", + "@humanwhocodes/config-array": "^0.11.11", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-prettier": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", + "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", + "dev": true, + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.0.tgz", + "integrity": "sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==", + "dev": true, + "dependencies": { + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.8.5" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/prettier" + }, + "peerDependencies": { + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "prettier": ">=3.0.0" + }, + "peerDependenciesMeta": { + "@types/eslint": { + "optional": true + }, + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-require-extensions": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-require-extensions/-/eslint-plugin-require-extensions-0.1.3.tgz", + "integrity": "sha512-T3c1PZ9PIdI3hjV8LdunfYI8gj017UQjzAnCrxuo3wAjneDbTPHdE3oNWInOjMA+z/aBkUtlW5vC0YepYMZIug==", + "dev": true, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "eslint": "*" + } + }, + "node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "node_modules/execa": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", + "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.1", + "human-signals": "^4.3.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": "^14.18.0 || ^16.14.0 || >=18.0.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/execa/node_modules/human-signals": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", + "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", + "dev": true, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/execa/node_modules/mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/execa/node_modules/onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/execa/node_modules/strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eyes": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", + "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==", + "dev": true, + "engines": { + "node": "> 0.1.90" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-diff": { + "version": "1.2.0", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/fast-glob": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", + "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fast-stable-stringify": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/fastestsmallesttextencoderdecoder": { + "version": "1.0.22", + "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz", + "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==", + "peer": true + }, + "node_modules/fastq": { + "version": "1.13.0", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/file-uri-to-path": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/filename-reserved-regex": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/filenamify": { + "version": "4.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "filename-reserved-regex": "^2.0.0", + "strip-outer": "^1.0.1", + "trim-repeated": "^1.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir": { + "version": "3.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, + "node_modules/flat-cache": { + "version": "3.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.7", + "dev": true, + "license": "ISC" + }, + "node_modules/fs-extra": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", + "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gh-pages": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/gh-pages/-/gh-pages-6.0.0.tgz", + "integrity": "sha512-FXZWJRsvP/fK2HJGY+Di6FRNHvqFF6gOIELaopDjXXgjeOYSNURcuYwEO/6bwuq6koP5Lnkvnr5GViXzuOB89g==", + "dev": true, + "dependencies": { + "async": "^3.2.4", + "commander": "^11.0.0", + "email-addresses": "^5.0.0", + "filenamify": "^4.3.0", + "find-cache-dir": "^3.3.1", + "fs-extra": "^11.1.1", + "globby": "^6.1.0" + }, + "bin": { + "gh-pages": "bin/gh-pages.js", + "gh-pages-clean": "bin/gh-pages-clean.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/gh-pages/node_modules/array-union": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "array-uniq": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/gh-pages/node_modules/commander": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", + "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==", + "dev": true, + "engines": { + "node": ">=16" + } + }, + "node_modules/gh-pages/node_modules/globby": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/gh-pages/node_modules/pify": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/glob": { + "version": "7.2.0", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "13.21.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", + "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/has": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "node_modules/human-signals": { + "version": "2.1.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "dev": true, + "dependencies": { + "ms": "^2.0.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "dev": true, + "license": "ISC" + }, + "node_modules/interpret": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.10.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-wsl/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/isomorphic-ws": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", + "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==", + "dev": true, + "peerDependencies": { + "ws": "*" + } + }, + "node_modules/jayson": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.1.0.tgz", + "integrity": "sha512-R6JlbyLN53Mjku329XoRT2zJAE6ZgOQ8f91ucYdMCD4nkGCF9kZSrcGXpHIU4jeKj58zUZke2p+cdQchU7Ly7A==", + "dev": true, + "dependencies": { + "@types/connect": "^3.4.33", + "@types/node": "^12.12.54", + "@types/ws": "^7.4.4", + "commander": "^2.20.3", + "delay": "^5.0.0", + "es6-promisify": "^5.0.0", + "eyes": "^0.1.8", + "isomorphic-ws": "^4.0.1", + "json-stringify-safe": "^5.0.1", + "JSONStream": "^1.3.5", + "uuid": "^8.3.2", + "ws": "^7.4.5" + }, + "bin": { + "jayson": "bin/jayson.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jayson/node_modules/@types/node": { + "version": "12.20.55", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", + "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", + "dev": true + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "dev": true + }, + "node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "dev": true, + "engines": [ + "node >= 0.2.0" + ] + }, + "node_modules/JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "dependencies": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + }, + "bin": { + "JSONStream": "bin.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "dev": true, + "license": "MIT" + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/loupe": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", + "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", + "dev": true, + "dependencies": { + "get-func-name": "^2.0.1" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/lunr": { + "version": "2.3.9", + "dev": true, + "license": "MIT" + }, + "node_modules/make-dir": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir/node_modules/semver": { + "version": "6.3.0", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "dev": true, + "license": "ISC" + }, + "node_modules/marked": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", + "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "dev": true, + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mocha": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", + "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", + "dev": true, + "dependencies": { + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": ">= 14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "node_modules/mocha/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/mocha/node_modules/minimatch": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/mocha/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/mocha/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "dev": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/node-fetch": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", + "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", + "dev": true, + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-gyp-build": { + "version": "4.5.0", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", + "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "dev": true, + "dependencies": { + "path-key": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/once": { + "version": "1.4.0", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/open/-/open-9.1.0.tgz", + "integrity": "sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==", + "dev": true, + "dependencies": { + "default-browser": "^4.0.0", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "dev": true, + "license": "MIT" + }, + "node_modules/path-type": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pinkie": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie-promise": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/find-up": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", + "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "dev": true, + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/rechoir": { + "version": "0.6.2", + "dev": true, + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", + "dev": true + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rpc-websockets": { + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-7.5.1.tgz", + "integrity": "sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.17.2", + "eventemitter3": "^4.0.7", + "uuid": "^8.3.2", + "ws": "^8.5.0" + }, + "funding": { + "type": "paypal", + "url": "https://paypal.me/kozjak" + }, + "optionalDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + } + }, + "node_modules/rpc-websockets/node_modules/ws": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/run-applescript": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz", + "integrity": "sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==", + "dev": true, + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/run-applescript/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript/node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/shelljs": { + "version": "0.8.5", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/shiki": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.2.tgz", + "integrity": "sha512-ltSZlSLOuSY0M0Y75KA+ieRaZ0Trf5Wl3gutE7jzLuIcWxLp5i/uEnLoQWNvgKXQ5OMpGkJnVMRLAuzjc0LJ2A==", + "dev": true, + "dependencies": { + "ansi-sequence-parser": "^1.1.0", + "jsonc-parser": "^3.2.0", + "vscode-oniguruma": "^1.7.0", + "vscode-textmate": "^8.0.0" + } + }, + "node_modules/shx": { + "version": "0.3.4", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.3", + "shelljs": "^0.8.5" + }, + "bin": { + "shx": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "dev": true, + "license": "ISC" + }, + "node_modules/slash": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-outer": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-outer/node_modules/escape-string-regexp": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/superstruct": { + "version": "0.14.2", + "dev": true, + "license": "MIT" + }, + "node_modules/supports-color": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/synckit": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.5.tgz", + "integrity": "sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==", + "dev": true, + "dependencies": { + "@pkgr/utils": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/text-encoding-utf-8": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz", + "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==", + "dev": true + }, + "node_modules/text-table": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/through": { + "version": "2.3.8", + "dev": true, + "license": "MIT" + }, + "node_modules/titleize": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz", + "integrity": "sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true + }, + "node_modules/trim-repeated": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/trim-repeated/node_modules/escape-string-regexp": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/ts-api-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.1.tgz", + "integrity": "sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==", + "dev": true, + "engines": { + "node": ">=16.13.0" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, + "node_modules/ts-node": { + "version": "10.9.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/ts-node/node_modules/diff": { + "version": "4.0.2", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typedoc": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.1.tgz", + "integrity": "sha512-c2ye3YUtGIadxN2O6YwPEXgrZcvhlZ6HlhWZ8jQRNzwLPn2ylhdGqdR8HbyDRyALP8J6lmSANILCkkIdNPFxqA==", + "dev": true, + "dependencies": { + "lunr": "^2.3.9", + "marked": "^4.3.0", + "minimatch": "^9.0.3", + "shiki": "^0.14.1" + }, + "bin": { + "typedoc": "bin/typedoc" + }, + "engines": { + "node": ">= 16" + }, + "peerDependencies": { + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x" + } + }, + "node_modules/typedoc/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/typedoc/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/typescript": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "5.25.3", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", + "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==", + "dev": true + }, + "node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/utf-8-validate": { + "version": "5.0.9", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "node_modules/uuid": { + "version": "8.3.2", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/vscode-oniguruma": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", + "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==", + "dev": true + }, + "node_modules/vscode-textmate": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz", + "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==", + "dev": true + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/workerpool": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", + "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", + "dev": true + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "dev": true, + "license": "ISC" + }, + "node_modules/ws": { + "version": "7.5.9", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", + "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "dev": true, + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + }, + "dependencies": { + "@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true + }, + "@babel/runtime": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz", + "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.11" + } + }, + "@cspotcode/source-map-support": { + "version": "0.8.1", + "dev": true, + "requires": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "dependencies": { + "@jridgewell/trace-mapping": { + "version": "0.3.9", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + } + } + }, + "@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.3.0" + } + }, + "@eslint-community/regexpp": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", + "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==", + "dev": true + }, + "@eslint/eslintrc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", + "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + } + }, + "@eslint/js": { + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", + "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==", + "dev": true + }, + "@humanwhocodes/config-array": { + "version": "0.11.11", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", + "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", + "dev": true, + "requires": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + } + }, + "@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true + }, + "@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "@jridgewell/resolve-uri": { + "version": "3.1.0", + "dev": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "dev": true + }, + "@noble/curves": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.0.0.tgz", + "integrity": "sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw==", + "dev": true, + "requires": { + "@noble/hashes": "1.3.0" + } + }, + "@noble/hashes": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", + "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==", + "dev": true + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "dev": true, + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "dev": true + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "dev": true, + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@pkgr/utils": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.4.2.tgz", + "integrity": "sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "fast-glob": "^3.3.0", + "is-glob": "^4.0.3", + "open": "^9.1.0", + "picocolors": "^1.0.0", + "tslib": "^2.6.0" + } + }, + "@solana/buffer-layout": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz", + "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==", + "dev": true, + "requires": { + "buffer": "~6.0.3" + } + }, + "@solana/codecs-core": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-E3kJzw7K6rkmmTX1tSOdE7Qg/OFqbKiIaaT9V2PTKTVZxwssPrqogUh6aLx0wdzlSJNymy8krKG/FbXsua0FIA==" + }, + "@solana/codecs-data-structures": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-gJxLunF1GuBXF8Mz1lfnqGjNMkIrpyTmHgk0g4PyacRCI0MvQr6d3q5oXVHfYLIaRrYPUUxvbt02sqOoOiW2dQ==", + "requires": { + "@solana/codecs-core": "2.0.0-experimental.398c396", + "@solana/codecs-numbers": "2.0.0-experimental.398c396" + } + }, + "@solana/codecs-numbers": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-mmUSfO3TOL5kCb/5UCWCz0UTC0KgC864pRe9veCtJbgh5G2YDcBYNJiyKTT661yo/Y+dvrh2hZtYprhB/qxjmw==", + "requires": { + "@solana/codecs-core": "2.0.0-experimental.398c396" + } + }, + "@solana/codecs-strings": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-RGj57x8pDpk5e2hnZ0dguXJlzzVVBUf93VNyp0NGmhm+oWlj5lG4nPinjLo8OunYBBlishFDZZGfCpcqivrDRg==", + "requires": { + "@solana/codecs-core": "2.0.0-experimental.398c396", + "@solana/codecs-numbers": "2.0.0-experimental.398c396" + } + }, + "@solana/options": { + "version": "2.0.0-experimental.398c396", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-experimental.398c396.tgz", + "integrity": "sha512-EyHhCADS1D20zf9fZHozkGcNXAi45bux/AUwBrU0kPBY9RH67IUGxyRwRoWVIYVzsUZNWr0zoqWY5ZS4IZxzJw==", + "requires": { + "@solana/codecs-core": "2.0.0-experimental.398c396", + "@solana/codecs-numbers": "2.0.0-experimental.398c396" + } + }, + "@solana/spl-type-length-value": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@solana/spl-type-length-value/-/spl-type-length-value-0.1.0.tgz", + "integrity": "sha512-JBMGB0oR4lPttOZ5XiUGyvylwLQjt1CPJa6qQ5oM+MBCndfjz2TKKkw0eATlLLcYmq1jBVsNlJ2cD6ns2GR7lA==", + "requires": { + "buffer": "^6.0.3" + } + }, + "@solana/web3.js": { + "version": "1.78.5", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.78.5.tgz", + "integrity": "sha512-2ZHsDNqkKdglJQrIvJ3p2DmgS3cGnary3VJyqt9C1SPrpAtLYzcElr3xyXJOznyQTU/8AMw+GoF11lFoKbicKg==", + "dev": true, + "requires": { + "@babel/runtime": "^7.22.6", + "@noble/curves": "^1.0.0", + "@noble/hashes": "^1.3.1", + "@solana/buffer-layout": "^4.0.0", + "agentkeepalive": "^4.3.0", + "bigint-buffer": "^1.1.5", + "bn.js": "^5.2.1", + "borsh": "^0.7.0", + "bs58": "^4.0.1", + "buffer": "6.0.3", + "fast-stable-stringify": "^1.0.0", + "jayson": "^4.1.0", + "node-fetch": "^2.6.12", + "rpc-websockets": "^7.5.1", + "superstruct": "^0.14.2" + }, + "dependencies": { + "@noble/hashes": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", + "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==", + "dev": true + }, + "borsh": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", + "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", + "dev": true, + "requires": { + "bn.js": "^5.2.0", + "bs58": "^4.0.0", + "text-encoding-utf-8": "^1.0.2" + } + } + } + }, + "@tsconfig/node10": { + "version": "1.0.9", + "dev": true + }, + "@tsconfig/node12": { + "version": "1.0.11", + "dev": true + }, + "@tsconfig/node14": { + "version": "1.0.3", + "dev": true + }, + "@tsconfig/node16": { + "version": "1.0.3", + "dev": true + }, + "@types/chai": { + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.9.tgz", + "integrity": "sha512-69TtiDzu0bcmKQv3yg1Zx409/Kd7r0b5F1PfpYJfSHzLGtB53547V4u+9iqKYsTu/O2ai6KTb0TInNpvuQ3qmg==", + "dev": true + }, + "@types/connect": { + "version": "3.4.35", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", + "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/json-schema": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", + "dev": true + }, + "@types/mocha": { + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.3.tgz", + "integrity": "sha512-RsOPImTriV/OE4A9qKjMtk2MnXiuLLbcO3nCXK+kvq4nr0iMfFgpjaX3MPLb6f7+EL1FGSelYvuJMV6REH+ZPQ==", + "dev": true + }, + "@types/node": { + "version": "20.8.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", + "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", + "dev": true, + "requires": { + "undici-types": "~5.25.1" + } + }, + "@types/prettier": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-3.0.0.tgz", + "integrity": "sha512-mFMBfMOz8QxhYVbuINtswBp9VL2b4Y0QqYHwqLz3YbgtfAcat2Dl6Y1o4e22S/OVE6Ebl9m7wWiMT2lSbAs1wA==", + "dev": true, + "requires": { + "prettier": "*" + } + }, + "@types/semver": { + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==", + "dev": true + }, + "@types/ws": { + "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@typescript-eslint/eslint-plugin": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.7.0.tgz", + "integrity": "sha512-gUqtknHm0TDs1LhY12K2NA3Rmlmp88jK9Tx8vGZMfHeNMLE3GH2e9TRub+y+SOjuYgtOmok+wt1AyDPZqxbNag==", + "dev": true, + "requires": { + "@eslint-community/regexpp": "^4.5.1", + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/type-utils": "6.7.0", + "@typescript-eslint/utils": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.4", + "natural-compare": "^1.4.0", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + } + }, + "@typescript-eslint/parser": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.7.0.tgz", + "integrity": "sha512-jZKYwqNpNm5kzPVP5z1JXAuxjtl2uG+5NpaMocFPTNC2EdYIgbXIPImObOkhbONxtFTTdoZstLZefbaK+wXZng==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/typescript-estree": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", + "debug": "^4.3.4" + } + }, + "@typescript-eslint/scope-manager": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.7.0.tgz", + "integrity": "sha512-lAT1Uau20lQyjoLUQ5FUMSX/dS07qux9rYd5FGzKz/Kf8W8ccuvMyldb8hadHdK/qOI7aikvQWqulnEq2nCEYA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0" + } + }, + "@typescript-eslint/type-utils": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.7.0.tgz", + "integrity": "sha512-f/QabJgDAlpSz3qduCyQT0Fw7hHpmhOzY/Rv6zO3yO+HVIdPfIWhrQoAyG+uZVtWAIS85zAyzgAFfyEr+MgBpg==", + "dev": true, + "requires": { + "@typescript-eslint/typescript-estree": "6.7.0", + "@typescript-eslint/utils": "6.7.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.0.1" + } + }, + "@typescript-eslint/types": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.7.0.tgz", + "integrity": "sha512-ihPfvOp7pOcN/ysoj0RpBPOx3HQTJTrIN8UZK+WFd3/iDeFHHqeyYxa4hQk4rMhsz9H9mXpR61IzwlBVGXtl9Q==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.7.0.tgz", + "integrity": "sha512-dPvkXj3n6e9yd/0LfojNU8VMUGHWiLuBZvbM6V6QYD+2qxqInE7J+J/ieY2iGwR9ivf/R/haWGkIj04WVUeiSQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/visitor-keys": "6.7.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + } + }, + "@typescript-eslint/utils": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.7.0.tgz", + "integrity": "sha512-MfCq3cM0vh2slSikQYqK2Gq52gvOhe57vD2RM3V4gQRZYX4rDPnKLu5p6cm89+LJiGlwEXU8hkYxhqqEC/V3qA==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.7.0", + "@typescript-eslint/types": "6.7.0", + "@typescript-eslint/typescript-estree": "6.7.0", + "semver": "^7.5.4" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.0.tgz", + "integrity": "sha512-/C1RVgKFDmGMcVGeD8HjKv2bd72oI1KxQDeY8uc66gw9R0OK0eMq48cA+jv9/2Ag6cdrsUGySm1yzYmfz0hxwQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.7.0", + "eslint-visitor-keys": "^3.4.1" + } + }, + "acorn": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", + "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", + "dev": true + }, + "acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "requires": {} + }, + "acorn-walk": { + "version": "8.2.0", + "dev": true + }, + "agentkeepalive": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", + "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", + "dev": true, + "requires": { + "debug": "^4.1.0", + "depd": "^2.0.0", + "humanize-ms": "^1.2.1" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true + }, + "ansi-regex": { + "version": "5.0.1", + "dev": true + }, + "ansi-sequence-parser": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz", + "integrity": "sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "arg": { + "version": "4.1.3", + "dev": true + }, + "argparse": { + "version": "2.0.1", + "dev": true + }, + "array-union": { + "version": "2.1.0", + "dev": true + }, + "array-uniq": { + "version": "1.0.3", + "dev": true + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "async": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", + "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", + "dev": true + }, + "balanced-match": { + "version": "1.0.2", + "dev": true + }, + "base-x": { + "version": "3.0.9", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "base64-js": { + "version": "1.5.1" + }, + "big-integer": { + "version": "1.6.51", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", + "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", + "dev": true + }, + "bigint-buffer": { + "version": "1.1.5", + "dev": true, + "requires": { + "bindings": "^1.3.0" + } + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, + "bindings": { + "version": "1.5.0", + "dev": true, + "requires": { + "file-uri-to-path": "1.0.0" + } + }, + "bn.js": { + "version": "5.2.1", + "dev": true + }, + "bplist-parser": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz", + "integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==", + "dev": true, + "requires": { + "big-integer": "^1.6.44" + } + }, + "brace-expansion": { + "version": "1.1.11", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true + }, + "bs58": { + "version": "4.0.1", + "dev": true, + "requires": { + "base-x": "^3.0.2" + } + }, + "buffer": { + "version": "6.0.3", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "bufferutil": { + "version": "4.0.6", + "dev": true, + "optional": true, + "requires": { + "node-gyp-build": "^4.3.0" + } + }, + "bundle-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-3.0.0.tgz", + "integrity": "sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==", + "dev": true, + "requires": { + "run-applescript": "^5.0.0" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true + }, + "chai": { + "version": "4.3.10", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", + "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", + "dev": true, + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", + "pathval": "^1.1.1", + "type-detect": "^4.0.8" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "check-error": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", + "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", + "dev": true, + "requires": { + "get-func-name": "^2.0.2" + } + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "commander": { + "version": "2.20.3", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "dev": true + }, + "create-require": { + "version": "1.1.1", + "dev": true + }, + "cross-spawn": { + "version": "7.0.3", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "debug": { + "version": "4.3.4", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true + }, + "deep-eql": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", + "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", + "dev": true, + "requires": { + "type-detect": "^4.0.0" + } + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "default-browser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-4.0.0.tgz", + "integrity": "sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==", + "dev": true, + "requires": { + "bundle-name": "^3.0.0", + "default-browser-id": "^3.0.0", + "execa": "^7.1.1", + "titleize": "^3.0.0" + } + }, + "default-browser-id": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-3.0.0.tgz", + "integrity": "sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==", + "dev": true, + "requires": { + "bplist-parser": "^0.2.0", + "untildify": "^4.0.0" + } + }, + "define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true + }, + "delay": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", + "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", + "dev": true + }, + "depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true + }, + "diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true + }, + "dir-glob": { + "version": "3.0.1", + "dev": true, + "requires": { + "path-type": "^4.0.0" + } + }, + "doctrine": { + "version": "3.0.0", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "email-addresses": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/email-addresses/-/email-addresses-5.0.0.tgz", + "integrity": "sha512-4OIPYlA6JXqtVn8zpHpGiI7vE6EQOAg16aGnDMIAlZVinnoZ8208tW1hAbjWydgN/4PLTT9q+O1K6AH/vALJGw==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "es6-promise": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", + "dev": true + }, + "es6-promisify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", + "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", + "dev": true, + "requires": { + "es6-promise": "^4.0.3" + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "dev": true + }, + "eslint": { + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", + "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.2", + "@eslint/js": "8.49.0", + "@humanwhocodes/config-array": "^0.11.11", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + } + }, + "eslint-config-prettier": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", + "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", + "dev": true, + "requires": {} + }, + "eslint-plugin-prettier": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.0.tgz", + "integrity": "sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==", + "dev": true, + "requires": { + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.8.5" + } + }, + "eslint-plugin-require-extensions": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-require-extensions/-/eslint-plugin-require-extensions-0.1.3.tgz", + "integrity": "sha512-T3c1PZ9PIdI3hjV8LdunfYI8gj017UQjzAnCrxuo3wAjneDbTPHdE3oNWInOjMA+z/aBkUtlW5vC0YepYMZIug==", + "dev": true, + "requires": {} + }, + "eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + } + }, + "eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true + }, + "espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "requires": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + } + }, + "esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + } + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "dev": true + }, + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "execa": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", + "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.1", + "human-signals": "^4.3.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" + }, + "dependencies": { + "human-signals": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", + "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", + "dev": true + }, + "mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true + }, + "onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "requires": { + "mimic-fn": "^4.0.0" + } + }, + "strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true + } + } + }, + "eyes": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", + "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==", + "dev": true + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-diff": { + "version": "1.2.0", + "dev": true + }, + "fast-glob": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", + "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "fast-stable-stringify": { + "version": "1.0.0", + "dev": true + }, + "fastestsmallesttextencoderdecoder": { + "version": "1.0.22", + "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz", + "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==", + "peer": true + }, + "fastq": { + "version": "1.13.0", + "dev": true, + "requires": { + "reusify": "^1.0.4" + } + }, + "file-entry-cache": { + "version": "6.0.1", + "dev": true, + "requires": { + "flat-cache": "^3.0.4" + } + }, + "file-uri-to-path": { + "version": "1.0.0", + "dev": true + }, + "filename-reserved-regex": { + "version": "2.0.0", + "dev": true + }, + "filenamify": { + "version": "4.3.0", + "dev": true, + "requires": { + "filename-reserved-regex": "^2.0.0", + "strip-outer": "^1.0.1", + "trim-repeated": "^1.0.0" + } + }, + "fill-range": { + "version": "7.0.1", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-cache-dir": { + "version": "3.3.2", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + } + }, + "find-up": { + "version": "5.0.0", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true + }, + "flat-cache": { + "version": "3.0.4", + "dev": true, + "requires": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + } + }, + "flatted": { + "version": "3.2.7", + "dev": true + }, + "fs-extra": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", + "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "dev": true + }, + "fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "dev": true + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, + "gh-pages": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/gh-pages/-/gh-pages-6.0.0.tgz", + "integrity": "sha512-FXZWJRsvP/fK2HJGY+Di6FRNHvqFF6gOIELaopDjXXgjeOYSNURcuYwEO/6bwuq6koP5Lnkvnr5GViXzuOB89g==", + "dev": true, + "requires": { + "async": "^3.2.4", + "commander": "^11.0.0", + "email-addresses": "^5.0.0", + "filenamify": "^4.3.0", + "find-cache-dir": "^3.3.1", + "fs-extra": "^11.1.1", + "globby": "^6.1.0" + }, + "dependencies": { + "array-union": { + "version": "1.0.2", + "dev": true, + "requires": { + "array-uniq": "^1.0.1" + } + }, + "commander": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", + "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==", + "dev": true + }, + "globby": { + "version": "6.1.0", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "dev": true + } + } + }, + "glob": { + "version": "7.2.0", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "6.0.2", + "dev": true, + "requires": { + "is-glob": "^4.0.3" + } + }, + "globals": { + "version": "13.21.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", + "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } + }, + "globby": { + "version": "11.1.0", + "dev": true, + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + } + }, + "graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "has": { + "version": "1.0.3", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true + }, + "human-signals": { + "version": "2.1.0", + "dev": true + }, + "humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "dev": true, + "requires": { + "ms": "^2.0.0" + } + }, + "ieee754": { + "version": "1.2.1" + }, + "ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "dev": true + }, + "interpret": { + "version": "1.4.0", + "dev": true + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-core-module": { + "version": "2.10.0", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-glob": { + "version": "4.0.3", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "requires": { + "is-docker": "^3.0.0" + } + }, + "is-number": { + "version": "7.0.0", + "dev": true + }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true + }, + "is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true + }, + "is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true + }, + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true + }, + "is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "requires": { + "is-docker": "^2.0.0" + }, + "dependencies": { + "is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true + } + } + }, + "isexe": { + "version": "2.0.0", + "dev": true + }, + "isomorphic-ws": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", + "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==", + "dev": true, + "requires": {} + }, + "jayson": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.1.0.tgz", + "integrity": "sha512-R6JlbyLN53Mjku329XoRT2zJAE6ZgOQ8f91ucYdMCD4nkGCF9kZSrcGXpHIU4jeKj58zUZke2p+cdQchU7Ly7A==", + "dev": true, + "requires": { + "@types/connect": "^3.4.33", + "@types/node": "^12.12.54", + "@types/ws": "^7.4.4", + "commander": "^2.20.3", + "delay": "^5.0.0", + "es6-promisify": "^5.0.0", + "eyes": "^0.1.8", + "isomorphic-ws": "^4.0.1", + "json-stringify-safe": "^5.0.1", + "JSONStream": "^1.3.5", + "uuid": "^8.3.2", + "ws": "^7.4.5" + }, + "dependencies": { + "@types/node": { + "version": "12.20.55", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", + "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", + "dev": true + } + } + }, + "js-yaml": { + "version": "4.1.0", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "dev": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "dev": true + }, + "jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "dev": true + }, + "JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "requires": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + } + }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "locate-path": { + "version": "6.0.0", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "lodash.merge": { + "version": "4.6.2", + "dev": true + }, + "log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + } + }, + "loupe": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", + "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", + "dev": true, + "requires": { + "get-func-name": "^2.0.1" + } + }, + "lru-cache": { + "version": "6.0.0", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "lunr": { + "version": "2.3.9", + "dev": true + }, + "make-dir": { + "version": "3.1.0", + "dev": true, + "requires": { + "semver": "^6.0.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "dev": true + } + } + }, + "make-error": { + "version": "1.3.6", + "dev": true + }, + "marked": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", + "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "dev": true + }, + "merge-stream": { + "version": "2.0.0", + "dev": true + }, + "merge2": { + "version": "1.4.1", + "dev": true + }, + "micromatch": { + "version": "4.0.5", + "dev": true, + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "mimic-fn": { + "version": "2.1.0", + "dev": true + }, + "minimatch": { + "version": "3.1.2", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true + }, + "mocha": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", + "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", + "dev": true, + "requires": { + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "ms": { + "version": "2.1.2", + "dev": true + }, + "nanoid": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "dev": true + }, + "natural-compare": { + "version": "1.4.0", + "dev": true + }, + "node-fetch": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", + "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", + "dev": true, + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "node-gyp-build": { + "version": "4.5.0", + "dev": true, + "optional": true + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "npm-run-path": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", + "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "dev": true, + "requires": { + "path-key": "^4.0.0" + }, + "dependencies": { + "path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true + } + } + }, + "object-assign": { + "version": "4.1.1", + "dev": true + }, + "once": { + "version": "1.4.0", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "5.1.2", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "open": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/open/-/open-9.1.0.tgz", + "integrity": "sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==", + "dev": true, + "requires": { + "default-browser": "^4.0.0", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "is-wsl": "^2.2.0" + } + }, + "optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "requires": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + } + }, + "p-limit": { + "version": "3.1.0", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "p-try": { + "version": "2.2.0", + "dev": true + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "path-exists": { + "version": "4.0.0", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "dev": true + }, + "path-type": { + "version": "4.0.0", + "dev": true + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "pkg-dir": { + "version": "4.2.0", + "dev": true, + "requires": { + "find-up": "^4.0.0" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-limit": { + "version": "2.3.0", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + } + } + }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, + "prettier": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", + "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "dev": true + }, + "prettier-linter-helpers": { + "version": "1.0.0", + "dev": true, + "requires": { + "fast-diff": "^1.1.2" + } + }, + "punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true + }, + "queue-microtask": { + "version": "1.2.3", + "dev": true + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "rechoir": { + "version": "0.6.2", + "dev": true, + "requires": { + "resolve": "^1.1.6" + } + }, + "regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", + "dev": true + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true + }, + "resolve": { + "version": "1.22.1", + "dev": true, + "requires": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "reusify": { + "version": "1.0.4", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "rpc-websockets": { + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-7.5.1.tgz", + "integrity": "sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w==", + "dev": true, + "requires": { + "@babel/runtime": "^7.17.2", + "bufferutil": "^4.0.1", + "eventemitter3": "^4.0.7", + "utf-8-validate": "^5.0.2", + "uuid": "^8.3.2", + "ws": "^8.5.0" + }, + "dependencies": { + "ws": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "dev": true, + "requires": {} + } + } + }, + "run-applescript": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz", + "integrity": "sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==", + "dev": true, + "requires": { + "execa": "^5.0.0" + }, + "dependencies": { + "execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true + }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "requires": { + "path-key": "^3.0.0" + } + } + } + }, + "run-parallel": { + "version": "1.2.0", + "dev": true, + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "safe-buffer": { + "version": "5.2.1", + "dev": true + }, + "semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, + "shebang-command": { + "version": "2.0.0", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "dev": true + }, + "shelljs": { + "version": "0.8.5", + "dev": true, + "requires": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + } + }, + "shiki": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.2.tgz", + "integrity": "sha512-ltSZlSLOuSY0M0Y75KA+ieRaZ0Trf5Wl3gutE7jzLuIcWxLp5i/uEnLoQWNvgKXQ5OMpGkJnVMRLAuzjc0LJ2A==", + "dev": true, + "requires": { + "ansi-sequence-parser": "^1.1.0", + "jsonc-parser": "^3.2.0", + "vscode-oniguruma": "^1.7.0", + "vscode-textmate": "^8.0.0" + } + }, + "shx": { + "version": "0.3.4", + "dev": true, + "requires": { + "minimist": "^1.2.3", + "shelljs": "^0.8.5" + } + }, + "signal-exit": { + "version": "3.0.7", + "dev": true + }, + "slash": { + "version": "3.0.0", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-final-newline": { + "version": "2.0.0", + "dev": true + }, + "strip-json-comments": { + "version": "3.1.1", + "dev": true + }, + "strip-outer": { + "version": "1.0.1", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.2" + }, + "dependencies": { + "escape-string-regexp": { + "version": "1.0.5", + "dev": true + } + } + }, + "superstruct": { + "version": "0.14.2", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "dev": true + }, + "synckit": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.5.tgz", + "integrity": "sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==", + "dev": true, + "requires": { + "@pkgr/utils": "^2.3.1", + "tslib": "^2.5.0" + } + }, + "text-encoding-utf-8": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz", + "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==", + "dev": true + }, + "text-table": { + "version": "0.2.0", + "dev": true + }, + "through": { + "version": "2.3.8", + "dev": true + }, + "titleize": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz", + "integrity": "sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==", + "dev": true + }, + "to-regex-range": { + "version": "5.0.1", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true + }, + "trim-repeated": { + "version": "1.0.0", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.2" + }, + "dependencies": { + "escape-string-regexp": { + "version": "1.0.5", + "dev": true + } + } + }, + "ts-api-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.1.tgz", + "integrity": "sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==", + "dev": true, + "requires": {} + }, + "ts-node": { + "version": "10.9.1", + "dev": true, + "requires": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "dependencies": { + "diff": { + "version": "4.0.2", + "dev": true + } + } + }, + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true + }, + "typedoc": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.1.tgz", + "integrity": "sha512-c2ye3YUtGIadxN2O6YwPEXgrZcvhlZ6HlhWZ8jQRNzwLPn2ylhdGqdR8HbyDRyALP8J6lmSANILCkkIdNPFxqA==", + "dev": true, + "requires": { + "lunr": "^2.3.9", + "marked": "^4.3.0", + "minimatch": "^9.0.3", + "shiki": "^0.14.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "typescript": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "dev": true + }, + "undici-types": { + "version": "5.25.3", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", + "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==", + "dev": true + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + }, + "untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "dev": true + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "utf-8-validate": { + "version": "5.0.9", + "dev": true, + "optional": true, + "requires": { + "node-gyp-build": "^4.3.0" + } + }, + "uuid": { + "version": "8.3.2", + "dev": true + }, + "v8-compile-cache-lib": { + "version": "3.0.1", + "dev": true + }, + "vscode-oniguruma": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", + "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==", + "dev": true + }, + "vscode-textmate": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz", + "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==", + "dev": true + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "which": { + "version": "2.0.2", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "workerpool": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", + "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", + "dev": true + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "dev": true + }, + "ws": { + "version": "7.5.9", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", + "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "dev": true, + "requires": {} + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, + "yallist": { + "version": "4.0.0", + "dev": true + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true + }, + "yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "requires": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + } + }, + "yn": { + "version": "3.1.1", + "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "dev": true + } + } +} diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json new file mode 100644 index 0000000..c28e3f7 --- /dev/null +++ b/clients/js-legacy/package.json @@ -0,0 +1,79 @@ +{ + "name": "@solana/spl-token-metadata", + "description": "SPL Token Metadata Interface JS API", + "version": "0.0.1", + "author": "Solana Labs Maintainers ", + "repository": "https://github.com/solana-labs/solana-program-library", + "license": "Apache-2.0", + "type": "module", + "sideEffects": false, + "engines": { + "node": ">=16" + }, + "files": [ + "lib", + "src", + "LICENSE", + "README.md" + ], + "publishConfig": { + "access": "public" + }, + "main": "./lib/cjs/index.js", + "module": "./lib/esm/index.js", + "types": "./lib/types/index.d.ts", + "exports": { + "types": "./lib/types/index.d.ts", + "require": "./lib/cjs/index.js", + "import": "./lib/esm/index.js" + }, + "scripts": { + "build": "tsc --build --verbose tsconfig.all.json", + "clean": "shx rm -rf lib **/*.tsbuildinfo || true", + "deploy": "npm run deploy:docs", + "deploy:docs": "npm run docs && gh-pages --dest token-metadata/js --dist docs --dotfiles", + "docs": "shx rm -rf docs && typedoc && shx cp .nojekyll docs/", + "fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'", + "lint": "prettier --check '{*,**/*}.{ts,tsx,js,jsx,json}' && eslint --max-warnings 0 .", + "lint:fix": "npm run fmt && eslint --fix .", + "nuke": "shx rm -rf node_modules package-lock.json || true", + "postbuild": "shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json", + "reinstall": "npm run nuke && npm install", + "release": "npm run clean && npm run build", + "test": "mocha test", + "watch": "tsc --build --verbose --watch tsconfig.all.json" + }, + "peerDependencies": { + "@solana/web3.js": "^1.47.4" + }, + "dependencies": { + "@solana/codecs-core": "2.0.0-experimental.398c396", + "@solana/codecs-data-structures": "2.0.0-experimental.398c396", + "@solana/codecs-numbers": "2.0.0-experimental.398c396", + "@solana/codecs-strings": "2.0.0-experimental.398c396", + "@solana/options": "2.0.0-experimental.398c396", + "@solana/spl-type-length-value": "0.1.0" + }, + "devDependencies": { + "@solana/web3.js": "^1.47.4", + "@types/chai": "^4.3.3", + "@types/mocha": "^10.0.0", + "@types/node": "^20.8.7", + "@types/prettier": "^3.0.0", + "@typescript-eslint/eslint-plugin": "^6.0.0", + "@typescript-eslint/parser": "^6.0.0", + "chai": "^4.3.6", + "eslint": "^8.20.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-prettier": "^5.0.0", + "eslint-plugin-require-extensions": "^0.1.1", + "gh-pages": "^6.0.0", + "mocha": "^10.1.0", + "prettier": "^3.0.0", + "shx": "^0.3.4", + "ts-node": "^10.9.1", + "tslib": "^2.3.1", + "typedoc": "^0.25.0", + "typescript": "^5.0.4" + } +} diff --git a/clients/js-legacy/src/errors.ts b/clients/js-legacy/src/errors.ts new file mode 100644 index 0000000..b86785b --- /dev/null +++ b/clients/js-legacy/src/errors.ts @@ -0,0 +1,39 @@ +// Errors match those in rust https://github.com/solana-labs/solana-program-library/blob/master/token-metadata/interface/src/error.rs +// Code follows: https://github.com/solana-labs/solana-program-library/blob/master/token/js/src/errors.tshttps://github.com/solana-labs/solana-program-library/blob/master/token/js/src/errors.ts + +/** Base class for errors */ +export class TokenMetadataError extends Error { + constructor(message?: string) { + super(message); + } +} + +/** Thrown if incorrect account provided */ +export class IncorrectAccountError extends TokenMetadataError { + name = 'IncorrectAccountError'; +} + +/** Thrown if Mint has no mint authority */ +export class MintHasNoMintAuthorityError extends TokenMetadataError { + name = 'MintHasNoMintAuthorityError'; +} + +/** Thrown if Incorrect mint authority has signed the instruction */ +export class IncorrectMintAuthorityError extends TokenMetadataError { + name = 'IncorrectMintAuthorityError'; +} + +/** Thrown if Incorrect mint authority has signed the instruction */ +export class IncorrectUpdateAuthorityError extends TokenMetadataError { + name = 'IncorrectUpdateAuthorityError'; +} + +/** Thrown if Token metadata has no update authority */ +export class ImmutableMetadataError extends TokenMetadataError { + name = 'ImmutableMetadataError'; +} + +/** Thrown if Key not found in metadata account */ +export class KeyNotFoundError extends TokenMetadataError { + name = 'KeyNotFoundError'; +} diff --git a/clients/js-legacy/src/field.ts b/clients/js-legacy/src/field.ts new file mode 100644 index 0000000..7458177 --- /dev/null +++ b/clients/js-legacy/src/field.ts @@ -0,0 +1,30 @@ +import type { DataEnumToCodecTuple } from '@solana/codecs-data-structures'; +import { getStructCodec, getTupleCodec, getUnitCodec } from '@solana/codecs-data-structures'; +import { getStringCodec } from '@solana/codecs-strings'; + +export enum Field { + Name, + Symbol, + Uri, +} + +type FieldLayout = { __kind: 'Name' } | { __kind: 'Symbol' } | { __kind: 'Uri' } | { __kind: 'Key'; value: [string] }; + +export const getFieldCodec = (): DataEnumToCodecTuple => [ + ['Name', getUnitCodec()], + ['Symbol', getUnitCodec()], + ['Uri', getUnitCodec()], + ['Key', getStructCodec<{ value: [string] }>([['value', getTupleCodec([getStringCodec()])]])], +]; + +export function getFieldConfig(field: Field | string): FieldLayout { + if (field === Field.Name || field === 'Name' || field === 'name') { + return { __kind: 'Name' }; + } else if (field === Field.Symbol || field === 'Symbol' || field === 'symbol') { + return { __kind: 'Symbol' }; + } else if (field === Field.Uri || field === 'Uri' || field === 'uri') { + return { __kind: 'Uri' }; + } else { + return { __kind: 'Key', value: [field] }; + } +} diff --git a/clients/js-legacy/src/index.ts b/clients/js-legacy/src/index.ts new file mode 100644 index 0000000..faffcde --- /dev/null +++ b/clients/js-legacy/src/index.ts @@ -0,0 +1,4 @@ +export * from './errors.js'; +export * from './field.js'; +export * from './instruction.js'; +export * from './state.js'; diff --git a/clients/js-legacy/src/instruction.ts b/clients/js-legacy/src/instruction.ts new file mode 100644 index 0000000..8375ff2 --- /dev/null +++ b/clients/js-legacy/src/instruction.ts @@ -0,0 +1,173 @@ +import type { StructToEncoderTuple } from '@solana/codecs-data-structures'; +import { getBooleanEncoder, getBytesEncoder, getDataEnumCodec, getStructEncoder } from '@solana/codecs-data-structures'; +import { getU64Encoder } from '@solana/codecs-numbers'; +import { getStringEncoder } from '@solana/codecs-strings'; +import { getOptionEncoder } from '@solana/options'; +import { splDiscriminate } from '@solana/spl-type-length-value'; +import type { PublicKey } from '@solana/web3.js'; +import { TransactionInstruction } from '@solana/web3.js'; + +import type { Field } from './field.js'; +import { getFieldCodec, getFieldConfig } from './field.js'; + +function packInstruction( + layout: StructToEncoderTuple, + discriminator: Uint8Array, + values: T +): Buffer { + const encoder = getStructEncoder(layout); + const data = encoder.encode(values); + return Buffer.concat([discriminator, data]); +} + +/** + * Initializes a TLV entry with the basic token-metadata fields. + * + * Assumes that the provided mint is an SPL token mint, that the metadata + * account is allocated and assigned to the program, and that the metadata + * account has enough lamports to cover the rent-exempt reserve. + */ +export interface InitializeInstructionArgs { + programId: PublicKey; + metadata: PublicKey; + updateAuthority: PublicKey; + mint: PublicKey; + mintAuthority: PublicKey; + name: string; + symbol: string; + uri: string; +} + +export function createInitializeInstruction(args: InitializeInstructionArgs): TransactionInstruction { + const { programId, metadata, updateAuthority, mint, mintAuthority, name, symbol, uri } = args; + return new TransactionInstruction({ + programId, + keys: [ + { isSigner: false, isWritable: true, pubkey: metadata }, + { isSigner: false, isWritable: false, pubkey: updateAuthority }, + { isSigner: false, isWritable: false, pubkey: mint }, + { isSigner: true, isWritable: false, pubkey: mintAuthority }, + ], + data: packInstruction( + [ + ['name', getStringEncoder()], + ['symbol', getStringEncoder()], + ['uri', getStringEncoder()], + ], + splDiscriminate('spl_token_metadata_interface:initialize_account'), + { name, symbol, uri } + ), + }); +} + +/** + * If the field does not exist on the account, it will be created. + * If the field does exist, it will be overwritten. + */ +export interface UpdateFieldInstruction { + programId: PublicKey; + metadata: PublicKey; + updateAuthority: PublicKey; + field: Field | string; + value: string; +} + +export function createUpdateFieldInstruction(args: UpdateFieldInstruction): TransactionInstruction { + const { programId, metadata, updateAuthority, field, value } = args; + return new TransactionInstruction({ + programId, + keys: [ + { isSigner: false, isWritable: true, pubkey: metadata }, + { isSigner: true, isWritable: false, pubkey: updateAuthority }, + ], + data: packInstruction( + [ + ['field', getDataEnumCodec(getFieldCodec())], + ['value', getStringEncoder()], + ], + splDiscriminate('spl_token_metadata_interface:updating_field'), + { field: getFieldConfig(field), value } + ), + }); +} + +export interface RemoveKeyInstructionArgs { + programId: PublicKey; + metadata: PublicKey; + updateAuthority: PublicKey; + key: string; + idempotent: boolean; +} + +export function createRemoveKeyInstruction(args: RemoveKeyInstructionArgs) { + const { programId, metadata, updateAuthority, key, idempotent } = args; + return new TransactionInstruction({ + programId, + keys: [ + { isSigner: false, isWritable: true, pubkey: metadata }, + { isSigner: true, isWritable: false, pubkey: updateAuthority }, + ], + data: packInstruction( + [ + ['idempotent', getBooleanEncoder()], + ['key', getStringEncoder()], + ], + splDiscriminate('spl_token_metadata_interface:remove_key_ix'), + { idempotent, key } + ), + }); +} + +export interface UpdateAuthorityInstructionArgs { + programId: PublicKey; + metadata: PublicKey; + oldAuthority: PublicKey; + newAuthority: PublicKey | null; +} + +export function createUpdateAuthorityInstruction(args: UpdateAuthorityInstructionArgs): TransactionInstruction { + const { programId, metadata, oldAuthority, newAuthority } = args; + + const newAuthorityBuffer = Buffer.alloc(32); + if (newAuthority) { + newAuthorityBuffer.set(newAuthority.toBuffer()); + } else { + newAuthorityBuffer.fill(0); + } + + return new TransactionInstruction({ + programId, + keys: [ + { isSigner: false, isWritable: true, pubkey: metadata }, + { isSigner: true, isWritable: false, pubkey: oldAuthority }, + ], + data: packInstruction( + [['newAuthority', getBytesEncoder({ size: 32 })]], + splDiscriminate('spl_token_metadata_interface:update_the_authority'), + { newAuthority: newAuthorityBuffer } + ), + }); +} + +export interface EmitInstructionArgs { + programId: PublicKey; + metadata: PublicKey; + start?: bigint; + end?: bigint; +} + +export function createEmitInstruction(args: EmitInstructionArgs): TransactionInstruction { + const { programId, metadata, start, end } = args; + return new TransactionInstruction({ + programId, + keys: [{ isSigner: false, isWritable: false, pubkey: metadata }], + data: packInstruction( + [ + ['start', getOptionEncoder(getU64Encoder())], + ['end', getOptionEncoder(getU64Encoder())], + ], + splDiscriminate('spl_token_metadata_interface:emitter'), + { start: start ?? null, end: end ?? null } + ), + }); +} diff --git a/clients/js-legacy/src/state.ts b/clients/js-legacy/src/state.ts new file mode 100644 index 0000000..3b147f4 --- /dev/null +++ b/clients/js-legacy/src/state.ts @@ -0,0 +1,68 @@ +import { getArrayDecoder, getBytesDecoder, getStructDecoder, getTupleDecoder } from '@solana/codecs-data-structures'; +import { getStringDecoder } from '@solana/codecs-strings'; +import { TlvState } from '@solana/spl-type-length-value'; +import { PublicKey } from '@solana/web3.js'; + +import { TokenMetadataError } from './errors.js'; + +export const TOKEN_METADATA_DISCRIMINATOR = Buffer.from([112, 132, 90, 90, 11, 88, 157, 87]); + +export interface TokenMetadata { + // The authority that can sign to update the metadata + updateAuthority?: PublicKey; + // The associated mint, used to counter spoofing to be sure that metadata belongs to a particular mint + mint: PublicKey; + // The longer name of the token + name: string; + // The shortened symbol for the token + symbol: string; + // The URI pointing to richer metadata + uri: string; + // Any additional metadata about the token as key-value pairs + additionalMetadata: [string, string][]; +} + +// Checks if all elements in the array are 0 +function isNonePubkey(buffer: Uint8Array): boolean { + for (let i = 0; i < buffer.length; i++) { + if (buffer[i] !== 0) { + return false; + } + } + return true; +} + +export function unpack(buffer: Buffer): TokenMetadata { + const tlv = new TlvState(buffer, 8, 4); + const bytes = tlv.firstBytes(TOKEN_METADATA_DISCRIMINATOR); + if (bytes === null) { + throw new TokenMetadataError('Invalid Data'); + } + const decoder = getStructDecoder([ + ['updateAuthority', getBytesDecoder({ size: 32 })], + ['mint', getBytesDecoder({ size: 32 })], + ['name', getStringDecoder()], + ['symbol', getStringDecoder()], + ['uri', getStringDecoder()], + ['additionalMetadata', getArrayDecoder(getTupleDecoder([getStringDecoder(), getStringDecoder()]))], + ]); + + const data = decoder.decode(bytes); + + return isNonePubkey(data[0].updateAuthority) + ? { + mint: new PublicKey(data[0].mint), + name: data[0].name, + symbol: data[0].symbol, + uri: data[0].uri, + additionalMetadata: data[0].additionalMetadata, + } + : { + updateAuthority: new PublicKey(data[0].updateAuthority), + mint: new PublicKey(data[0].mint), + name: data[0].name, + symbol: data[0].symbol, + uri: data[0].uri, + additionalMetadata: data[0].additionalMetadata, + }; +} diff --git a/clients/js-legacy/test/instruction.test.ts b/clients/js-legacy/test/instruction.test.ts new file mode 100644 index 0000000..ba7be81 --- /dev/null +++ b/clients/js-legacy/test/instruction.test.ts @@ -0,0 +1,166 @@ +import { PublicKey, TransactionInstruction } from '@solana/web3.js'; +import { expect } from 'chai'; + +import { + createEmitInstruction, + createInitializeInstruction, + createRemoveKeyInstruction, + createUpdateAuthorityInstruction, + createUpdateFieldInstruction, +} from '../src'; + +describe('Token Metadata Instructions', () => { + const programId = new PublicKey('22222222222222222222222222222222222222222222'); + const metadata = new PublicKey('33333333333333333333333333333333333333333333'); + const updateAuthority = new PublicKey('44444444444444444444444444444444444444444444'); + const mint = new PublicKey('55555555555555555555555555555555555555555555'); + const mintAuthority = new PublicKey('66666666666666666666666666666666666666666666'); + + it('Can create Initialize Instruction', () => { + const instruction = createInitializeInstruction({ + programId, + metadata, + updateAuthority, + mint, + mintAuthority, + name: 'My test token', + symbol: 'TEST', + uri: 'http://test.test', + }); + + expect(instruction).to.deep.equal( + new TransactionInstruction({ + programId, + keys: [ + { isSigner: false, isWritable: true, pubkey: metadata }, + { isSigner: false, isWritable: false, pubkey: updateAuthority }, + { isSigner: false, isWritable: false, pubkey: mint }, + { isSigner: true, isWritable: false, pubkey: mintAuthority }, + ], + data: Buffer.from([ + // Output of rust implementation + 210, 225, 30, 162, 88, 184, 77, 141, 13, 0, 0, 0, 77, 121, 32, 116, 101, 115, 116, 32, 116, 111, + 107, 101, 110, 4, 0, 0, 0, 84, 69, 83, 84, 16, 0, 0, 0, 104, 116, 116, 112, 58, 47, 47, 116, 101, + 115, 116, 46, 116, 101, 115, 116, + ]), + }) + ); + }); + + it('Can create Update Field Instruction', () => { + const instruction = createUpdateFieldInstruction({ + programId, + metadata, + updateAuthority, + field: 'MyTestField', + value: 'http://test.uri', + }); + + expect(instruction).to.deep.equal( + new TransactionInstruction({ + programId, + keys: [ + { isSigner: false, isWritable: true, pubkey: metadata }, + { isSigner: true, isWritable: false, pubkey: updateAuthority }, + ], + data: Buffer.from([ + // Output of rust implementation + 221, 233, 49, 45, 181, 202, 220, 200, 3, 11, 0, 0, 0, 77, 121, 84, 101, 115, 116, 70, 105, 101, 108, + 100, 15, 0, 0, 0, 104, 116, 116, 112, 58, 47, 47, 116, 101, 115, 116, 46, 117, 114, 105, + ]), + }) + ); + }); + + it('Can create Update Field Instruction with Field Enum', () => { + const instruction = createUpdateFieldInstruction({ + programId, + metadata, + updateAuthority, + field: 'Name', + value: 'http://test.uri', + }); + + expect(instruction).to.deep.equal( + new TransactionInstruction({ + programId, + keys: [ + { isSigner: false, isWritable: true, pubkey: metadata }, + { isSigner: true, isWritable: false, pubkey: updateAuthority }, + ], + data: Buffer.from([ + // Output of rust implementation + 221, 233, 49, 45, 181, 202, 220, 200, 0, 15, 0, 0, 0, 104, 116, 116, 112, 58, 47, 47, 116, 101, 115, + 116, 46, 117, 114, 105, + ]), + }) + ); + }); + + it('Can create Remove Key Instruction', () => { + const instruction = createRemoveKeyInstruction({ + programId, + metadata, + updateAuthority: updateAuthority, + key: 'MyTestField', + idempotent: true, + }); + + expect(instruction).to.deep.equal( + new TransactionInstruction({ + programId, + keys: [ + { isSigner: false, isWritable: true, pubkey: metadata }, + { isSigner: true, isWritable: false, pubkey: updateAuthority }, + ], + data: Buffer.from([ + // Output of rust implementation + 234, 18, 32, 56, 89, 141, 37, 181, 1, 11, 0, 0, 0, 77, 121, 84, 101, 115, 116, 70, 105, 101, 108, + 100, + ]), + }) + ); + }); + + it('Can create Update Authority Instruction', () => { + const instruction = createUpdateAuthorityInstruction({ + programId, + metadata, + oldAuthority: updateAuthority, + newAuthority: PublicKey.default, + }); + + expect(instruction).to.deep.equal( + new TransactionInstruction({ + programId, + keys: [ + { isSigner: false, isWritable: true, pubkey: metadata }, + { isSigner: true, isWritable: false, pubkey: updateAuthority }, + ], + data: Buffer.from([ + // Output of rust implementation + 215, 228, 166, 228, 84, 100, 86, 123, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ]), + }) + ); + }); + it('Can create Emit Instruction', () => { + const instruction = createEmitInstruction({ + programId, + metadata, + end: BigInt(10), + }); + + expect(instruction).to.deep.equal( + new TransactionInstruction({ + programId, + keys: [{ isSigner: false, isWritable: false, pubkey: metadata }], + data: Buffer.from([ + // Output of rust implementation + 250, 166, 180, 250, 13, 12, 184, 70, 0, 1, 10, 0, 0, 0, 0, 0, 0, 0, + ]), + }) + ); + }); +}); diff --git a/clients/js-legacy/test/state.test.ts b/clients/js-legacy/test/state.test.ts new file mode 100644 index 0000000..b832bea --- /dev/null +++ b/clients/js-legacy/test/state.test.ts @@ -0,0 +1,98 @@ +import { PublicKey } from '@solana/web3.js'; +import { expect } from 'chai'; + +import type { TokenMetadata } from '../src/state'; +import { TOKEN_METADATA_DISCRIMINATOR, unpack } from '../src/state'; +import { getArrayEncoder, getBytesEncoder, getStructEncoder, getTupleEncoder } from '@solana/codecs-data-structures'; +import { getStringEncoder } from '@solana/codecs-strings'; + +describe('Token Metadata State', () => { + const lengthBuffer = (buffer: Buffer | Uint8Array): Buffer => { + const length = Buffer.alloc(4); + length.writeUIntLE(buffer.length, 0, 4); + return length; + }; + + // Helper function to pack meta into tlv bytes slab + const pack = (meta: TokenMetadata) => { + const encoder = getStructEncoder([ + ['updateAuthority', getBytesEncoder({ size: 32 })], + ['mint', getBytesEncoder({ size: 32 })], + ['name', getStringEncoder()], + ['symbol', getStringEncoder()], + ['uri', getStringEncoder()], + ['additionalMetadata', getArrayEncoder(getTupleEncoder([getStringEncoder(), getStringEncoder()]))], + ]); + const data = encoder.encode({ + ...meta, + updateAuthority: meta.updateAuthority?.toBuffer(), + mint: meta.mint.toBuffer(), + }); + return Buffer.concat([TOKEN_METADATA_DISCRIMINATOR, lengthBuffer(data), data]); + }; + + it('Can unpack', () => { + const data = Buffer.from([ + // From rust implementation + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 110, 97, + 109, 101, 6, 0, 0, 0, 115, 121, 109, 98, 111, 108, 3, 0, 0, 0, 117, 114, 105, 0, 0, 0, 0, + ]); + + const input = Buffer.concat([TOKEN_METADATA_DISCRIMINATOR, lengthBuffer(data), data]); + + const meta = unpack(input); + expect(meta).to.deep.equal({ + mint: PublicKey.default, + name: 'name', + symbol: 'symbol', + uri: 'uri', + additionalMetadata: [], + }); + }); + + it('Can unpack with additionalMetadata', () => { + const data = Buffer.from([ + // From rust implementation + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 110, 101, + 119, 95, 110, 97, 109, 101, 10, 0, 0, 0, 110, 101, 119, 95, 115, 121, 109, 98, 111, 108, 7, 0, 0, 0, 110, + 101, 119, 95, 117, 114, 105, 2, 0, 0, 0, 4, 0, 0, 0, 107, 101, 121, 49, 6, 0, 0, 0, 118, 97, 108, 117, 101, + 49, 4, 0, 0, 0, 107, 101, 121, 50, 6, 0, 0, 0, 118, 97, 108, 117, 101, 50, + ]); + + const input = Buffer.concat([TOKEN_METADATA_DISCRIMINATOR, lengthBuffer(data), data]); + const meta = unpack(input); + expect(meta).to.deep.equal({ + mint: PublicKey.default, + name: 'new_name', + symbol: 'new_symbol', + uri: 'new_uri', + additionalMetadata: [ + ['key1', 'value1'], + ['key2', 'value2'], + ], + }); + }); + + it('Can pack and unpack with mint and updateAuthority', () => { + const input = pack({ + updateAuthority: new PublicKey('44444444444444444444444444444444444444444444'), + mint: new PublicKey('55555555555555555555555555555555555555555555'), + name: 'name', + symbol: 'symbol', + uri: 'uri', + additionalMetadata: [], + }); + + const meta = unpack(input); + expect(meta).to.deep.equal({ + updateAuthority: new PublicKey('44444444444444444444444444444444444444444444'), + mint: new PublicKey('55555555555555555555555555555555555555555555'), + name: 'name', + symbol: 'symbol', + uri: 'uri', + additionalMetadata: [], + }); + }); +}); diff --git a/clients/js-legacy/tsconfig.all.json b/clients/js-legacy/tsconfig.all.json new file mode 100644 index 0000000..9855132 --- /dev/null +++ b/clients/js-legacy/tsconfig.all.json @@ -0,0 +1,11 @@ +{ + "extends": "./tsconfig.root.json", + "references": [ + { + "path": "./tsconfig.cjs.json" + }, + { + "path": "./tsconfig.esm.json" + } + ] +} diff --git a/clients/js-legacy/tsconfig.base.json b/clients/js-legacy/tsconfig.base.json new file mode 100644 index 0000000..90620c4 --- /dev/null +++ b/clients/js-legacy/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "include": [], + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "Node", + "esModuleInterop": true, + "isolatedModules": true, + "noEmitOnError": true, + "resolveJsonModule": true, + "strict": true, + "stripInternal": true + } +} diff --git a/clients/js-legacy/tsconfig.cjs.json b/clients/js-legacy/tsconfig.cjs.json new file mode 100644 index 0000000..2db9b71 --- /dev/null +++ b/clients/js-legacy/tsconfig.cjs.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.base.json", + "include": ["src"], + "compilerOptions": { + "outDir": "lib/cjs", + "target": "ES2016", + "module": "CommonJS", + "sourceMap": true + } +} diff --git a/clients/js-legacy/tsconfig.esm.json b/clients/js-legacy/tsconfig.esm.json new file mode 100644 index 0000000..25e7e25 --- /dev/null +++ b/clients/js-legacy/tsconfig.esm.json @@ -0,0 +1,13 @@ +{ + "extends": "./tsconfig.base.json", + "include": ["src"], + "compilerOptions": { + "outDir": "lib/esm", + "declarationDir": "lib/types", + "target": "ES2020", + "module": "ES2020", + "sourceMap": true, + "declaration": true, + "declarationMap": true + } +} diff --git a/clients/js-legacy/tsconfig.json b/clients/js-legacy/tsconfig.json new file mode 100644 index 0000000..2f9b239 --- /dev/null +++ b/clients/js-legacy/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "./tsconfig.all.json", + "include": ["src", "test"], + "compilerOptions": { + "noEmit": true, + "skipLibCheck": true + } +} diff --git a/clients/js-legacy/tsconfig.root.json b/clients/js-legacy/tsconfig.root.json new file mode 100644 index 0000000..fadf294 --- /dev/null +++ b/clients/js-legacy/tsconfig.root.json @@ -0,0 +1,6 @@ +{ + "extends": "./tsconfig.base.json", + "compilerOptions": { + "composite": true + } +} diff --git a/clients/js-legacy/typedoc.json b/clients/js-legacy/typedoc.json new file mode 100644 index 0000000..c39fc53 --- /dev/null +++ b/clients/js-legacy/typedoc.json @@ -0,0 +1,5 @@ +{ + "entryPoints": ["src/index.ts"], + "out": "docs", + "readme": "README.md" +} From 4d033500f590fed5957423f331e04a9ebf0e13d3 Mon Sep 17 00:00:00 2001 From: Joe C Date: Tue, 24 Oct 2023 13:14:59 +0200 Subject: [PATCH 033/473] token metadata js: bump version to 0.1.0 (#5642) --- clients/js-legacy/package-lock.json | 4 ++-- clients/js-legacy/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/js-legacy/package-lock.json b/clients/js-legacy/package-lock.json index 743d380..5215837 100644 --- a/clients/js-legacy/package-lock.json +++ b/clients/js-legacy/package-lock.json @@ -1,12 +1,12 @@ { "name": "@solana/spl-token-metadata", - "version": "0.0.1", + "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@solana/spl-token-metadata", - "version": "0.0.1", + "version": "0.1.0", "license": "Apache-2.0", "dependencies": { "@solana/codecs-core": "2.0.0-experimental.398c396", diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c28e3f7..7f9d3ed 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -1,7 +1,7 @@ { "name": "@solana/spl-token-metadata", "description": "SPL Token Metadata Interface JS API", - "version": "0.0.1", + "version": "0.1.0", "author": "Solana Labs Maintainers ", "repository": "https://github.com/solana-labs/solana-program-library", "license": "Apache-2.0", From 5538b77890ee661cc17e6204c32a9ef9e9aa2134 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:20:49 +0200 Subject: [PATCH 034/473] build(deps): bump serde from 1.0.189 to 1.0.190 (#5665) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.189 to 1.0.190. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.189...v1.0.190) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index d389ea9..af36f2f 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" -serde = { version = "1.0.189", optional = true } +serde = { version = "1.0.190", optional = true } solana-program = "1.17.2" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } From 20522eedf34118342407c11e70b022369472265e Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Sun, 29 Oct 2023 22:09:42 +0100 Subject: [PATCH 035/473] token-cli{,ent}: Bump version for release (#5689) --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 429eb40..acc6464 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -21,7 +21,7 @@ spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "1.17.2" solana-sdk = "1.17.2" -spl-token-client = { version = "0.7", path = "../../token/client" } +spl-token-client = { version = "0.8", path = "../../token/client" } test-case = "3.2" [lib] From c8b8424096bed18c641184ad159fd784a42c767a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Nov 2023 19:44:46 +0100 Subject: [PATCH 036/473] build(deps): bump serde_json from 1.0.107 to 1.0.108 (#5696) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.107 to 1.0.108. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.107...v1.0.108) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index af36f2f..d484ba3 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -20,7 +20,7 @@ spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-v spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] -serde_json = "1.0.107" +serde_json = "1.0.108" [lib] crate-type = ["cdylib", "lib"] From 86a9469df7c1d7dbfc7ca8cd9a389c2c9f6ee40f Mon Sep 17 00:00:00 2001 From: Joe C Date: Wed, 8 Nov 2023 20:36:07 +0000 Subject: [PATCH 037/473] rustfmt: use entrypoint full path This PR swaps any calls to the `entrypoint!` macro with the full path, ie: `solana_program::entrypoint!`. This will play a role in the effort to introduce a linting standard to SPL. --- program/src/entrypoint.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/program/src/entrypoint.rs b/program/src/entrypoint.rs index 9104ee3..accd30f 100644 --- a/program/src/entrypoint.rs +++ b/program/src/entrypoint.rs @@ -3,13 +3,13 @@ use { crate::processor, solana_program::{ - account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, - program_error::PrintProgramError, pubkey::Pubkey, + account_info::AccountInfo, entrypoint::ProgramResult, program_error::PrintProgramError, + pubkey::Pubkey, }, spl_token_metadata_interface::error::TokenMetadataError, }; -entrypoint!(process_instruction); +solana_program::entrypoint!(process_instruction); fn process_instruction( program_id: &Pubkey, accounts: &[AccountInfo], From a1041b36014293ca4a60c0bae47e274f9825cd37 Mon Sep 17 00:00:00 2001 From: Joe C Date: Wed, 8 Nov 2023 20:38:31 +0000 Subject: [PATCH 038/473] rustfmt: format imports This PR adds import formatting configurations to the repository's `rustfmt.toml` file, and the associated changes from `cargo +nightly fmt --all`. --- interface/src/instruction.rs | 8 +++----- interface/src/lib.rs | 3 +-- interface/src/state.rs | 5 ++--- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index 30865d3..89ad991 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -1,5 +1,7 @@ //! Instruction types +#[cfg(feature = "serde-traits")] +use serde::{Deserialize, Serialize}; use { crate::state::Field, borsh::{BorshDeserialize, BorshSerialize}, @@ -12,9 +14,6 @@ use { spl_pod::optional_keys::OptionalNonZeroPubkey, }; -#[cfg(feature = "serde-traits")] -use serde::{Deserialize, Serialize}; - /// Initialization instruction data #[cfg_attr(feature = "serde-traits", derive(Serialize, Deserialize))] #[cfg_attr(feature = "serde-traits", serde(rename_all = "camelCase"))] @@ -320,10 +319,9 @@ pub fn emit( #[cfg(test)] mod test { - use {super::*, crate::NAMESPACE, solana_program::hash}; - #[cfg(feature = "serde-traits")] use std::str::FromStr; + use {super::*, crate::NAMESPACE, solana_program::hash}; fn check_pack_unpack( instruction: TokenMetadataInstruction, diff --git a/interface/src/lib.rs b/interface/src/lib.rs index 5f1ec04..5302765 100644 --- a/interface/src/lib.rs +++ b/interface/src/lib.rs @@ -9,9 +9,8 @@ pub mod instruction; pub mod state; // Export current sdk types for downstream users building with a different sdk version -pub use solana_program; // Export borsh for downstream users -pub use borsh; +pub use {borsh, solana_program}; /// Namespace for all programs implementing token-metadata pub const NAMESPACE: &str = "spl_token_metadata_interface"; diff --git a/interface/src/state.rs b/interface/src/state.rs index 08e5429..6f5fe54 100644 --- a/interface/src/state.rs +++ b/interface/src/state.rs @@ -1,5 +1,7 @@ //! Token-metadata interface state types +#[cfg(feature = "serde-traits")] +use serde::{Deserialize, Serialize}; use { borsh::{BorshDeserialize, BorshSchema, BorshSerialize}, solana_program::{ @@ -15,9 +17,6 @@ use { }, }; -#[cfg(feature = "serde-traits")] -use serde::{Deserialize, Serialize}; - /// Data struct for all token-metadata, stored in a TLV entry /// /// The type and length parts must be handled by the TLV library, and not stored From 4d59d4838a574c43b496b941317e41cb69dfe00c Mon Sep 17 00:00:00 2001 From: Joe C Date: Wed, 8 Nov 2023 20:41:36 +0000 Subject: [PATCH 039/473] rustfmt: format comments This PR adds comment formatting configurations to the repository's `rustfmt.toml` file, and the associated changes from `cargo +nightly fmt --all`. Comment width 80. --- interface/src/instruction.rs | 15 +++++++++------ interface/src/lib.rs | 4 ++-- program/src/processor.rs | 3 ++- program/tests/emit.rs | 3 ++- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index 89ad991..6be22fc 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -103,7 +103,8 @@ pub enum TokenMetadataInstruction { /// /// By the end of the instruction, the metadata account must be properly /// resized based on the new size of the TLV entry. - /// * If the new size is larger, the program must first reallocate to avoid + /// * If the new size is larger, the program must first reallocate to + /// avoid /// overwriting other TLV entries. /// * If the new size is smaller, the program must reallocate at the end /// so that it's possible to iterate over TLV entries @@ -113,9 +114,9 @@ pub enum TokenMetadataInstruction { /// 0. `[w]` Metadata account /// 1. `[s]` Update authority /// - /// Data: `UpdateField` data, specifying the new field and value. If the field - /// does not exist on the account, it will be created. If the field does exist, - /// it will be overwritten. + /// Data: `UpdateField` data, specifying the new field and value. If the + /// field does not exist on the account, it will be created. If the + /// field does exist, it will be overwritten. UpdateField(UpdateField), /// Removes a key-value pair in a token-metadata account. @@ -161,7 +162,8 @@ pub enum TokenMetadataInstruction { Emit(Emit), } impl TokenMetadataInstruction { - /// Unpacks a byte buffer into a [TokenMetadataInstruction](enum.TokenMetadataInstruction.html). + /// Unpacks a byte buffer into a + /// [TokenMetadataInstruction](enum.TokenMetadataInstruction.html). pub fn unpack(input: &[u8]) -> Result { if input.len() < ArrayDiscriminator::LENGTH { return Err(ProgramError::InvalidInstructionData); @@ -192,7 +194,8 @@ impl TokenMetadataInstruction { }) } - /// Packs a [TokenInstruction](enum.TokenInstruction.html) into a byte buffer. + /// Packs a [TokenInstruction](enum.TokenInstruction.html) into a byte + /// buffer. pub fn pack(&self) -> Vec { let mut buf = vec![]; match self { diff --git a/interface/src/lib.rs b/interface/src/lib.rs index 5302765..a4329d6 100644 --- a/interface/src/lib.rs +++ b/interface/src/lib.rs @@ -8,8 +8,8 @@ pub mod error; pub mod instruction; pub mod state; -// Export current sdk types for downstream users building with a different sdk version -// Export borsh for downstream users +// Export current sdk types for downstream users building with a different sdk +// version Export borsh for downstream users pub use {borsh, solana_program}; /// Namespace for all programs implementing token-metadata diff --git a/program/src/processor.rs b/program/src/processor.rs index 1ff45bf..073a633 100644 --- a/program/src/processor.rs +++ b/program/src/processor.rs @@ -146,7 +146,8 @@ pub fn process_remove_key( Ok(()) } -/// Processes a [UpdateAuthority](enum.TokenMetadataInstruction.html) instruction. +/// Processes a [UpdateAuthority](enum.TokenMetadataInstruction.html) +/// instruction. pub fn process_update_authority( _program_id: &Pubkey, accounts: &[AccountInfo], diff --git a/program/tests/emit.rs b/program/tests/emit.rs index 00ef924..c34412a 100644 --- a/program/tests/emit.rs +++ b/program/tests/emit.rs @@ -91,7 +91,8 @@ async fn success(start: Option, end: Option) { .copy_from_slice(&simulation_return_data.data); assert_eq!(*check_buffer, return_data[..check_buffer.len()]); - // we're sure that we're getting the full data, so also compare the deserialized type + // we're sure that we're getting the full data, so also compare the deserialized + // type if start.is_none() && end.is_none() { let emitted_token_metadata = try_from_slice_unchecked::(&return_data).unwrap(); From edb3b2a1734f3e227418abdd870b45403485a1d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:54:18 +0100 Subject: [PATCH 040/473] build(deps): bump serde from 1.0.190 to 1.0.192 (#5790) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.190 to 1.0.192. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.192) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index d484ba3..adfca06 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" -serde = { version = "1.0.190", optional = true } +serde = { version = "1.0.192", optional = true } solana-program = "1.17.2" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } From 43cd46aeec3d9c1dfa9c19042645418ce1b54003 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Thu, 9 Nov 2023 13:03:24 +0100 Subject: [PATCH 041/473] js: Move everything to pnpm (#5775) * Add workspace file and lockfile after install * Update tlv library to pnpm * Update memo to newer jest / pnpm * name-service: Update to pnpm, fix old deps * stake-pool: Update to pnpm * token: Update to pnpm * token-lending: Update to pnpm and some new packages * token-swap: Update to pnpm * token-metadata: Update to pnpm * single-pool: Add to same workspace * CI: Use pnpm everywhere * Use workspace versions of internal packages * Build dependent packages in CI * Update lockfile, remove some unused packages * Move token-swap tests to mocha * Move tests into test file, maybe that'll do it? * Update token-swap js build * Use updated eslint in token-swap * Fixup token ci build to include memo * ci: Trigger on changes to pnpm-lock.yaml * Refresh pnpm lock file --- clients/js-legacy/package-lock.json | 6493 --------------------------- clients/js-legacy/package.json | 3 +- 2 files changed, 1 insertion(+), 6495 deletions(-) delete mode 100644 clients/js-legacy/package-lock.json diff --git a/clients/js-legacy/package-lock.json b/clients/js-legacy/package-lock.json deleted file mode 100644 index 5215837..0000000 --- a/clients/js-legacy/package-lock.json +++ /dev/null @@ -1,6493 +0,0 @@ -{ - "name": "@solana/spl-token-metadata", - "version": "0.1.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@solana/spl-token-metadata", - "version": "0.1.0", - "license": "Apache-2.0", - "dependencies": { - "@solana/codecs-core": "2.0.0-experimental.398c396", - "@solana/codecs-data-structures": "2.0.0-experimental.398c396", - "@solana/codecs-numbers": "2.0.0-experimental.398c396", - "@solana/codecs-strings": "2.0.0-experimental.398c396", - "@solana/options": "2.0.0-experimental.398c396", - "@solana/spl-type-length-value": "0.1.0" - }, - "devDependencies": { - "@solana/web3.js": "^1.47.4", - "@types/chai": "^4.3.3", - "@types/mocha": "^10.0.0", - "@types/node": "^20.8.7", - "@types/prettier": "^3.0.0", - "@typescript-eslint/eslint-plugin": "^6.0.0", - "@typescript-eslint/parser": "^6.0.0", - "chai": "^4.3.6", - "eslint": "^8.20.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-prettier": "^5.0.0", - "eslint-plugin-require-extensions": "^0.1.1", - "gh-pages": "^6.0.0", - "mocha": "^10.1.0", - "prettier": "^3.0.0", - "shx": "^0.3.4", - "ts-node": "^10.9.1", - "tslib": "^2.3.1", - "typedoc": "^0.25.0", - "typescript": "^5.0.4" - }, - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "@solana/web3.js": "^1.47.4" - } - }, - "node_modules/@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz", - "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==", - "dev": true, - "dependencies": { - "regenerator-runtime": "^0.13.11" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" - } - }, - "node_modules/@eslint-community/regexpp": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", - "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==", - "dev": true, - "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", - "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", - "dev": true, - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/js": { - "version": "8.49.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", - "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", - "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", - "dev": true, - "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "dev": true, - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "dev": true, - "license": "MIT" - }, - "node_modules/@noble/curves": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.0.0.tgz", - "integrity": "sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "dependencies": { - "@noble/hashes": "1.3.0" - } - }, - "node_modules/@noble/hashes": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", - "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@pkgr/utils": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.4.2.tgz", - "integrity": "sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "fast-glob": "^3.3.0", - "is-glob": "^4.0.3", - "open": "^9.1.0", - "picocolors": "^1.0.0", - "tslib": "^2.6.0" - }, - "engines": { - "node": "^12.20.0 || ^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/unts" - } - }, - "node_modules/@solana/buffer-layout": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz", - "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==", - "dev": true, - "dependencies": { - "buffer": "~6.0.3" - }, - "engines": { - "node": ">=5.10" - } - }, - "node_modules/@solana/codecs-core": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-E3kJzw7K6rkmmTX1tSOdE7Qg/OFqbKiIaaT9V2PTKTVZxwssPrqogUh6aLx0wdzlSJNymy8krKG/FbXsua0FIA==" - }, - "node_modules/@solana/codecs-data-structures": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-gJxLunF1GuBXF8Mz1lfnqGjNMkIrpyTmHgk0g4PyacRCI0MvQr6d3q5oXVHfYLIaRrYPUUxvbt02sqOoOiW2dQ==", - "dependencies": { - "@solana/codecs-core": "2.0.0-experimental.398c396", - "@solana/codecs-numbers": "2.0.0-experimental.398c396" - } - }, - "node_modules/@solana/codecs-numbers": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-mmUSfO3TOL5kCb/5UCWCz0UTC0KgC864pRe9veCtJbgh5G2YDcBYNJiyKTT661yo/Y+dvrh2hZtYprhB/qxjmw==", - "dependencies": { - "@solana/codecs-core": "2.0.0-experimental.398c396" - } - }, - "node_modules/@solana/codecs-strings": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-RGj57x8pDpk5e2hnZ0dguXJlzzVVBUf93VNyp0NGmhm+oWlj5lG4nPinjLo8OunYBBlishFDZZGfCpcqivrDRg==", - "dependencies": { - "@solana/codecs-core": "2.0.0-experimental.398c396", - "@solana/codecs-numbers": "2.0.0-experimental.398c396" - }, - "peerDependencies": { - "fastestsmallesttextencoderdecoder": "^1.0.22" - } - }, - "node_modules/@solana/options": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-EyHhCADS1D20zf9fZHozkGcNXAi45bux/AUwBrU0kPBY9RH67IUGxyRwRoWVIYVzsUZNWr0zoqWY5ZS4IZxzJw==", - "dependencies": { - "@solana/codecs-core": "2.0.0-experimental.398c396", - "@solana/codecs-numbers": "2.0.0-experimental.398c396" - } - }, - "node_modules/@solana/spl-type-length-value": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@solana/spl-type-length-value/-/spl-type-length-value-0.1.0.tgz", - "integrity": "sha512-JBMGB0oR4lPttOZ5XiUGyvylwLQjt1CPJa6qQ5oM+MBCndfjz2TKKkw0eATlLLcYmq1jBVsNlJ2cD6ns2GR7lA==", - "dependencies": { - "buffer": "^6.0.3" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@solana/web3.js": { - "version": "1.78.5", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.78.5.tgz", - "integrity": "sha512-2ZHsDNqkKdglJQrIvJ3p2DmgS3cGnary3VJyqt9C1SPrpAtLYzcElr3xyXJOznyQTU/8AMw+GoF11lFoKbicKg==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.22.6", - "@noble/curves": "^1.0.0", - "@noble/hashes": "^1.3.1", - "@solana/buffer-layout": "^4.0.0", - "agentkeepalive": "^4.3.0", - "bigint-buffer": "^1.1.5", - "bn.js": "^5.2.1", - "borsh": "^0.7.0", - "bs58": "^4.0.1", - "buffer": "6.0.3", - "fast-stable-stringify": "^1.0.0", - "jayson": "^4.1.0", - "node-fetch": "^2.6.12", - "rpc-websockets": "^7.5.1", - "superstruct": "^0.14.2" - } - }, - "node_modules/@solana/web3.js/node_modules/@noble/hashes": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", - "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==", - "dev": true, - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@solana/web3.js/node_modules/borsh": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", - "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", - "dev": true, - "dependencies": { - "bn.js": "^5.2.0", - "bs58": "^4.0.0", - "text-encoding-utf-8": "^1.0.2" - } - }, - "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "dev": true, - "license": "MIT" - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "dev": true, - "license": "MIT" - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/chai": { - "version": "4.3.9", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.9.tgz", - "integrity": "sha512-69TtiDzu0bcmKQv3yg1Zx409/Kd7r0b5F1PfpYJfSHzLGtB53547V4u+9iqKYsTu/O2ai6KTb0TInNpvuQ3qmg==", - "dev": true - }, - "node_modules/@types/connect": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", - "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/json-schema": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", - "dev": true - }, - "node_modules/@types/mocha": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.3.tgz", - "integrity": "sha512-RsOPImTriV/OE4A9qKjMtk2MnXiuLLbcO3nCXK+kvq4nr0iMfFgpjaX3MPLb6f7+EL1FGSelYvuJMV6REH+ZPQ==", - "dev": true - }, - "node_modules/@types/node": { - "version": "20.8.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", - "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", - "dev": true, - "dependencies": { - "undici-types": "~5.25.1" - } - }, - "node_modules/@types/prettier": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-3.0.0.tgz", - "integrity": "sha512-mFMBfMOz8QxhYVbuINtswBp9VL2b4Y0QqYHwqLz3YbgtfAcat2Dl6Y1o4e22S/OVE6Ebl9m7wWiMT2lSbAs1wA==", - "deprecated": "This is a stub types definition. prettier provides its own type definitions, so you do not need this installed.", - "dev": true, - "dependencies": { - "prettier": "*" - } - }, - "node_modules/@types/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==", - "dev": true - }, - "node_modules/@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.7.0.tgz", - "integrity": "sha512-gUqtknHm0TDs1LhY12K2NA3Rmlmp88jK9Tx8vGZMfHeNMLE3GH2e9TRub+y+SOjuYgtOmok+wt1AyDPZqxbNag==", - "dev": true, - "dependencies": { - "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.7.0", - "@typescript-eslint/type-utils": "6.7.0", - "@typescript-eslint/utils": "6.7.0", - "@typescript-eslint/visitor-keys": "6.7.0", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.2.4", - "natural-compare": "^1.4.0", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" - }, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha", - "eslint": "^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.7.0.tgz", - "integrity": "sha512-jZKYwqNpNm5kzPVP5z1JXAuxjtl2uG+5NpaMocFPTNC2EdYIgbXIPImObOkhbONxtFTTdoZstLZefbaK+wXZng==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "6.7.0", - "@typescript-eslint/types": "6.7.0", - "@typescript-eslint/typescript-estree": "6.7.0", - "@typescript-eslint/visitor-keys": "6.7.0", - "debug": "^4.3.4" - }, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.7.0.tgz", - "integrity": "sha512-lAT1Uau20lQyjoLUQ5FUMSX/dS07qux9rYd5FGzKz/Kf8W8ccuvMyldb8hadHdK/qOI7aikvQWqulnEq2nCEYA==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "6.7.0", - "@typescript-eslint/visitor-keys": "6.7.0" - }, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.7.0.tgz", - "integrity": "sha512-f/QabJgDAlpSz3qduCyQT0Fw7hHpmhOzY/Rv6zO3yO+HVIdPfIWhrQoAyG+uZVtWAIS85zAyzgAFfyEr+MgBpg==", - "dev": true, - "dependencies": { - "@typescript-eslint/typescript-estree": "6.7.0", - "@typescript-eslint/utils": "6.7.0", - "debug": "^4.3.4", - "ts-api-utils": "^1.0.1" - }, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/types": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.7.0.tgz", - "integrity": "sha512-ihPfvOp7pOcN/ysoj0RpBPOx3HQTJTrIN8UZK+WFd3/iDeFHHqeyYxa4hQk4rMhsz9H9mXpR61IzwlBVGXtl9Q==", - "dev": true, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.7.0.tgz", - "integrity": "sha512-dPvkXj3n6e9yd/0LfojNU8VMUGHWiLuBZvbM6V6QYD+2qxqInE7J+J/ieY2iGwR9ivf/R/haWGkIj04WVUeiSQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "6.7.0", - "@typescript-eslint/visitor-keys": "6.7.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" - }, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.7.0.tgz", - "integrity": "sha512-MfCq3cM0vh2slSikQYqK2Gq52gvOhe57vD2RM3V4gQRZYX4rDPnKLu5p6cm89+LJiGlwEXU8hkYxhqqEC/V3qA==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.12", - "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.7.0", - "@typescript-eslint/types": "6.7.0", - "@typescript-eslint/typescript-estree": "6.7.0", - "semver": "^7.5.4" - }, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.0.tgz", - "integrity": "sha512-/C1RVgKFDmGMcVGeD8HjKv2bd72oI1KxQDeY8uc66gw9R0OK0eMq48cA+jv9/2Ag6cdrsUGySm1yzYmfz0hxwQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "6.7.0", - "eslint-visitor-keys": "^3.4.1" - }, - "engines": { - "node": "^16.0.0 || >=18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/acorn": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", - "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/acorn-walk": { - "version": "8.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/agentkeepalive": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", - "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", - "dev": true, - "dependencies": { - "debug": "^4.1.0", - "depd": "^2.0.0", - "humanize-ms": "^1.2.1" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-sequence-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz", - "integrity": "sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==", - "dev": true - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/arg": { - "version": "4.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/argparse": { - "version": "2.0.1", - "dev": true, - "license": "Python-2.0" - }, - "node_modules/array-union": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/array-uniq": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", - "dev": true - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/base-x": { - "version": "3.0.9", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/big-integer": { - "version": "1.6.51", - "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", - "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", - "dev": true, - "engines": { - "node": ">=0.6" - } - }, - "node_modules/bigint-buffer": { - "version": "1.1.5", - "dev": true, - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "bindings": "^1.3.0" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/bindings": { - "version": "1.5.0", - "dev": true, - "license": "MIT", - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, - "node_modules/bn.js": { - "version": "5.2.1", - "dev": true, - "license": "MIT" - }, - "node_modules/bplist-parser": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz", - "integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==", - "dev": true, - "dependencies": { - "big-integer": "^1.6.44" - }, - "engines": { - "node": ">= 5.10.0" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browser-stdout": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", - "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", - "dev": true - }, - "node_modules/bs58": { - "version": "4.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "base-x": "^3.0.2" - } - }, - "node_modules/buffer": { - "version": "6.0.3", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/bufferutil": { - "version": "4.0.6", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=6.14.2" - } - }, - "node_modules/bundle-name": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-3.0.0.tgz", - "integrity": "sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==", - "dev": true, - "dependencies": { - "run-applescript": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/chai": { - "version": "4.3.10", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", - "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", - "dev": true, - "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.3", - "deep-eql": "^4.1.3", - "get-func-name": "^2.0.2", - "loupe": "^2.3.6", - "pathval": "^1.1.1", - "type-detect": "^4.0.8" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/check-error": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", - "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", - "dev": true, - "dependencies": { - "get-func-name": "^2.0.2" - }, - "engines": { - "node": "*" - } - }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/chokidar/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "dev": true, - "license": "MIT" - }, - "node_modules/commander": { - "version": "2.20.3", - "dev": true, - "license": "MIT" - }, - "node_modules/commondir": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/create-require": { - "version": "1.1.1", - "dev": true, - "license": "MIT" - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decamelize": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", - "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/deep-eql": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", - "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", - "dev": true, - "dependencies": { - "type-detect": "^4.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "node_modules/default-browser": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-4.0.0.tgz", - "integrity": "sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==", - "dev": true, - "dependencies": { - "bundle-name": "^3.0.0", - "default-browser-id": "^3.0.0", - "execa": "^7.1.1", - "titleize": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/default-browser-id": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-3.0.0.tgz", - "integrity": "sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==", - "dev": true, - "dependencies": { - "bplist-parser": "^0.2.0", - "untildify": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/define-lazy-prop": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", - "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/delay": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", - "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/diff": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", - "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", - "dev": true, - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/doctrine": { - "version": "3.0.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/email-addresses": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/email-addresses/-/email-addresses-5.0.0.tgz", - "integrity": "sha512-4OIPYlA6JXqtVn8zpHpGiI7vE6EQOAg16aGnDMIAlZVinnoZ8208tW1hAbjWydgN/4PLTT9q+O1K6AH/vALJGw==", - "dev": true - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", - "dev": true - }, - "node_modules/es6-promisify": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", - "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", - "dev": true, - "dependencies": { - "es6-promise": "^4.0.3" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint": { - "version": "8.49.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", - "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.49.0", - "@humanwhocodes/config-array": "^0.11.11", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-config-prettier": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", - "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", - "dev": true, - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, - "node_modules/eslint-plugin-prettier": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.0.tgz", - "integrity": "sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==", - "dev": true, - "dependencies": { - "prettier-linter-helpers": "^1.0.0", - "synckit": "^0.8.5" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/prettier" - }, - "peerDependencies": { - "@types/eslint": ">=8.0.0", - "eslint": ">=8.0.0", - "prettier": ">=3.0.0" - }, - "peerDependenciesMeta": { - "@types/eslint": { - "optional": true - }, - "eslint-config-prettier": { - "optional": true - } - } - }, - "node_modules/eslint-plugin-require-extensions": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-require-extensions/-/eslint-plugin-require-extensions-0.1.3.tgz", - "integrity": "sha512-T3c1PZ9PIdI3hjV8LdunfYI8gj017UQjzAnCrxuo3wAjneDbTPHdE3oNWInOjMA+z/aBkUtlW5vC0YepYMZIug==", - "dev": true, - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "eslint": "*" - } - }, - "node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", - "dev": true, - "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", - "dev": true, - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - }, - "node_modules/execa": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", - "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^4.3.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^3.0.7", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": "^14.18.0 || ^16.14.0 || >=18.0.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/execa/node_modules/human-signals": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", - "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", - "dev": true, - "engines": { - "node": ">=14.18.0" - } - }, - "node_modules/execa/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/execa/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/execa/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eyes": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", - "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==", - "dev": true, - "engines": { - "node": "> 0.1.90" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "node_modules/fast-diff": { - "version": "1.2.0", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/fast-glob": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", - "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "node_modules/fast-stable-stringify": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/fastestsmallesttextencoderdecoder": { - "version": "1.0.22", - "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz", - "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==", - "peer": true - }, - "node_modules/fastq": { - "version": "1.13.0", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/filename-reserved-regex": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/filenamify": { - "version": "4.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "filename-reserved-regex": "^2.0.0", - "strip-outer": "^1.0.1", - "trim-repeated": "^1.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir": { - "version": "3.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" - } - }, - "node_modules/find-up": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "dev": true, - "bin": { - "flat": "cli.js" - } - }, - "node_modules/flat-cache": { - "version": "3.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.7", - "dev": true, - "license": "ISC" - }, - "node_modules/fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "dev": true, - "license": "MIT" - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-func-name": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", - "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/gh-pages": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/gh-pages/-/gh-pages-6.0.0.tgz", - "integrity": "sha512-FXZWJRsvP/fK2HJGY+Di6FRNHvqFF6gOIELaopDjXXgjeOYSNURcuYwEO/6bwuq6koP5Lnkvnr5GViXzuOB89g==", - "dev": true, - "dependencies": { - "async": "^3.2.4", - "commander": "^11.0.0", - "email-addresses": "^5.0.0", - "filenamify": "^4.3.0", - "find-cache-dir": "^3.3.1", - "fs-extra": "^11.1.1", - "globby": "^6.1.0" - }, - "bin": { - "gh-pages": "bin/gh-pages.js", - "gh-pages-clean": "bin/gh-pages-clean.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/gh-pages/node_modules/array-union": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "array-uniq": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/gh-pages/node_modules/commander": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", - "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==", - "dev": true, - "engines": { - "node": ">=16" - } - }, - "node_modules/gh-pages/node_modules/globby": { - "version": "6.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/gh-pages/node_modules/pify": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/glob": { - "version": "7.2.0", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "6.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/globals": { - "version": "13.21.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", - "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, - "node_modules/has": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true, - "bin": { - "he": "bin/he" - } - }, - "node_modules/human-signals": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/humanize-ms": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", - "dev": true, - "dependencies": { - "ms": "^2.0.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "dev": true, - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "dev": true, - "license": "ISC" - }, - "node_modules/interpret": { - "version": "1.4.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-core-module": { - "version": "2.10.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-docker": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", - "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", - "dev": true, - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-inside-container": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", - "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", - "dev": true, - "dependencies": { - "is-docker": "^3.0.0" - }, - "bin": { - "is-inside-container": "cli.js" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "dev": true, - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-wsl/node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "dev": true, - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/isomorphic-ws": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", - "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==", - "dev": true, - "peerDependencies": { - "ws": "*" - } - }, - "node_modules/jayson": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.1.0.tgz", - "integrity": "sha512-R6JlbyLN53Mjku329XoRT2zJAE6ZgOQ8f91ucYdMCD4nkGCF9kZSrcGXpHIU4jeKj58zUZke2p+cdQchU7Ly7A==", - "dev": true, - "dependencies": { - "@types/connect": "^3.4.33", - "@types/node": "^12.12.54", - "@types/ws": "^7.4.4", - "commander": "^2.20.3", - "delay": "^5.0.0", - "es6-promisify": "^5.0.0", - "eyes": "^0.1.8", - "isomorphic-ws": "^4.0.1", - "json-stringify-safe": "^5.0.1", - "JSONStream": "^1.3.5", - "uuid": "^8.3.2", - "ws": "^7.4.5" - }, - "bin": { - "jayson": "bin/jayson.js" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jayson/node_modules/@types/node": { - "version": "12.20.55", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", - "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true - }, - "node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", - "dev": true, - "engines": [ - "node >= 0.2.0" - ] - }, - "node_modules/JSONStream": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", - "dev": true, - "dependencies": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - }, - "bin": { - "JSONStream": "bin.js" - }, - "engines": { - "node": "*" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/locate-path": { - "version": "6.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "dev": true, - "license": "MIT" - }, - "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/loupe": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", - "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", - "dev": true, - "dependencies": { - "get-func-name": "^2.0.1" - } - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/lunr": { - "version": "2.3.9", - "dev": true, - "license": "MIT" - }, - "node_modules/make-dir": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "dev": true, - "license": "ISC" - }, - "node_modules/marked": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", - "dev": true, - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/merge2": { - "version": "1.4.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/mocha": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", - "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", - "dev": true, - "dependencies": { - "ansi-colors": "4.1.1", - "browser-stdout": "1.3.1", - "chokidar": "3.5.3", - "debug": "4.3.4", - "diff": "5.0.0", - "escape-string-regexp": "4.0.0", - "find-up": "5.0.0", - "glob": "7.2.0", - "he": "1.2.0", - "js-yaml": "4.1.0", - "log-symbols": "4.1.0", - "minimatch": "5.0.1", - "ms": "2.1.3", - "nanoid": "3.3.3", - "serialize-javascript": "6.0.0", - "strip-json-comments": "3.1.1", - "supports-color": "8.1.1", - "workerpool": "6.2.1", - "yargs": "16.2.0", - "yargs-parser": "20.2.4", - "yargs-unparser": "2.0.0" - }, - "bin": { - "_mocha": "bin/_mocha", - "mocha": "bin/mocha.js" - }, - "engines": { - "node": ">= 14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mochajs" - } - }, - "node_modules/mocha/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/mocha/node_modules/minimatch": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", - "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/mocha/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, - "node_modules/mocha/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "dev": true, - "license": "MIT" - }, - "node_modules/nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", - "dev": true, - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "dev": true, - "license": "MIT" - }, - "node_modules/node-fetch": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", - "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", - "dev": true, - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/node-gyp-build": { - "version": "4.5.0", - "dev": true, - "license": "MIT", - "optional": true, - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-path": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", - "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/npm-run-path/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/once": { - "version": "1.4.0", - "dev": true, - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/open": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/open/-/open-9.1.0.tgz", - "integrity": "sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==", - "dev": true, - "dependencies": { - "default-browser": "^4.0.0", - "define-lazy-prop": "^3.0.0", - "is-inside-container": "^1.0.0", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", - "dev": true, - "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "dev": true, - "license": "MIT" - }, - "node_modules/path-type": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pinkie": { - "version": "2.0.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pinkie-promise": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "pinkie": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/find-up": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/locate-path": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/p-limit": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pkg-dir/node_modules/p-locate": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", - "dev": true, - "bin": { - "prettier": "bin/prettier.cjs" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/prettier-linter-helpers": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-diff": "^1.1.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/rechoir": { - "version": "0.6.2", - "dev": true, - "dependencies": { - "resolve": "^1.1.6" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", - "dev": true - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve": { - "version": "1.22.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rpc-websockets": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-7.5.1.tgz", - "integrity": "sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.17.2", - "eventemitter3": "^4.0.7", - "uuid": "^8.3.2", - "ws": "^8.5.0" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/kozjak" - }, - "optionalDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - } - }, - "node_modules/rpc-websockets/node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/run-applescript": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz", - "integrity": "sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==", - "dev": true, - "dependencies": { - "execa": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/run-applescript/node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/run-applescript/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/run-applescript/node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/shelljs": { - "version": "0.8.5", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - }, - "bin": { - "shjs": "bin/shjs" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/shiki": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.2.tgz", - "integrity": "sha512-ltSZlSLOuSY0M0Y75KA+ieRaZ0Trf5Wl3gutE7jzLuIcWxLp5i/uEnLoQWNvgKXQ5OMpGkJnVMRLAuzjc0LJ2A==", - "dev": true, - "dependencies": { - "ansi-sequence-parser": "^1.1.0", - "jsonc-parser": "^3.2.0", - "vscode-oniguruma": "^1.7.0", - "vscode-textmate": "^8.0.0" - } - }, - "node_modules/shx": { - "version": "0.3.4", - "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.3", - "shelljs": "^0.8.5" - }, - "bin": { - "shx": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "dev": true, - "license": "ISC" - }, - "node_modules/slash": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/strip-outer": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-outer/node_modules/escape-string-regexp": { - "version": "1.0.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/superstruct": { - "version": "0.14.2", - "dev": true, - "license": "MIT" - }, - "node_modules/supports-color": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/synckit": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.5.tgz", - "integrity": "sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==", - "dev": true, - "dependencies": { - "@pkgr/utils": "^2.3.1", - "tslib": "^2.5.0" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/unts" - } - }, - "node_modules/text-encoding-utf-8": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz", - "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==", - "dev": true - }, - "node_modules/text-table": { - "version": "0.2.0", - "dev": true, - "license": "MIT" - }, - "node_modules/through": { - "version": "2.3.8", - "dev": true, - "license": "MIT" - }, - "node_modules/titleize": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz", - "integrity": "sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true - }, - "node_modules/trim-repeated": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/trim-repeated/node_modules/escape-string-regexp": { - "version": "1.0.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/ts-api-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.1.tgz", - "integrity": "sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==", - "dev": true, - "engines": { - "node": ">=16.13.0" - }, - "peerDependencies": { - "typescript": ">=4.2.0" - } - }, - "node_modules/ts-node": { - "version": "10.9.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, - "node_modules/ts-node/node_modules/diff": { - "version": "4.0.2", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", - "dev": true - }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typedoc": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.1.tgz", - "integrity": "sha512-c2ye3YUtGIadxN2O6YwPEXgrZcvhlZ6HlhWZ8jQRNzwLPn2ylhdGqdR8HbyDRyALP8J6lmSANILCkkIdNPFxqA==", - "dev": true, - "dependencies": { - "lunr": "^2.3.9", - "marked": "^4.3.0", - "minimatch": "^9.0.3", - "shiki": "^0.14.1" - }, - "bin": { - "typedoc": "bin/typedoc" - }, - "engines": { - "node": ">= 16" - }, - "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x" - } - }, - "node_modules/typedoc/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/typedoc/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/undici-types": { - "version": "5.25.3", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", - "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==", - "dev": true - }, - "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/untildify": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", - "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/utf-8-validate": { - "version": "5.0.9", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=6.14.2" - } - }, - "node_modules/uuid": { - "version": "8.3.2", - "dev": true, - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/vscode-oniguruma": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", - "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==", - "dev": true - }, - "node_modules/vscode-textmate": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz", - "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==", - "dev": true - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dev": true, - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which": { - "version": "2.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/workerpool": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", - "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", - "dev": true - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "dev": true, - "license": "ISC" - }, - "node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "dev": true, - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.4", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-unparser": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", - "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", - "dev": true, - "dependencies": { - "camelcase": "^6.0.0", - "decamelize": "^4.0.0", - "flat": "^5.0.2", - "is-plain-obj": "^2.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yn": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - }, - "dependencies": { - "@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true - }, - "@babel/runtime": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz", - "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==", - "dev": true, - "requires": { - "regenerator-runtime": "^0.13.11" - } - }, - "@cspotcode/source-map-support": { - "version": "0.8.1", - "dev": true, - "requires": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "dependencies": { - "@jridgewell/trace-mapping": { - "version": "0.3.9", - "dev": true, - "requires": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - } - } - }, - "@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", - "dev": true, - "requires": { - "eslint-visitor-keys": "^3.3.0" - } - }, - "@eslint-community/regexpp": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", - "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==", - "dev": true - }, - "@eslint/eslintrc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", - "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", - "dev": true, - "requires": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - } - }, - "@eslint/js": { - "version": "8.49.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", - "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==", - "dev": true - }, - "@humanwhocodes/config-array": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", - "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", - "dev": true, - "requires": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - } - }, - "@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "dev": true - }, - "@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true - }, - "@jridgewell/resolve-uri": { - "version": "3.1.0", - "dev": true - }, - "@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "dev": true - }, - "@noble/curves": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.0.0.tgz", - "integrity": "sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw==", - "dev": true, - "requires": { - "@noble/hashes": "1.3.0" - } - }, - "@noble/hashes": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", - "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==", - "dev": true - }, - "@nodelib/fs.scandir": { - "version": "2.1.5", - "dev": true, - "requires": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - } - }, - "@nodelib/fs.stat": { - "version": "2.0.5", - "dev": true - }, - "@nodelib/fs.walk": { - "version": "1.2.8", - "dev": true, - "requires": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - } - }, - "@pkgr/utils": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.4.2.tgz", - "integrity": "sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.3", - "fast-glob": "^3.3.0", - "is-glob": "^4.0.3", - "open": "^9.1.0", - "picocolors": "^1.0.0", - "tslib": "^2.6.0" - } - }, - "@solana/buffer-layout": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz", - "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==", - "dev": true, - "requires": { - "buffer": "~6.0.3" - } - }, - "@solana/codecs-core": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-E3kJzw7K6rkmmTX1tSOdE7Qg/OFqbKiIaaT9V2PTKTVZxwssPrqogUh6aLx0wdzlSJNymy8krKG/FbXsua0FIA==" - }, - "@solana/codecs-data-structures": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-gJxLunF1GuBXF8Mz1lfnqGjNMkIrpyTmHgk0g4PyacRCI0MvQr6d3q5oXVHfYLIaRrYPUUxvbt02sqOoOiW2dQ==", - "requires": { - "@solana/codecs-core": "2.0.0-experimental.398c396", - "@solana/codecs-numbers": "2.0.0-experimental.398c396" - } - }, - "@solana/codecs-numbers": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-mmUSfO3TOL5kCb/5UCWCz0UTC0KgC864pRe9veCtJbgh5G2YDcBYNJiyKTT661yo/Y+dvrh2hZtYprhB/qxjmw==", - "requires": { - "@solana/codecs-core": "2.0.0-experimental.398c396" - } - }, - "@solana/codecs-strings": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-RGj57x8pDpk5e2hnZ0dguXJlzzVVBUf93VNyp0NGmhm+oWlj5lG4nPinjLo8OunYBBlishFDZZGfCpcqivrDRg==", - "requires": { - "@solana/codecs-core": "2.0.0-experimental.398c396", - "@solana/codecs-numbers": "2.0.0-experimental.398c396" - } - }, - "@solana/options": { - "version": "2.0.0-experimental.398c396", - "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-experimental.398c396.tgz", - "integrity": "sha512-EyHhCADS1D20zf9fZHozkGcNXAi45bux/AUwBrU0kPBY9RH67IUGxyRwRoWVIYVzsUZNWr0zoqWY5ZS4IZxzJw==", - "requires": { - "@solana/codecs-core": "2.0.0-experimental.398c396", - "@solana/codecs-numbers": "2.0.0-experimental.398c396" - } - }, - "@solana/spl-type-length-value": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@solana/spl-type-length-value/-/spl-type-length-value-0.1.0.tgz", - "integrity": "sha512-JBMGB0oR4lPttOZ5XiUGyvylwLQjt1CPJa6qQ5oM+MBCndfjz2TKKkw0eATlLLcYmq1jBVsNlJ2cD6ns2GR7lA==", - "requires": { - "buffer": "^6.0.3" - } - }, - "@solana/web3.js": { - "version": "1.78.5", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.78.5.tgz", - "integrity": "sha512-2ZHsDNqkKdglJQrIvJ3p2DmgS3cGnary3VJyqt9C1SPrpAtLYzcElr3xyXJOznyQTU/8AMw+GoF11lFoKbicKg==", - "dev": true, - "requires": { - "@babel/runtime": "^7.22.6", - "@noble/curves": "^1.0.0", - "@noble/hashes": "^1.3.1", - "@solana/buffer-layout": "^4.0.0", - "agentkeepalive": "^4.3.0", - "bigint-buffer": "^1.1.5", - "bn.js": "^5.2.1", - "borsh": "^0.7.0", - "bs58": "^4.0.1", - "buffer": "6.0.3", - "fast-stable-stringify": "^1.0.0", - "jayson": "^4.1.0", - "node-fetch": "^2.6.12", - "rpc-websockets": "^7.5.1", - "superstruct": "^0.14.2" - }, - "dependencies": { - "@noble/hashes": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", - "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==", - "dev": true - }, - "borsh": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", - "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", - "dev": true, - "requires": { - "bn.js": "^5.2.0", - "bs58": "^4.0.0", - "text-encoding-utf-8": "^1.0.2" - } - } - } - }, - "@tsconfig/node10": { - "version": "1.0.9", - "dev": true - }, - "@tsconfig/node12": { - "version": "1.0.11", - "dev": true - }, - "@tsconfig/node14": { - "version": "1.0.3", - "dev": true - }, - "@tsconfig/node16": { - "version": "1.0.3", - "dev": true - }, - "@types/chai": { - "version": "4.3.9", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.9.tgz", - "integrity": "sha512-69TtiDzu0bcmKQv3yg1Zx409/Kd7r0b5F1PfpYJfSHzLGtB53547V4u+9iqKYsTu/O2ai6KTb0TInNpvuQ3qmg==", - "dev": true - }, - "@types/connect": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", - "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@types/json-schema": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", - "dev": true - }, - "@types/mocha": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.3.tgz", - "integrity": "sha512-RsOPImTriV/OE4A9qKjMtk2MnXiuLLbcO3nCXK+kvq4nr0iMfFgpjaX3MPLb6f7+EL1FGSelYvuJMV6REH+ZPQ==", - "dev": true - }, - "@types/node": { - "version": "20.8.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", - "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", - "dev": true, - "requires": { - "undici-types": "~5.25.1" - } - }, - "@types/prettier": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-3.0.0.tgz", - "integrity": "sha512-mFMBfMOz8QxhYVbuINtswBp9VL2b4Y0QqYHwqLz3YbgtfAcat2Dl6Y1o4e22S/OVE6Ebl9m7wWiMT2lSbAs1wA==", - "dev": true, - "requires": { - "prettier": "*" - } - }, - "@types/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==", - "dev": true - }, - "@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@typescript-eslint/eslint-plugin": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.7.0.tgz", - "integrity": "sha512-gUqtknHm0TDs1LhY12K2NA3Rmlmp88jK9Tx8vGZMfHeNMLE3GH2e9TRub+y+SOjuYgtOmok+wt1AyDPZqxbNag==", - "dev": true, - "requires": { - "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.7.0", - "@typescript-eslint/type-utils": "6.7.0", - "@typescript-eslint/utils": "6.7.0", - "@typescript-eslint/visitor-keys": "6.7.0", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.2.4", - "natural-compare": "^1.4.0", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" - } - }, - "@typescript-eslint/parser": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.7.0.tgz", - "integrity": "sha512-jZKYwqNpNm5kzPVP5z1JXAuxjtl2uG+5NpaMocFPTNC2EdYIgbXIPImObOkhbONxtFTTdoZstLZefbaK+wXZng==", - "dev": true, - "requires": { - "@typescript-eslint/scope-manager": "6.7.0", - "@typescript-eslint/types": "6.7.0", - "@typescript-eslint/typescript-estree": "6.7.0", - "@typescript-eslint/visitor-keys": "6.7.0", - "debug": "^4.3.4" - } - }, - "@typescript-eslint/scope-manager": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.7.0.tgz", - "integrity": "sha512-lAT1Uau20lQyjoLUQ5FUMSX/dS07qux9rYd5FGzKz/Kf8W8ccuvMyldb8hadHdK/qOI7aikvQWqulnEq2nCEYA==", - "dev": true, - "requires": { - "@typescript-eslint/types": "6.7.0", - "@typescript-eslint/visitor-keys": "6.7.0" - } - }, - "@typescript-eslint/type-utils": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.7.0.tgz", - "integrity": "sha512-f/QabJgDAlpSz3qduCyQT0Fw7hHpmhOzY/Rv6zO3yO+HVIdPfIWhrQoAyG+uZVtWAIS85zAyzgAFfyEr+MgBpg==", - "dev": true, - "requires": { - "@typescript-eslint/typescript-estree": "6.7.0", - "@typescript-eslint/utils": "6.7.0", - "debug": "^4.3.4", - "ts-api-utils": "^1.0.1" - } - }, - "@typescript-eslint/types": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.7.0.tgz", - "integrity": "sha512-ihPfvOp7pOcN/ysoj0RpBPOx3HQTJTrIN8UZK+WFd3/iDeFHHqeyYxa4hQk4rMhsz9H9mXpR61IzwlBVGXtl9Q==", - "dev": true - }, - "@typescript-eslint/typescript-estree": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.7.0.tgz", - "integrity": "sha512-dPvkXj3n6e9yd/0LfojNU8VMUGHWiLuBZvbM6V6QYD+2qxqInE7J+J/ieY2iGwR9ivf/R/haWGkIj04WVUeiSQ==", - "dev": true, - "requires": { - "@typescript-eslint/types": "6.7.0", - "@typescript-eslint/visitor-keys": "6.7.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" - } - }, - "@typescript-eslint/utils": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.7.0.tgz", - "integrity": "sha512-MfCq3cM0vh2slSikQYqK2Gq52gvOhe57vD2RM3V4gQRZYX4rDPnKLu5p6cm89+LJiGlwEXU8hkYxhqqEC/V3qA==", - "dev": true, - "requires": { - "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.12", - "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.7.0", - "@typescript-eslint/types": "6.7.0", - "@typescript-eslint/typescript-estree": "6.7.0", - "semver": "^7.5.4" - } - }, - "@typescript-eslint/visitor-keys": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.0.tgz", - "integrity": "sha512-/C1RVgKFDmGMcVGeD8HjKv2bd72oI1KxQDeY8uc66gw9R0OK0eMq48cA+jv9/2Ag6cdrsUGySm1yzYmfz0hxwQ==", - "dev": true, - "requires": { - "@typescript-eslint/types": "6.7.0", - "eslint-visitor-keys": "^3.4.1" - } - }, - "acorn": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", - "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", - "dev": true - }, - "acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "requires": {} - }, - "acorn-walk": { - "version": "8.2.0", - "dev": true - }, - "agentkeepalive": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", - "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", - "dev": true, - "requires": { - "debug": "^4.1.0", - "depd": "^2.0.0", - "humanize-ms": "^1.2.1" - } - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "dev": true - }, - "ansi-regex": { - "version": "5.0.1", - "dev": true - }, - "ansi-sequence-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz", - "integrity": "sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==", - "dev": true - }, - "ansi-styles": { - "version": "4.3.0", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "arg": { - "version": "4.1.3", - "dev": true - }, - "argparse": { - "version": "2.0.1", - "dev": true - }, - "array-union": { - "version": "2.1.0", - "dev": true - }, - "array-uniq": { - "version": "1.0.3", - "dev": true - }, - "assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", - "dev": true - }, - "async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", - "dev": true - }, - "balanced-match": { - "version": "1.0.2", - "dev": true - }, - "base-x": { - "version": "3.0.9", - "dev": true, - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "base64-js": { - "version": "1.5.1" - }, - "big-integer": { - "version": "1.6.51", - "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", - "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", - "dev": true - }, - "bigint-buffer": { - "version": "1.1.5", - "dev": true, - "requires": { - "bindings": "^1.3.0" - } - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true - }, - "bindings": { - "version": "1.5.0", - "dev": true, - "requires": { - "file-uri-to-path": "1.0.0" - } - }, - "bn.js": { - "version": "5.2.1", - "dev": true - }, - "bplist-parser": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz", - "integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==", - "dev": true, - "requires": { - "big-integer": "^1.6.44" - } - }, - "brace-expansion": { - "version": "1.1.11", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "dev": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "browser-stdout": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", - "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", - "dev": true - }, - "bs58": { - "version": "4.0.1", - "dev": true, - "requires": { - "base-x": "^3.0.2" - } - }, - "buffer": { - "version": "6.0.3", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "bufferutil": { - "version": "4.0.6", - "dev": true, - "optional": true, - "requires": { - "node-gyp-build": "^4.3.0" - } - }, - "bundle-name": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-3.0.0.tgz", - "integrity": "sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==", - "dev": true, - "requires": { - "run-applescript": "^5.0.0" - } - }, - "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true - }, - "camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true - }, - "chai": { - "version": "4.3.10", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", - "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", - "dev": true, - "requires": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.3", - "deep-eql": "^4.1.3", - "get-func-name": "^2.0.2", - "loupe": "^2.3.6", - "pathval": "^1.1.1", - "type-detect": "^4.0.8" - } - }, - "chalk": { - "version": "4.1.2", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "check-error": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", - "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", - "dev": true, - "requires": { - "get-func-name": "^2.0.2" - } - }, - "chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "dependencies": { - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - } - } - }, - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "color-convert": { - "version": "2.0.1", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "dev": true - }, - "commander": { - "version": "2.20.3", - "dev": true - }, - "commondir": { - "version": "1.0.1", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "dev": true - }, - "create-require": { - "version": "1.1.1", - "dev": true - }, - "cross-spawn": { - "version": "7.0.3", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, - "debug": { - "version": "4.3.4", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "decamelize": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", - "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", - "dev": true - }, - "deep-eql": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", - "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", - "dev": true, - "requires": { - "type-detect": "^4.0.0" - } - }, - "deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "default-browser": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-4.0.0.tgz", - "integrity": "sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==", - "dev": true, - "requires": { - "bundle-name": "^3.0.0", - "default-browser-id": "^3.0.0", - "execa": "^7.1.1", - "titleize": "^3.0.0" - } - }, - "default-browser-id": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-3.0.0.tgz", - "integrity": "sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==", - "dev": true, - "requires": { - "bplist-parser": "^0.2.0", - "untildify": "^4.0.0" - } - }, - "define-lazy-prop": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", - "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", - "dev": true - }, - "delay": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", - "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", - "dev": true - }, - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true - }, - "diff": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", - "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", - "dev": true - }, - "dir-glob": { - "version": "3.0.1", - "dev": true, - "requires": { - "path-type": "^4.0.0" - } - }, - "doctrine": { - "version": "3.0.0", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "email-addresses": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/email-addresses/-/email-addresses-5.0.0.tgz", - "integrity": "sha512-4OIPYlA6JXqtVn8zpHpGiI7vE6EQOAg16aGnDMIAlZVinnoZ8208tW1hAbjWydgN/4PLTT9q+O1K6AH/vALJGw==", - "dev": true - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", - "dev": true - }, - "es6-promisify": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", - "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", - "dev": true, - "requires": { - "es6-promise": "^4.0.3" - } - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true - }, - "escape-string-regexp": { - "version": "4.0.0", - "dev": true - }, - "eslint": { - "version": "8.49.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", - "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", - "dev": true, - "requires": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.49.0", - "@humanwhocodes/config-array": "^0.11.11", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" - } - }, - "eslint-config-prettier": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", - "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", - "dev": true, - "requires": {} - }, - "eslint-plugin-prettier": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.0.tgz", - "integrity": "sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==", - "dev": true, - "requires": { - "prettier-linter-helpers": "^1.0.0", - "synckit": "^0.8.5" - } - }, - "eslint-plugin-require-extensions": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-require-extensions/-/eslint-plugin-require-extensions-0.1.3.tgz", - "integrity": "sha512-T3c1PZ9PIdI3hjV8LdunfYI8gj017UQjzAnCrxuo3wAjneDbTPHdE3oNWInOjMA+z/aBkUtlW5vC0YepYMZIug==", - "dev": true, - "requires": {} - }, - "eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", - "dev": true, - "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - } - }, - "eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true - }, - "espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", - "dev": true, - "requires": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - } - }, - "esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", - "dev": true, - "requires": { - "estraverse": "^5.1.0" - } - }, - "esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "requires": { - "estraverse": "^5.2.0" - } - }, - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - }, - "esutils": { - "version": "2.0.3", - "dev": true - }, - "eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - }, - "execa": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", - "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^4.3.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^3.0.7", - "strip-final-newline": "^3.0.0" - }, - "dependencies": { - "human-signals": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", - "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", - "dev": true - }, - "mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true - }, - "onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "requires": { - "mimic-fn": "^4.0.0" - } - }, - "strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true - } - } - }, - "eyes": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", - "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==", - "dev": true - }, - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "fast-diff": { - "version": "1.2.0", - "dev": true - }, - "fast-glob": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", - "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", - "dev": true, - "requires": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "dependencies": { - "glob-parent": { - "version": "5.1.2", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - } - } - }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "fast-stable-stringify": { - "version": "1.0.0", - "dev": true - }, - "fastestsmallesttextencoderdecoder": { - "version": "1.0.22", - "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz", - "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==", - "peer": true - }, - "fastq": { - "version": "1.13.0", - "dev": true, - "requires": { - "reusify": "^1.0.4" - } - }, - "file-entry-cache": { - "version": "6.0.1", - "dev": true, - "requires": { - "flat-cache": "^3.0.4" - } - }, - "file-uri-to-path": { - "version": "1.0.0", - "dev": true - }, - "filename-reserved-regex": { - "version": "2.0.0", - "dev": true - }, - "filenamify": { - "version": "4.3.0", - "dev": true, - "requires": { - "filename-reserved-regex": "^2.0.0", - "strip-outer": "^1.0.1", - "trim-repeated": "^1.0.0" - } - }, - "fill-range": { - "version": "7.0.1", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "find-cache-dir": { - "version": "3.3.2", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - } - }, - "find-up": { - "version": "5.0.0", - "dev": true, - "requires": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - } - }, - "flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "dev": true - }, - "flat-cache": { - "version": "3.0.4", - "dev": true, - "requires": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - } - }, - "flatted": { - "version": "3.2.7", - "dev": true - }, - "fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "fs.realpath": { - "version": "1.0.0", - "dev": true - }, - "fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "optional": true - }, - "function-bind": { - "version": "1.1.1", - "dev": true - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true - }, - "get-func-name": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", - "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", - "dev": true - }, - "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true - }, - "gh-pages": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/gh-pages/-/gh-pages-6.0.0.tgz", - "integrity": "sha512-FXZWJRsvP/fK2HJGY+Di6FRNHvqFF6gOIELaopDjXXgjeOYSNURcuYwEO/6bwuq6koP5Lnkvnr5GViXzuOB89g==", - "dev": true, - "requires": { - "async": "^3.2.4", - "commander": "^11.0.0", - "email-addresses": "^5.0.0", - "filenamify": "^4.3.0", - "find-cache-dir": "^3.3.1", - "fs-extra": "^11.1.1", - "globby": "^6.1.0" - }, - "dependencies": { - "array-union": { - "version": "1.0.2", - "dev": true, - "requires": { - "array-uniq": "^1.0.1" - } - }, - "commander": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz", - "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==", - "dev": true - }, - "globby": { - "version": "6.1.0", - "dev": true, - "requires": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - } - }, - "pify": { - "version": "2.3.0", - "dev": true - } - } - }, - "glob": { - "version": "7.2.0", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-parent": { - "version": "6.0.2", - "dev": true, - "requires": { - "is-glob": "^4.0.3" - } - }, - "globals": { - "version": "13.21.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", - "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } - }, - "globby": { - "version": "11.1.0", - "dev": true, - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - } - }, - "graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, - "has": { - "version": "1.0.3", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-flag": { - "version": "4.0.0", - "dev": true - }, - "he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true - }, - "human-signals": { - "version": "2.1.0", - "dev": true - }, - "humanize-ms": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", - "dev": true, - "requires": { - "ms": "^2.0.0" - } - }, - "ieee754": { - "version": "1.2.1" - }, - "ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true - }, - "import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "requires": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - } - }, - "imurmurhash": { - "version": "0.1.4", - "dev": true - }, - "inflight": { - "version": "1.0.6", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "dev": true - }, - "interpret": { - "version": "1.4.0", - "dev": true - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-core-module": { - "version": "2.10.0", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, - "is-docker": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", - "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", - "dev": true - }, - "is-extglob": { - "version": "2.1.1", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true - }, - "is-glob": { - "version": "4.0.3", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-inside-container": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", - "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", - "dev": true, - "requires": { - "is-docker": "^3.0.0" - } - }, - "is-number": { - "version": "7.0.0", - "dev": true - }, - "is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true - }, - "is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "dev": true - }, - "is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true - }, - "is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true - }, - "is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "dev": true, - "requires": { - "is-docker": "^2.0.0" - }, - "dependencies": { - "is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "dev": true - } - } - }, - "isexe": { - "version": "2.0.0", - "dev": true - }, - "isomorphic-ws": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", - "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==", - "dev": true, - "requires": {} - }, - "jayson": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.1.0.tgz", - "integrity": "sha512-R6JlbyLN53Mjku329XoRT2zJAE6ZgOQ8f91ucYdMCD4nkGCF9kZSrcGXpHIU4jeKj58zUZke2p+cdQchU7Ly7A==", - "dev": true, - "requires": { - "@types/connect": "^3.4.33", - "@types/node": "^12.12.54", - "@types/ws": "^7.4.4", - "commander": "^2.20.3", - "delay": "^5.0.0", - "es6-promisify": "^5.0.0", - "eyes": "^0.1.8", - "isomorphic-ws": "^4.0.1", - "json-stringify-safe": "^5.0.1", - "JSONStream": "^1.3.5", - "uuid": "^8.3.2", - "ws": "^7.4.5" - }, - "dependencies": { - "@types/node": { - "version": "12.20.55", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", - "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", - "dev": true - } - } - }, - "js-yaml": { - "version": "4.1.0", - "dev": true, - "requires": { - "argparse": "^2.0.1" - } - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "dev": true - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true - }, - "jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", - "dev": true - }, - "JSONStream": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", - "dev": true, - "requires": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - } - }, - "levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - } - }, - "locate-path": { - "version": "6.0.0", - "dev": true, - "requires": { - "p-locate": "^5.0.0" - } - }, - "lodash.merge": { - "version": "4.6.2", - "dev": true - }, - "log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "requires": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - } - }, - "loupe": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", - "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", - "dev": true, - "requires": { - "get-func-name": "^2.0.1" - } - }, - "lru-cache": { - "version": "6.0.0", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "lunr": { - "version": "2.3.9", - "dev": true - }, - "make-dir": { - "version": "3.1.0", - "dev": true, - "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "dev": true - } - } - }, - "make-error": { - "version": "1.3.6", - "dev": true - }, - "marked": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", - "dev": true - }, - "merge-stream": { - "version": "2.0.0", - "dev": true - }, - "merge2": { - "version": "1.4.1", - "dev": true - }, - "micromatch": { - "version": "4.0.5", - "dev": true, - "requires": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - } - }, - "mimic-fn": { - "version": "2.1.0", - "dev": true - }, - "minimatch": { - "version": "3.1.2", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true - }, - "mocha": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", - "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", - "dev": true, - "requires": { - "ansi-colors": "4.1.1", - "browser-stdout": "1.3.1", - "chokidar": "3.5.3", - "debug": "4.3.4", - "diff": "5.0.0", - "escape-string-regexp": "4.0.0", - "find-up": "5.0.0", - "glob": "7.2.0", - "he": "1.2.0", - "js-yaml": "4.1.0", - "log-symbols": "4.1.0", - "minimatch": "5.0.1", - "ms": "2.1.3", - "nanoid": "3.3.3", - "serialize-javascript": "6.0.0", - "strip-json-comments": "3.1.1", - "supports-color": "8.1.1", - "workerpool": "6.2.1", - "yargs": "16.2.0", - "yargs-parser": "20.2.4", - "yargs-unparser": "2.0.0" - }, - "dependencies": { - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0" - } - }, - "minimatch": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", - "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, - "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "ms": { - "version": "2.1.2", - "dev": true - }, - "nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", - "dev": true - }, - "natural-compare": { - "version": "1.4.0", - "dev": true - }, - "node-fetch": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", - "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", - "dev": true, - "requires": { - "whatwg-url": "^5.0.0" - } - }, - "node-gyp-build": { - "version": "4.5.0", - "dev": true, - "optional": true - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true - }, - "npm-run-path": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", - "dev": true, - "requires": { - "path-key": "^4.0.0" - }, - "dependencies": { - "path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true - } - } - }, - "object-assign": { - "version": "4.1.1", - "dev": true - }, - "once": { - "version": "1.4.0", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "onetime": { - "version": "5.1.2", - "dev": true, - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "open": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/open/-/open-9.1.0.tgz", - "integrity": "sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==", - "dev": true, - "requires": { - "default-browser": "^4.0.0", - "define-lazy-prop": "^3.0.0", - "is-inside-container": "^1.0.0", - "is-wsl": "^2.2.0" - } - }, - "optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", - "dev": true, - "requires": { - "@aashutoshrathi/word-wrap": "^1.2.3", - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" - } - }, - "p-limit": { - "version": "3.1.0", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - }, - "p-locate": { - "version": "5.0.0", - "dev": true, - "requires": { - "p-limit": "^3.0.2" - } - }, - "p-try": { - "version": "2.2.0", - "dev": true - }, - "parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "requires": { - "callsites": "^3.0.0" - } - }, - "path-exists": { - "version": "4.0.0", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "dev": true - }, - "path-key": { - "version": "3.1.1", - "dev": true - }, - "path-parse": { - "version": "1.0.7", - "dev": true - }, - "path-type": { - "version": "4.0.0", - "dev": true - }, - "pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "dev": true - }, - "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "picomatch": { - "version": "2.3.1", - "dev": true - }, - "pinkie": { - "version": "2.0.4", - "dev": true - }, - "pinkie-promise": { - "version": "2.0.1", - "dev": true, - "requires": { - "pinkie": "^2.0.0" - } - }, - "pkg-dir": { - "version": "4.2.0", - "dev": true, - "requires": { - "find-up": "^4.0.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - } - } - }, - "prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true - }, - "prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", - "dev": true - }, - "prettier-linter-helpers": { - "version": "1.0.0", - "dev": true, - "requires": { - "fast-diff": "^1.1.2" - } - }, - "punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", - "dev": true - }, - "queue-microtask": { - "version": "1.2.3", - "dev": true - }, - "randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "requires": { - "picomatch": "^2.2.1" - } - }, - "rechoir": { - "version": "0.6.2", - "dev": true, - "requires": { - "resolve": "^1.1.6" - } - }, - "regenerator-runtime": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", - "dev": true - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true - }, - "resolve": { - "version": "1.22.1", - "dev": true, - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true - }, - "reusify": { - "version": "1.0.4", - "dev": true - }, - "rimraf": { - "version": "3.0.2", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "rpc-websockets": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-7.5.1.tgz", - "integrity": "sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w==", - "dev": true, - "requires": { - "@babel/runtime": "^7.17.2", - "bufferutil": "^4.0.1", - "eventemitter3": "^4.0.7", - "utf-8-validate": "^5.0.2", - "uuid": "^8.3.2", - "ws": "^8.5.0" - }, - "dependencies": { - "ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", - "dev": true, - "requires": {} - } - } - }, - "run-applescript": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz", - "integrity": "sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==", - "dev": true, - "requires": { - "execa": "^5.0.0" - }, - "dependencies": { - "execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - } - }, - "is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true - }, - "npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "requires": { - "path-key": "^3.0.0" - } - } - } - }, - "run-parallel": { - "version": "1.2.0", - "dev": true, - "requires": { - "queue-microtask": "^1.2.2" - } - }, - "safe-buffer": { - "version": "5.2.1", - "dev": true - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "shebang-command": { - "version": "2.0.0", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "dev": true - }, - "shelljs": { - "version": "0.8.5", - "dev": true, - "requires": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - } - }, - "shiki": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.2.tgz", - "integrity": "sha512-ltSZlSLOuSY0M0Y75KA+ieRaZ0Trf5Wl3gutE7jzLuIcWxLp5i/uEnLoQWNvgKXQ5OMpGkJnVMRLAuzjc0LJ2A==", - "dev": true, - "requires": { - "ansi-sequence-parser": "^1.1.0", - "jsonc-parser": "^3.2.0", - "vscode-oniguruma": "^1.7.0", - "vscode-textmate": "^8.0.0" - } - }, - "shx": { - "version": "0.3.4", - "dev": true, - "requires": { - "minimist": "^1.2.3", - "shelljs": "^0.8.5" - } - }, - "signal-exit": { - "version": "3.0.7", - "dev": true - }, - "slash": { - "version": "3.0.0", - "dev": true - }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, - "strip-ansi": { - "version": "6.0.1", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "strip-final-newline": { - "version": "2.0.0", - "dev": true - }, - "strip-json-comments": { - "version": "3.1.1", - "dev": true - }, - "strip-outer": { - "version": "1.0.1", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.2" - }, - "dependencies": { - "escape-string-regexp": { - "version": "1.0.5", - "dev": true - } - } - }, - "superstruct": { - "version": "0.14.2", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - }, - "supports-preserve-symlinks-flag": { - "version": "1.0.0", - "dev": true - }, - "synckit": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.5.tgz", - "integrity": "sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==", - "dev": true, - "requires": { - "@pkgr/utils": "^2.3.1", - "tslib": "^2.5.0" - } - }, - "text-encoding-utf-8": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz", - "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==", - "dev": true - }, - "text-table": { - "version": "0.2.0", - "dev": true - }, - "through": { - "version": "2.3.8", - "dev": true - }, - "titleize": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz", - "integrity": "sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==", - "dev": true - }, - "to-regex-range": { - "version": "5.0.1", - "dev": true, - "requires": { - "is-number": "^7.0.0" - } - }, - "tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true - }, - "trim-repeated": { - "version": "1.0.0", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.2" - }, - "dependencies": { - "escape-string-regexp": { - "version": "1.0.5", - "dev": true - } - } - }, - "ts-api-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.1.tgz", - "integrity": "sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==", - "dev": true, - "requires": {} - }, - "ts-node": { - "version": "10.9.1", - "dev": true, - "requires": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "dependencies": { - "diff": { - "version": "4.0.2", - "dev": true - } - } - }, - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", - "dev": true - }, - "type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1" - } - }, - "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true - }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true - }, - "typedoc": { - "version": "0.25.1", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.1.tgz", - "integrity": "sha512-c2ye3YUtGIadxN2O6YwPEXgrZcvhlZ6HlhWZ8jQRNzwLPn2ylhdGqdR8HbyDRyALP8J6lmSANILCkkIdNPFxqA==", - "dev": true, - "requires": { - "lunr": "^2.3.9", - "marked": "^4.3.0", - "minimatch": "^9.0.3", - "shiki": "^0.14.1" - }, - "dependencies": { - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0" - } - }, - "minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } - } - } - }, - "typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "dev": true - }, - "undici-types": { - "version": "5.25.3", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", - "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==", - "dev": true - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - }, - "untildify": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", - "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", - "dev": true - }, - "uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "utf-8-validate": { - "version": "5.0.9", - "dev": true, - "optional": true, - "requires": { - "node-gyp-build": "^4.3.0" - } - }, - "uuid": { - "version": "8.3.2", - "dev": true - }, - "v8-compile-cache-lib": { - "version": "3.0.1", - "dev": true - }, - "vscode-oniguruma": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", - "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==", - "dev": true - }, - "vscode-textmate": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz", - "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==", - "dev": true - }, - "webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true - }, - "whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dev": true, - "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "which": { - "version": "2.0.2", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - }, - "workerpool": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", - "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", - "dev": true - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "wrappy": { - "version": "1.0.2", - "dev": true - }, - "ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "dev": true, - "requires": {} - }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true - }, - "yallist": { - "version": "4.0.0", - "dev": true - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - } - }, - "yargs-parser": { - "version": "20.2.4", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", - "dev": true - }, - "yargs-unparser": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", - "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", - "dev": true, - "requires": { - "camelcase": "^6.0.0", - "decamelize": "^4.0.0", - "flat": "^5.0.2", - "is-plain-obj": "^2.1.0" - } - }, - "yn": { - "version": "3.1.1", - "dev": true - }, - "yocto-queue": { - "version": "0.1.0", - "dev": true - } - } -} diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 7f9d3ed..23ad432 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -52,14 +52,13 @@ "@solana/codecs-numbers": "2.0.0-experimental.398c396", "@solana/codecs-strings": "2.0.0-experimental.398c396", "@solana/options": "2.0.0-experimental.398c396", - "@solana/spl-type-length-value": "0.1.0" + "@solana/spl-type-length-value": "workspace:*" }, "devDependencies": { "@solana/web3.js": "^1.47.4", "@types/chai": "^4.3.3", "@types/mocha": "^10.0.0", "@types/node": "^20.8.7", - "@types/prettier": "^3.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "chai": "^4.3.6", From 126c05419c5ab1c06b561927eb0c1d739eca1062 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:02:47 +0100 Subject: [PATCH 042/473] build(deps-dev): bump prettier from 3.0.3 to 3.1.0 (#5827) Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 23ad432..e5f1481 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.0.0", "mocha": "^10.1.0", - "prettier": "^3.0.0", + "prettier": "^3.1.0", "shx": "^0.3.4", "ts-node": "^10.9.1", "tslib": "^2.3.1", From 61506d95dbbf0a6ee110f4ac05d8b94a67e856d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:02:59 +0100 Subject: [PATCH 043/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.10.0 to 6.11.0 (#5828) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.10.0 to 6.11.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.11.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e5f1481..ea7f2dd 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.3", "@types/mocha": "^10.0.0", "@types/node": "^20.8.7", - "@typescript-eslint/eslint-plugin": "^6.0.0", + "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.0.0", "chai": "^4.3.6", "eslint": "^8.20.0", From c20181b5e4d1207d64a954523c216bab0e0dd128 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:04:26 +0100 Subject: [PATCH 044/473] build(deps): bump @solana/codecs-core from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512 (#5823) build(deps): bump @solana/codecs-core Bumps [@solana/codecs-core](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index ea7f2dd..84583c2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -47,7 +47,7 @@ "@solana/web3.js": "^1.47.4" }, "dependencies": { - "@solana/codecs-core": "2.0.0-experimental.398c396", + "@solana/codecs-core": "2.0.0-experimental.7123512", "@solana/codecs-data-structures": "2.0.0-experimental.398c396", "@solana/codecs-numbers": "2.0.0-experimental.398c396", "@solana/codecs-strings": "2.0.0-experimental.398c396", From 2e9df4f3977ed9414247c571823845c31d85a3d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:04:37 +0100 Subject: [PATCH 045/473] build(deps): bump @solana/options from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512 (#5826) build(deps): bump @solana/options Bumps [@solana/options](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/options" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 84583c2..a4823b4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -51,7 +51,7 @@ "@solana/codecs-data-structures": "2.0.0-experimental.398c396", "@solana/codecs-numbers": "2.0.0-experimental.398c396", "@solana/codecs-strings": "2.0.0-experimental.398c396", - "@solana/options": "2.0.0-experimental.398c396", + "@solana/options": "2.0.0-experimental.7123512", "@solana/spl-type-length-value": "workspace:*" }, "devDependencies": { From 6b3a2253d87bcc051a4bb00d1cfab70c8dd4f35e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:04:51 +0100 Subject: [PATCH 046/473] build(deps): bump @solana/codecs-numbers from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512 (#5831) build(deps): bump @solana/codecs-numbers Bumps [@solana/codecs-numbers](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-numbers" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a4823b4..519b271 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -49,7 +49,7 @@ "dependencies": { "@solana/codecs-core": "2.0.0-experimental.7123512", "@solana/codecs-data-structures": "2.0.0-experimental.398c396", - "@solana/codecs-numbers": "2.0.0-experimental.398c396", + "@solana/codecs-numbers": "2.0.0-experimental.7123512", "@solana/codecs-strings": "2.0.0-experimental.398c396", "@solana/options": "2.0.0-experimental.7123512", "@solana/spl-type-length-value": "workspace:*" From 8b86257de5fb4497edd1ce58e64eeed5e31adb1e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:30:10 +0100 Subject: [PATCH 047/473] build(deps-dev): bump @typescript-eslint/parser from 6.10.0 to 6.11.0 (#5834) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.10.0 to 6.11.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.11.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 519b271..61a622b 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.0", "@types/node": "^20.8.7", "@typescript-eslint/eslint-plugin": "^6.11.0", - "@typescript-eslint/parser": "^6.0.0", + "@typescript-eslint/parser": "^6.11.0", "chai": "^4.3.6", "eslint": "^8.20.0", "eslint-config-prettier": "^9.0.0", From 0d5910a49312f5abd8b38bf9d0045ef6a36ad25a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:30:31 +0100 Subject: [PATCH 048/473] build(deps): bump @solana/codecs-data-structures from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512 (#5829) build(deps): bump @solana/codecs-data-structures Bumps [@solana/codecs-data-structures](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-data-structures" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 61a622b..013df86 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@solana/codecs-core": "2.0.0-experimental.7123512", - "@solana/codecs-data-structures": "2.0.0-experimental.398c396", + "@solana/codecs-data-structures": "2.0.0-experimental.7123512", "@solana/codecs-numbers": "2.0.0-experimental.7123512", "@solana/codecs-strings": "2.0.0-experimental.398c396", "@solana/options": "2.0.0-experimental.7123512", From ecfeb31ae574dd12e1d3b0c4ba7b84d120fdbb2f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:30:40 +0100 Subject: [PATCH 049/473] build(deps): bump @solana/codecs-strings from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512 (#5832) build(deps): bump @solana/codecs-strings Bumps [@solana/codecs-strings](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.398c396 to 2.0.0-experimental.7123512. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-strings" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 013df86..a044b06 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -50,7 +50,7 @@ "@solana/codecs-core": "2.0.0-experimental.7123512", "@solana/codecs-data-structures": "2.0.0-experimental.7123512", "@solana/codecs-numbers": "2.0.0-experimental.7123512", - "@solana/codecs-strings": "2.0.0-experimental.398c396", + "@solana/codecs-strings": "2.0.0-experimental.7123512", "@solana/options": "2.0.0-experimental.7123512", "@solana/spl-type-length-value": "workspace:*" }, From dbbe0c4d3bd27820c3741516e07785e5c40c180e Mon Sep 17 00:00:00 2001 From: mistersimon <779959+mistersimon@users.noreply.github.com> Date: Tue, 14 Nov 2023 23:51:57 +0800 Subject: [PATCH 050/473] token 2022: Expose token-metadata state decoder in @solana/token-metata (#5806) * only handle deserialization of state, no discriminator or length * fix test case name * addressed pr comments * don't export codec * Added test case with additional metadata * remove comment --- clients/js-legacy/src/state.ts | 44 +++++----- clients/js-legacy/test/state.test.ts | 116 +++++++++++++-------------- 2 files changed, 82 insertions(+), 78 deletions(-) diff --git a/clients/js-legacy/src/state.ts b/clients/js-legacy/src/state.ts index 3b147f4..8b46633 100644 --- a/clients/js-legacy/src/state.ts +++ b/clients/js-legacy/src/state.ts @@ -1,12 +1,18 @@ -import { getArrayDecoder, getBytesDecoder, getStructDecoder, getTupleDecoder } from '@solana/codecs-data-structures'; -import { getStringDecoder } from '@solana/codecs-strings'; -import { TlvState } from '@solana/spl-type-length-value'; import { PublicKey } from '@solana/web3.js'; - -import { TokenMetadataError } from './errors.js'; +import { getArrayCodec, getBytesCodec, getStructCodec, getTupleCodec } from '@solana/codecs-data-structures'; +import { getStringCodec } from '@solana/codecs-strings'; export const TOKEN_METADATA_DISCRIMINATOR = Buffer.from([112, 132, 90, 90, 11, 88, 157, 87]); +const tokenMetadataCodec = getStructCodec([ + ['updateAuthority', getBytesCodec({ size: 32 })], + ['mint', getBytesCodec({ size: 32 })], + ['name', getStringCodec()], + ['symbol', getStringCodec()], + ['uri', getStringCodec()], + ['additionalMetadata', getArrayCodec(getTupleCodec([getStringCodec(), getStringCodec()]))], +]); + export interface TokenMetadata { // The authority that can sign to update the metadata updateAuthority?: PublicKey; @@ -32,22 +38,20 @@ function isNonePubkey(buffer: Uint8Array): boolean { return true; } -export function unpack(buffer: Buffer): TokenMetadata { - const tlv = new TlvState(buffer, 8, 4); - const bytes = tlv.firstBytes(TOKEN_METADATA_DISCRIMINATOR); - if (bytes === null) { - throw new TokenMetadataError('Invalid Data'); - } - const decoder = getStructDecoder([ - ['updateAuthority', getBytesDecoder({ size: 32 })], - ['mint', getBytesDecoder({ size: 32 })], - ['name', getStringDecoder()], - ['symbol', getStringDecoder()], - ['uri', getStringDecoder()], - ['additionalMetadata', getArrayDecoder(getTupleDecoder([getStringDecoder(), getStringDecoder()]))], - ]); +// Pack TokenMetadata into byte slab +export const pack = (meta: TokenMetadata): Uint8Array => { + // If no updateAuthority given, set it to the None/Zero PublicKey for encoding + const updateAuthority = meta.updateAuthority ?? PublicKey.default; + return tokenMetadataCodec.encode({ + ...meta, + updateAuthority: updateAuthority.toBuffer(), + mint: meta.mint.toBuffer(), + }); +}; - const data = decoder.decode(bytes); +// unpack byte slab into TokenMetadata +export function unpack(buffer: Buffer | Uint8Array): TokenMetadata { + const data = tokenMetadataCodec.decode(buffer); return isNonePubkey(data[0].updateAuthority) ? { diff --git a/clients/js-legacy/test/state.test.ts b/clients/js-legacy/test/state.test.ts index b832bea..dcadb35 100644 --- a/clients/js-legacy/test/state.test.ts +++ b/clients/js-legacy/test/state.test.ts @@ -2,68 +2,31 @@ import { PublicKey } from '@solana/web3.js'; import { expect } from 'chai'; import type { TokenMetadata } from '../src/state'; -import { TOKEN_METADATA_DISCRIMINATOR, unpack } from '../src/state'; -import { getArrayEncoder, getBytesEncoder, getStructEncoder, getTupleEncoder } from '@solana/codecs-data-structures'; -import { getStringEncoder } from '@solana/codecs-strings'; +import { unpack, pack } from '../src'; describe('Token Metadata State', () => { - const lengthBuffer = (buffer: Buffer | Uint8Array): Buffer => { - const length = Buffer.alloc(4); - length.writeUIntLE(buffer.length, 0, 4); - return length; - }; - - // Helper function to pack meta into tlv bytes slab - const pack = (meta: TokenMetadata) => { - const encoder = getStructEncoder([ - ['updateAuthority', getBytesEncoder({ size: 32 })], - ['mint', getBytesEncoder({ size: 32 })], - ['name', getStringEncoder()], - ['symbol', getStringEncoder()], - ['uri', getStringEncoder()], - ['additionalMetadata', getArrayEncoder(getTupleEncoder([getStringEncoder(), getStringEncoder()]))], - ]); - const data = encoder.encode({ - ...meta, - updateAuthority: meta.updateAuthority?.toBuffer(), - mint: meta.mint.toBuffer(), - }); - return Buffer.concat([TOKEN_METADATA_DISCRIMINATOR, lengthBuffer(data), data]); - }; - - it('Can unpack', () => { - const data = Buffer.from([ - // From rust implementation - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 110, 97, - 109, 101, 6, 0, 0, 0, 115, 121, 109, 98, 111, 108, 3, 0, 0, 0, 117, 114, 105, 0, 0, 0, 0, - ]); - - const input = Buffer.concat([TOKEN_METADATA_DISCRIMINATOR, lengthBuffer(data), data]); - - const meta = unpack(input); - expect(meta).to.deep.equal({ + it('Can pack and unpack as rust implementation', () => { + const meta = { mint: PublicKey.default, name: 'name', symbol: 'symbol', uri: 'uri', additionalMetadata: [], - }); - }); + }; - it('Can unpack with additionalMetadata', () => { - const data = Buffer.from([ - // From rust implementation + // From rust implementation + const bytes = Buffer.from([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 110, 101, - 119, 95, 110, 97, 109, 101, 10, 0, 0, 0, 110, 101, 119, 95, 115, 121, 109, 98, 111, 108, 7, 0, 0, 0, 110, - 101, 119, 95, 117, 114, 105, 2, 0, 0, 0, 4, 0, 0, 0, 107, 101, 121, 49, 6, 0, 0, 0, 118, 97, 108, 117, 101, - 49, 4, 0, 0, 0, 107, 101, 121, 50, 6, 0, 0, 0, 118, 97, 108, 117, 101, 50, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 110, 97, + 109, 101, 6, 0, 0, 0, 115, 121, 109, 98, 111, 108, 3, 0, 0, 0, 117, 114, 105, 0, 0, 0, 0, ]); - const input = Buffer.concat([TOKEN_METADATA_DISCRIMINATOR, lengthBuffer(data), data]); - const meta = unpack(input); - expect(meta).to.deep.equal({ + expect(pack(meta)).to.deep.equal(bytes); + expect(unpack(bytes)).to.deep.equal(meta); + }); + + it('Can pack and unpack as rust implementation with additionalMetadata', () => { + const meta: TokenMetadata = { mint: PublicKey.default, name: 'new_name', symbol: 'new_symbol', @@ -72,27 +35,64 @@ describe('Token Metadata State', () => { ['key1', 'value1'], ['key2', 'value2'], ], - }); + }; + // From rust implementation + const bytes = Buffer.from([ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 110, 101, + 119, 95, 110, 97, 109, 101, 10, 0, 0, 0, 110, 101, 119, 95, 115, 121, 109, 98, 111, 108, 7, 0, 0, 0, 110, + 101, 119, 95, 117, 114, 105, 2, 0, 0, 0, 4, 0, 0, 0, 107, 101, 121, 49, 6, 0, 0, 0, 118, 97, 108, 117, 101, + 49, 4, 0, 0, 0, 107, 101, 121, 50, 6, 0, 0, 0, 118, 97, 108, 117, 101, 50, + ]); + + expect(pack(meta)).to.deep.equal(bytes); + expect(unpack(bytes)).to.deep.equal(meta); }); it('Can pack and unpack with mint and updateAuthority', () => { - const input = pack({ + const meta = { updateAuthority: new PublicKey('44444444444444444444444444444444444444444444'), mint: new PublicKey('55555555555555555555555555555555555555555555'), name: 'name', symbol: 'symbol', uri: 'uri', additionalMetadata: [], - }); + }; + + const bytes = Buffer.from([ + 45, 91, 65, 60, 101, 64, 222, 21, 12, 147, 115, 20, 77, 81, 51, 202, 76, 184, 48, 186, 15, 117, 103, 22, + 172, 234, 14, 80, 215, 148, 53, 229, 60, 121, 172, 80, 135, 1, 40, 28, 16, 196, 153, 112, 103, 22, 239, 184, + 102, 74, 235, 162, 191, 71, 52, 30, 59, 226, 189, 193, 31, 112, 71, 220, 4, 0, 0, 0, 110, 97, 109, 101, 6, + 0, 0, 0, 115, 121, 109, 98, 111, 108, 3, 0, 0, 0, 117, 114, 105, 0, 0, 0, 0, + ]); + + expect(pack(meta)).to.deep.equal(bytes); + expect(unpack(bytes)).to.deep.equal(meta); + }); - const meta = unpack(input); - expect(meta).to.deep.equal({ + it('Can pack and unpack with mint, updateAuthority and additional metadata', () => { + const meta: TokenMetadata = { updateAuthority: new PublicKey('44444444444444444444444444444444444444444444'), mint: new PublicKey('55555555555555555555555555555555555555555555'), name: 'name', symbol: 'symbol', uri: 'uri', - additionalMetadata: [], - }); + additionalMetadata: [ + ['key1', 'value1'], + ['key2', 'value2'], + ], + }; + + const bytes = Buffer.from([ + 45, 91, 65, 60, 101, 64, 222, 21, 12, 147, 115, 20, 77, 81, 51, 202, 76, 184, 48, 186, 15, 117, 103, 22, + 172, 234, 14, 80, 215, 148, 53, 229, 60, 121, 172, 80, 135, 1, 40, 28, 16, 196, 153, 112, 103, 22, 239, 184, + 102, 74, 235, 162, 191, 71, 52, 30, 59, 226, 189, 193, 31, 112, 71, 220, 4, 0, 0, 0, 110, 97, 109, 101, 6, + 0, 0, 0, 115, 121, 109, 98, 111, 108, 3, 0, 0, 0, 117, 114, 105, 2, 0, 0, 0, 4, 0, 0, 0, 107, 101, 121, 49, + 6, 0, 0, 0, 118, 97, 108, 117, 101, 49, 4, 0, 0, 0, 107, 101, 121, 50, 6, 0, 0, 0, 118, 97, 108, 117, 101, + 50, + ]); + + expect(pack(meta)).to.deep.equal(bytes); + expect(unpack(bytes)).to.deep.equal(meta); }); }); From af92677f0f91b4f5d4d508447082401a3af4498b Mon Sep 17 00:00:00 2001 From: Joe C Date: Tue, 14 Nov 2023 16:38:04 +0000 Subject: [PATCH 051/473] token metadata js: bump version (#5840) --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a044b06..946d82f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -1,7 +1,7 @@ { "name": "@solana/spl-token-metadata", "description": "SPL Token Metadata Interface JS API", - "version": "0.1.0", + "version": "0.1.1", "author": "Solana Labs Maintainers ", "repository": "https://github.com/solana-labs/solana-program-library", "license": "Apache-2.0", From f3acc9fb9a8402715003bf2a204589ccf562834c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:27:06 +0100 Subject: [PATCH 052/473] build(deps): bump @solana/web3.js from 1.87.5 to 1.87.6 (#5824) * build(deps): bump @solana/web3.js from 1.87.5 to 1.87.6 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.87.5 to 1.87.6. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.87.5...v1.87.6) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Revert change to modern single-pool --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 946d82f..2424007 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,7 +44,7 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.47.4" + "@solana/web3.js": "^1.87.6" }, "dependencies": { "@solana/codecs-core": "2.0.0-experimental.7123512", @@ -55,7 +55,7 @@ "@solana/spl-type-length-value": "workspace:*" }, "devDependencies": { - "@solana/web3.js": "^1.47.4", + "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.3", "@types/mocha": "^10.0.0", "@types/node": "^20.8.7", From 3523c5fdabd790c6af382db98a645eb206f78dca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 12:21:35 +0100 Subject: [PATCH 053/473] build(deps-dev): bump @types/node from 20.9.0 to 20.9.1 (#5851) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.9.0 to 20.9.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2424007..7fbea33 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.3", "@types/mocha": "^10.0.0", - "@types/node": "^20.8.7", + "@types/node": "^20.9.1", "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.11.0", "chai": "^4.3.6", From 6d700b62b70bd96ddac163291a4319109020128f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:38:08 +0100 Subject: [PATCH 054/473] build(deps): bump test-case from 3.2.1 to 3.3.1 (#5856) Bumps [test-case](https://github.com/frondeus/test-case) from 3.2.1 to 3.3.1. - [Release notes](https://github.com/frondeus/test-case/releases) - [Changelog](https://github.com/frondeus/test-case/blob/master/CHANGELOG.md) - [Commits](https://github.com/frondeus/test-case/compare/v3.2.1...v3.3.1) --- updated-dependencies: - dependency-name: test-case dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index acc6464..1cb97cf 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.1.0", path = "../../libraries/pod" } solana-program-test = "1.17.2" solana-sdk = "1.17.2" spl-token-client = { version = "0.8", path = "../../token/client" } -test-case = "3.2" +test-case = "3.3" [lib] crate-type = ["cdylib", "lib"] From c0ede9547f54ca78fd5f2afa0393285f694886a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:38:18 +0100 Subject: [PATCH 055/473] build(deps-dev): bump @types/node from 20.9.1 to 20.9.2 (#5857) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.9.1 to 20.9.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 7fbea33..2072415 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.3", "@types/mocha": "^10.0.0", - "@types/node": "^20.9.1", + "@types/node": "^20.9.2", "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.11.0", "chai": "^4.3.6", From a4258428b68fb1aefa37f49d4d2468663d886322 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:38:26 +0100 Subject: [PATCH 056/473] build(deps-dev): bump gh-pages from 6.0.0 to 6.1.0 (#5858) Bumps [gh-pages](https://github.com/tschaub/gh-pages) from 6.0.0 to 6.1.0. - [Release notes](https://github.com/tschaub/gh-pages/releases) - [Changelog](https://github.com/tschaub/gh-pages/blob/main/changelog.md) - [Commits](https://github.com/tschaub/gh-pages/compare/v6.0.0...v6.1.0) --- updated-dependencies: - dependency-name: gh-pages dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2072415..976b210 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -66,7 +66,7 @@ "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-require-extensions": "^0.1.1", - "gh-pages": "^6.0.0", + "gh-pages": "^6.1.0", "mocha": "^10.1.0", "prettier": "^3.1.0", "shx": "^0.3.4", From d370452c67bbfd6ad1203760a74afeffc3d0b3a5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:38:44 +0100 Subject: [PATCH 057/473] build(deps-dev): bump eslint from 8.53.0 to 8.54.0 (#5860) Bumps [eslint](https://github.com/eslint/eslint) from 8.53.0 to 8.54.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.54.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 976b210..e7f4689 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -62,7 +62,7 @@ "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.11.0", "chai": "^4.3.6", - "eslint": "^8.20.0", + "eslint": "^8.54.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-require-extensions": "^0.1.1", From 4d8d0741b448fdd89b6ab69ae20ddf933cab6bb5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 12:12:10 +0100 Subject: [PATCH 058/473] build(deps): bump serde from 1.0.192 to 1.0.193 (#5866) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.192 to 1.0.193. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index adfca06..e955138 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" -serde = { version = "1.0.192", optional = true } +serde = { version = "1.0.193", optional = true } solana-program = "1.17.2" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } From ac519cb495fb5565197acd557314fd9eff829b5a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 12:12:18 +0100 Subject: [PATCH 059/473] build(deps-dev): bump @types/mocha from 10.0.4 to 10.0.5 (#5867) Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 10.0.4 to 10.0.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha) --- updated-dependencies: - dependency-name: "@types/mocha" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e7f4689..74cc75a 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -57,7 +57,7 @@ "devDependencies": { "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.3", - "@types/mocha": "^10.0.0", + "@types/mocha": "^10.0.5", "@types/node": "^20.9.2", "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.11.0", From b5da2cd57544aafd5a666bc2113cca68dc327f4f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 12:12:26 +0100 Subject: [PATCH 060/473] build(deps-dev): bump @typescript-eslint/parser from 6.11.0 to 6.12.0 (#5868) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.11.0 to 6.12.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.12.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 74cc75a..0b29173 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.5", "@types/node": "^20.9.2", "@typescript-eslint/eslint-plugin": "^6.11.0", - "@typescript-eslint/parser": "^6.11.0", + "@typescript-eslint/parser": "^6.12.0", "chai": "^4.3.6", "eslint": "^8.54.0", "eslint-config-prettier": "^9.0.0", From 9a4a8cf38c21c87beda239cc28f93cae0213d6ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 12:27:21 +0100 Subject: [PATCH 061/473] build(deps-dev): bump @types/chai from 4.3.10 to 4.3.11 (#5872) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.10 to 4.3.11. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0b29173..4c4c4f1 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.87.6", - "@types/chai": "^4.3.3", + "@types/chai": "^4.3.11", "@types/mocha": "^10.0.5", "@types/node": "^20.9.2", "@typescript-eslint/eslint-plugin": "^6.11.0", From 9da8f67489692968d882ef668d668d461e77a0d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 13:20:16 +0100 Subject: [PATCH 062/473] build(deps-dev): bump @types/node from 20.9.2 to 20.9.3 (#5874) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.9.2 to 20.9.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4c4c4f1..fa41f26 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.5", - "@types/node": "^20.9.2", + "@types/node": "^20.9.3", "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.12.0", "chai": "^4.3.6", From b583af213abc9300c0df2284ee7bc6df3940176c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 13:38:30 +0100 Subject: [PATCH 063/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.11.0 to 6.12.0 (#5869) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.11.0 to 6.12.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.12.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index fa41f26..d2a9608 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.5", "@types/node": "^20.9.3", - "@typescript-eslint/eslint-plugin": "^6.11.0", + "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", "chai": "^4.3.6", "eslint": "^8.54.0", From 35adeee4022340918a8bbcb7ac61df296d9e5fc2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 14:07:33 +0100 Subject: [PATCH 064/473] build(deps-dev): bump typescript from 5.2.2 to 5.3.2 (#5871) * build(deps-dev): bump typescript from 5.2.2 to 5.3.2 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Remove tsconfig/recommended dependency --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d2a9608..cc6c82a 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -73,6 +73,6 @@ "ts-node": "^10.9.1", "tslib": "^2.3.1", "typedoc": "^0.25.0", - "typescript": "^5.0.4" + "typescript": "^5.3.2" } } From 8d7fb5f301981508aeaca7a990be7a1006c24eee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:18:46 +0100 Subject: [PATCH 065/473] build(deps-dev): bump @types/node from 20.9.3 to 20.9.4 (#5878) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.9.3 to 20.9.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index cc6c82a..d8e2b55 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.5", - "@types/node": "^20.9.3", + "@types/node": "^20.9.4", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", "chai": "^4.3.6", From 964caff80f5544541a85f10b2522e5db267f7038 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Nov 2023 15:10:34 +0100 Subject: [PATCH 066/473] build(deps-dev): bump @types/mocha from 10.0.5 to 10.0.6 (#5880) Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 10.0.5 to 10.0.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha) --- updated-dependencies: - dependency-name: "@types/mocha" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d8e2b55..4fccfa5 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -57,7 +57,7 @@ "devDependencies": { "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", - "@types/mocha": "^10.0.5", + "@types/mocha": "^10.0.6", "@types/node": "^20.9.4", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", From e51095cef7f6416c702f221a4a28f7c8d09384c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 25 Nov 2023 14:48:30 +0100 Subject: [PATCH 067/473] build(deps-dev): bump @types/node from 20.9.4 to 20.10.0 (#5892) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.9.4 to 20.10.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4fccfa5..c50e023 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.9.4", + "@types/node": "^20.10.0", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", "chai": "^4.3.6", From 46611bdf3bb3bbc30fe565540a5d48fd699420e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 12:38:49 +0100 Subject: [PATCH 068/473] build(deps-dev): bump typedoc from 0.25.3 to 0.25.4 (#5899) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.3 to 0.25.4. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.3...v0.25.4) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c50e023..594df89 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.1", "tslib": "^2.3.1", - "typedoc": "^0.25.0", + "typedoc": "^0.25.4", "typescript": "^5.3.2" } } From 991c48c4687f2c11239cee9a8a80d8b5a0766704 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:23:56 +0100 Subject: [PATCH 069/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.12.0 to 6.13.1 (#5907) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.12.0 to 6.13.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 594df89..6cec209 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.10.0", - "@typescript-eslint/eslint-plugin": "^6.12.0", + "@typescript-eslint/eslint-plugin": "^6.13.1", "@typescript-eslint/parser": "^6.12.0", "chai": "^4.3.6", "eslint": "^8.54.0", From d2567b90dfe4be6745c7877752a8556157a19534 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:41:23 +0100 Subject: [PATCH 070/473] build(deps-dev): bump @typescript-eslint/parser from 6.12.0 to 6.13.1 (#5906) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.12.0 to 6.13.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6cec209..2dc6350 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.10.0", "@typescript-eslint/eslint-plugin": "^6.13.1", - "@typescript-eslint/parser": "^6.12.0", + "@typescript-eslint/parser": "^6.13.1", "chai": "^4.3.6", "eslint": "^8.54.0", "eslint-config-prettier": "^9.0.0", From eb7beae1d9c4a532e6f2a7e921b0d1aa69cd7ca9 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Wed, 29 Nov 2023 12:55:07 +0100 Subject: [PATCH 071/473] repo: Update to 1.17.6 (#5863) * repo: Update to 1.17.6 with script * Update lockfile * Remove disabling feature in token-cli tests --- interface/Cargo.toml | 2 +- program/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index e955138..f52cf27 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" serde = { version = "1.0.193", optional = true } -solana-program = "1.17.2" +solana-program = "1.17.6" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } diff --git a/program/Cargo.toml b/program/Cargo.toml index 1cb97cf..4b9a792 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "1.17.2" +solana-program = "1.17.6" spl-token-2022 = { version = "0.9", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = "1.17.2" -solana-sdk = "1.17.2" +solana-program-test = "1.17.6" +solana-sdk = "1.17.6" spl-token-client = { version = "0.8", path = "../../token/client" } test-case = "3.3" From b85d57c6cea03f451c2b2b98019bebbe8149ac30 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:40:50 +0100 Subject: [PATCH 072/473] build(deps-dev): bump eslint-plugin-prettier from 4.2.1 to 5.0.1 (#5925) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 4.2.1 to 5.0.1. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v4.2.1...v5.0.1) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2dc6350..314881d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "chai": "^4.3.6", "eslint": "^8.54.0", "eslint-config-prettier": "^9.0.0", - "eslint-plugin-prettier": "^5.0.0", + "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.0", "mocha": "^10.1.0", From 5fb7fdd9d69ac611c7b061c12d3917a82a747fbf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:37:07 +0100 Subject: [PATCH 073/473] build(deps-dev): bump @types/node from 20.10.0 to 20.10.1 (#5936) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.0 to 20.10.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 314881d..82de6c2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.0", + "@types/node": "^20.10.1", "@typescript-eslint/eslint-plugin": "^6.13.1", "@typescript-eslint/parser": "^6.13.1", "chai": "^4.3.6", From 79488c762dd375161ac5ff52540fa4d4160c04bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 11:42:16 +0100 Subject: [PATCH 074/473] build(deps-dev): bump @types/node from 20.10.1 to 20.10.3 (#5940) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.1 to 20.10.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 82de6c2..dc7b4f5 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.1", + "@types/node": "^20.10.3", "@typescript-eslint/eslint-plugin": "^6.13.1", "@typescript-eslint/parser": "^6.13.1", "chai": "^4.3.6", From 2a2c701e0de9da62cbed25d4a84a1e8932bdd3f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 11:42:28 +0100 Subject: [PATCH 075/473] build(deps-dev): bump eslint-config-prettier from 9.0.0 to 9.1.0 (#5942) Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 9.0.0 to 9.1.0. - [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-config-prettier/compare/v9.0.0...v9.1.0) --- updated-dependencies: - dependency-name: eslint-config-prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index dc7b4f5..b58aee2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -63,7 +63,7 @@ "@typescript-eslint/parser": "^6.13.1", "chai": "^4.3.6", "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.0", From 03aebbdba15661bdac37812177c1f13b840c83dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 12:18:07 +0100 Subject: [PATCH 076/473] build(deps-dev): bump eslint from 8.54.0 to 8.55.0 (#5941) Bumps [eslint](https://github.com/eslint/eslint) from 8.54.0 to 8.55.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.54.0...v8.55.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b58aee2..59a5122 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -62,7 +62,7 @@ "@typescript-eslint/eslint-plugin": "^6.13.1", "@typescript-eslint/parser": "^6.13.1", "chai": "^4.3.6", - "eslint": "^8.54.0", + "eslint": "^8.55.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-require-extensions": "^0.1.1", From 641568500cb51ee5d87343184936887cfce77021 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Dec 2023 11:44:40 +0100 Subject: [PATCH 077/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.13.1 to 6.13.2 (#5947) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.13.1 to 6.13.2. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.2/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 59a5122..a57705b 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.10.3", - "@typescript-eslint/eslint-plugin": "^6.13.1", + "@typescript-eslint/eslint-plugin": "^6.13.2", "@typescript-eslint/parser": "^6.13.1", "chai": "^4.3.6", "eslint": "^8.55.0", From 743483fe4cabda63ad0eb5c928279da3c6111009 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Dec 2023 12:21:15 +0100 Subject: [PATCH 078/473] build(deps-dev): bump @typescript-eslint/parser from 6.13.1 to 6.13.2 (#5948) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.13.1 to 6.13.2. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.2/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a57705b..5cbef89 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.10.3", "@typescript-eslint/eslint-plugin": "^6.13.2", - "@typescript-eslint/parser": "^6.13.1", + "@typescript-eslint/parser": "^6.13.2", "chai": "^4.3.6", "eslint": "^8.55.0", "eslint-config-prettier": "^9.1.0", From 096a5a74ca47f2c69bc661332874368ce376af40 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Dec 2023 13:03:30 +0100 Subject: [PATCH 079/473] build(deps-dev): bump @types/node from 20.10.3 to 20.10.4 (#5960) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.3 to 20.10.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 5cbef89..6aad1dc 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.3", + "@types/node": "^20.10.4", "@typescript-eslint/eslint-plugin": "^6.13.2", "@typescript-eslint/parser": "^6.13.2", "chai": "^4.3.6", From 03b576432182e46302df575a789e5002f4578988 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Dec 2023 13:04:02 +0100 Subject: [PATCH 080/473] build(deps): bump @solana/codecs-core from 2.0.0-experimental.7123512 to 2.0.0-experimental.8618508 (#5956) build(deps): bump @solana/codecs-core Bumps [@solana/codecs-core](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.7123512 to 2.0.0-experimental.8618508. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6aad1dc..623dd6c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -47,7 +47,7 @@ "@solana/web3.js": "^1.87.6" }, "dependencies": { - "@solana/codecs-core": "2.0.0-experimental.7123512", + "@solana/codecs-core": "2.0.0-experimental.8618508", "@solana/codecs-data-structures": "2.0.0-experimental.7123512", "@solana/codecs-numbers": "2.0.0-experimental.7123512", "@solana/codecs-strings": "2.0.0-experimental.7123512", From c1eb282206bbf2dc49d94365cc5eaed9aeb8eaa9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Dec 2023 13:17:45 +0100 Subject: [PATCH 081/473] build(deps-dev): bump typescript from 5.3.2 to 5.3.3 (#5961) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.2 to 5.3.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.2...v5.3.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 623dd6c..c540023 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -73,6 +73,6 @@ "ts-node": "^10.9.1", "tslib": "^2.3.1", "typedoc": "^0.25.4", - "typescript": "^5.3.2" + "typescript": "^5.3.3" } } From 2edd818e7ec69569161cda1a7a471bd6e8a3e9c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Dec 2023 14:13:46 +0100 Subject: [PATCH 082/473] build(deps): bump @solana/codecs-numbers from 2.0.0-experimental.7123512 to 2.0.0-experimental.8618508 (#5959) * build(deps): bump @solana/codecs-numbers Bumps [@solana/codecs-numbers](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.7123512 to 2.0.0-experimental.8618508. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-numbers" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update to new codec --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 8 ++++---- clients/js-legacy/src/state.ts | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c540023..387b637 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -48,10 +48,10 @@ }, "dependencies": { "@solana/codecs-core": "2.0.0-experimental.8618508", - "@solana/codecs-data-structures": "2.0.0-experimental.7123512", - "@solana/codecs-numbers": "2.0.0-experimental.7123512", - "@solana/codecs-strings": "2.0.0-experimental.7123512", - "@solana/options": "2.0.0-experimental.7123512", + "@solana/codecs-data-structures": "2.0.0-experimental.8618508", + "@solana/codecs-numbers": "2.0.0-experimental.8618508", + "@solana/codecs-strings": "2.0.0-experimental.8618508", + "@solana/options": "2.0.0-experimental.8618508", "@solana/spl-type-length-value": "workspace:*" }, "devDependencies": { diff --git a/clients/js-legacy/src/state.ts b/clients/js-legacy/src/state.ts index 8b46633..e949dd5 100644 --- a/clients/js-legacy/src/state.ts +++ b/clients/js-legacy/src/state.ts @@ -53,20 +53,20 @@ export const pack = (meta: TokenMetadata): Uint8Array => { export function unpack(buffer: Buffer | Uint8Array): TokenMetadata { const data = tokenMetadataCodec.decode(buffer); - return isNonePubkey(data[0].updateAuthority) + return isNonePubkey(data.updateAuthority) ? { - mint: new PublicKey(data[0].mint), - name: data[0].name, - symbol: data[0].symbol, - uri: data[0].uri, - additionalMetadata: data[0].additionalMetadata, + mint: new PublicKey(data.mint), + name: data.name, + symbol: data.symbol, + uri: data.uri, + additionalMetadata: data.additionalMetadata, } : { - updateAuthority: new PublicKey(data[0].updateAuthority), - mint: new PublicKey(data[0].mint), - name: data[0].name, - symbol: data[0].symbol, - uri: data[0].uri, - additionalMetadata: data[0].additionalMetadata, + updateAuthority: new PublicKey(data.updateAuthority), + mint: new PublicKey(data.mint), + name: data.name, + symbol: data.symbol, + uri: data.uri, + additionalMetadata: data.additionalMetadata, }; } From 780bb2760603ab58d52981a1cce2c4c1edfed3f1 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Fri, 8 Dec 2023 12:49:09 +0100 Subject: [PATCH 083/473] token-2022: Bump to 1.0.0 for prod release (#5954) * token-2022: Bump to 1.0.0 for first prod release * Update security.txt --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 4b9a792..1df1a07 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = "1.17.6" -spl-token-2022 = { version = "0.9", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } From 31146ae4e52ce0b3948d1006489edecbe742a8cc Mon Sep 17 00:00:00 2001 From: Joe C Date: Fri, 8 Dec 2023 18:59:31 -0600 Subject: [PATCH 084/473] token metadata js: bump version (#5968) --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 387b637..e3928c7 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -1,7 +1,7 @@ { "name": "@solana/spl-token-metadata", "description": "SPL Token Metadata Interface JS API", - "version": "0.1.1", + "version": "0.1.2", "author": "Solana Labs Maintainers ", "repository": "https://github.com/solana-labs/solana-program-library", "license": "Apache-2.0", @@ -52,7 +52,7 @@ "@solana/codecs-numbers": "2.0.0-experimental.8618508", "@solana/codecs-strings": "2.0.0-experimental.8618508", "@solana/options": "2.0.0-experimental.8618508", - "@solana/spl-type-length-value": "workspace:*" + "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { "@solana/web3.js": "^1.87.6", From cbdee60c5ab67dae1729b3b16f58a228c0f5050e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:31:13 +0100 Subject: [PATCH 085/473] build(deps-dev): bump ts-node from 10.9.1 to 10.9.2 (#5976) Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.9.1 to 10.9.2. - [Release notes](https://github.com/TypeStrong/ts-node/releases) - [Changelog](https://github.com/TypeStrong/ts-node/blob/main/development-docs/release-template.md) - [Commits](https://github.com/TypeStrong/ts-node/compare/v10.9.1...v10.9.2) --- updated-dependencies: - dependency-name: ts-node dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e3928c7..0debbe4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -70,7 +70,7 @@ "mocha": "^10.1.0", "prettier": "^3.1.0", "shx": "^0.3.4", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "tslib": "^2.3.1", "typedoc": "^0.25.4", "typescript": "^5.3.3" From 540f0bb34869de9bb9d585b368c2997d30fd0705 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:31:26 +0100 Subject: [PATCH 086/473] build(deps-dev): bump prettier from 3.1.0 to 3.1.1 (#5981) Bumps [prettier](https://github.com/prettier/prettier) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.1.0...3.1.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0debbe4..0a73806 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.0", "mocha": "^10.1.0", - "prettier": "^3.1.0", + "prettier": "^3.1.1", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", From 4565ec0638e7b74200c7295d8f8ec2b8fa4f12af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:31:49 +0100 Subject: [PATCH 087/473] build(deps): bump @solana/codecs-data-structures from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939 (#5978) build(deps): bump @solana/codecs-data-structures Bumps [@solana/codecs-data-structures](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-data-structures" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0a73806..0f20f29 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@solana/codecs-core": "2.0.0-experimental.8618508", - "@solana/codecs-data-structures": "2.0.0-experimental.8618508", + "@solana/codecs-data-structures": "2.0.0-experimental.9741939", "@solana/codecs-numbers": "2.0.0-experimental.8618508", "@solana/codecs-strings": "2.0.0-experimental.8618508", "@solana/options": "2.0.0-experimental.8618508", From d397c6f60d6601d248e8a54ca8d7b5366ef410cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:55:10 +0100 Subject: [PATCH 088/473] build(deps): bump @solana/codecs-numbers from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939 (#5982) build(deps): bump @solana/codecs-numbers Bumps [@solana/codecs-numbers](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-numbers" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0f20f29..aa263fd 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -49,7 +49,7 @@ "dependencies": { "@solana/codecs-core": "2.0.0-experimental.8618508", "@solana/codecs-data-structures": "2.0.0-experimental.9741939", - "@solana/codecs-numbers": "2.0.0-experimental.8618508", + "@solana/codecs-numbers": "2.0.0-experimental.9741939", "@solana/codecs-strings": "2.0.0-experimental.8618508", "@solana/options": "2.0.0-experimental.8618508", "@solana/spl-type-length-value": "0.1.0" From dbd91e3d6ab9e77b559b2869f8cc25bf4e8c82ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:55:24 +0100 Subject: [PATCH 089/473] build(deps): bump @solana/codecs-core from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939 (#5980) build(deps): bump @solana/codecs-core Bumps [@solana/codecs-core](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index aa263fd..cbe73f6 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -47,7 +47,7 @@ "@solana/web3.js": "^1.87.6" }, "dependencies": { - "@solana/codecs-core": "2.0.0-experimental.8618508", + "@solana/codecs-core": "2.0.0-experimental.9741939", "@solana/codecs-data-structures": "2.0.0-experimental.9741939", "@solana/codecs-numbers": "2.0.0-experimental.9741939", "@solana/codecs-strings": "2.0.0-experimental.8618508", From 5052425e99445704a694db0bbb1fa1569da4cd02 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:55:34 +0100 Subject: [PATCH 090/473] build(deps): bump @solana/options from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939 (#5983) build(deps): bump @solana/options Bumps [@solana/options](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/options" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index cbe73f6..162799f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -51,7 +51,7 @@ "@solana/codecs-data-structures": "2.0.0-experimental.9741939", "@solana/codecs-numbers": "2.0.0-experimental.9741939", "@solana/codecs-strings": "2.0.0-experimental.8618508", - "@solana/options": "2.0.0-experimental.8618508", + "@solana/options": "2.0.0-experimental.9741939", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { From 468d0e25be53d3ff7981ba789f58fa2cfc392edc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 13:10:15 +0100 Subject: [PATCH 091/473] build(deps): bump @solana/codecs-strings from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939 (#5979) build(deps): bump @solana/codecs-strings Bumps [@solana/codecs-strings](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-strings" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 162799f..99be0c1 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -50,7 +50,7 @@ "@solana/codecs-core": "2.0.0-experimental.9741939", "@solana/codecs-data-structures": "2.0.0-experimental.9741939", "@solana/codecs-numbers": "2.0.0-experimental.9741939", - "@solana/codecs-strings": "2.0.0-experimental.8618508", + "@solana/codecs-strings": "2.0.0-experimental.9741939", "@solana/options": "2.0.0-experimental.9741939", "@solana/spl-type-length-value": "0.1.0" }, From da4a09dd4c724fa21db7d48fed5c871aa81b2288 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:15:38 +0100 Subject: [PATCH 092/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.13.2 to 6.14.0 (#5988) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.13.2 to 6.14.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.14.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 99be0c1..f2b7296 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.10.4", - "@typescript-eslint/eslint-plugin": "^6.13.2", + "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.13.2", "chai": "^4.3.6", "eslint": "^8.55.0", From dd79701dbef2e52fe870b52fd0d20764647b040b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:28:08 +0100 Subject: [PATCH 093/473] build(deps-dev): bump @typescript-eslint/parser from 6.13.2 to 6.14.0 (#5989) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.13.2 to 6.14.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.14.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f2b7296..0791428 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.10.4", "@typescript-eslint/eslint-plugin": "^6.14.0", - "@typescript-eslint/parser": "^6.13.2", + "@typescript-eslint/parser": "^6.14.0", "chai": "^4.3.6", "eslint": "^8.55.0", "eslint-config-prettier": "^9.1.0", From 1785dce452c862f34eab2862e596a073990cfa33 Mon Sep 17 00:00:00 2001 From: Joe C Date: Wed, 20 Dec 2023 15:38:55 -0500 Subject: [PATCH 094/473] token metadata js: update test suites (#6015) --- clients/js-legacy/test/instruction.test.ts | 230 ++++++++++----------- clients/js-legacy/test/state.test.ts | 87 +++----- 2 files changed, 135 insertions(+), 182 deletions(-) diff --git a/clients/js-legacy/test/instruction.test.ts b/clients/js-legacy/test/instruction.test.ts index ba7be81..996e206 100644 --- a/clients/js-legacy/test/instruction.test.ts +++ b/clients/js-legacy/test/instruction.test.ts @@ -1,4 +1,3 @@ -import { PublicKey, TransactionInstruction } from '@solana/web3.js'; import { expect } from 'chai'; import { @@ -7,7 +6,29 @@ import { createRemoveKeyInstruction, createUpdateAuthorityInstruction, createUpdateFieldInstruction, + getFieldCodec, + getFieldConfig, } from '../src'; +import type { StructToDecoderTuple } from '@solana/codecs-data-structures'; +import { getBooleanDecoder, getBytesDecoder, getDataEnumCodec, getStructDecoder } from '@solana/codecs-data-structures'; +import { getStringDecoder } from '@solana/codecs-strings'; +import { splDiscriminate } from '@solana/spl-type-length-value'; +import { getU64Decoder } from '@solana/codecs-numbers'; +import type { Option } from '@solana/options'; +import { getOptionDecoder, some } from '@solana/options'; +import { PublicKey, type TransactionInstruction } from '@solana/web3.js'; + +function checkPackUnpack( + instruction: TransactionInstruction, + discriminator: Uint8Array, + layout: StructToDecoderTuple, + values: T +) { + expect(instruction.data.subarray(0, 8)).to.deep.equal(discriminator); + const decoder = getStructDecoder(layout); + const unpacked = decoder.decode(instruction.data.subarray(8)); + expect(unpacked).to.deep.equal(values); +} describe('Token Metadata Instructions', () => { const programId = new PublicKey('22222222222222222222222222222222222222222222'); @@ -17,150 +38,119 @@ describe('Token Metadata Instructions', () => { const mintAuthority = new PublicKey('66666666666666666666666666666666666666666666'); it('Can create Initialize Instruction', () => { - const instruction = createInitializeInstruction({ - programId, - metadata, - updateAuthority, - mint, - mintAuthority, - name: 'My test token', - symbol: 'TEST', - uri: 'http://test.test', - }); - - expect(instruction).to.deep.equal( - new TransactionInstruction({ + const name = 'My test token'; + const symbol = 'TEST'; + const uri = 'http://test.test'; + checkPackUnpack( + createInitializeInstruction({ programId, - keys: [ - { isSigner: false, isWritable: true, pubkey: metadata }, - { isSigner: false, isWritable: false, pubkey: updateAuthority }, - { isSigner: false, isWritable: false, pubkey: mint }, - { isSigner: true, isWritable: false, pubkey: mintAuthority }, - ], - data: Buffer.from([ - // Output of rust implementation - 210, 225, 30, 162, 88, 184, 77, 141, 13, 0, 0, 0, 77, 121, 32, 116, 101, 115, 116, 32, 116, 111, - 107, 101, 110, 4, 0, 0, 0, 84, 69, 83, 84, 16, 0, 0, 0, 104, 116, 116, 112, 58, 47, 47, 116, 101, - 115, 116, 46, 116, 101, 115, 116, - ]), - }) + metadata, + updateAuthority, + mint, + mintAuthority, + name, + symbol, + uri, + }), + splDiscriminate('spl_token_metadata_interface:initialize_account'), + [ + ['name', getStringDecoder()], + ['symbol', getStringDecoder()], + ['uri', getStringDecoder()], + ], + { name, symbol, uri } ); }); it('Can create Update Field Instruction', () => { - const instruction = createUpdateFieldInstruction({ - programId, - metadata, - updateAuthority, - field: 'MyTestField', - value: 'http://test.uri', - }); - - expect(instruction).to.deep.equal( - new TransactionInstruction({ + const field = 'MyTestField'; + const value = 'http://test.uri'; + checkPackUnpack( + createUpdateFieldInstruction({ programId, - keys: [ - { isSigner: false, isWritable: true, pubkey: metadata }, - { isSigner: true, isWritable: false, pubkey: updateAuthority }, - ], - data: Buffer.from([ - // Output of rust implementation - 221, 233, 49, 45, 181, 202, 220, 200, 3, 11, 0, 0, 0, 77, 121, 84, 101, 115, 116, 70, 105, 101, 108, - 100, 15, 0, 0, 0, 104, 116, 116, 112, 58, 47, 47, 116, 101, 115, 116, 46, 117, 114, 105, - ]), - }) + metadata, + updateAuthority, + field, + value, + }), + splDiscriminate('spl_token_metadata_interface:updating_field'), + [ + ['key', getDataEnumCodec(getFieldCodec())], + ['value', getStringDecoder()], + ], + { key: getFieldConfig(field), value } ); }); it('Can create Update Field Instruction with Field Enum', () => { - const instruction = createUpdateFieldInstruction({ - programId, - metadata, - updateAuthority, - field: 'Name', - value: 'http://test.uri', - }); - - expect(instruction).to.deep.equal( - new TransactionInstruction({ + const field = 'Name'; + const value = 'http://test.uri'; + checkPackUnpack( + createUpdateFieldInstruction({ programId, - keys: [ - { isSigner: false, isWritable: true, pubkey: metadata }, - { isSigner: true, isWritable: false, pubkey: updateAuthority }, - ], - data: Buffer.from([ - // Output of rust implementation - 221, 233, 49, 45, 181, 202, 220, 200, 0, 15, 0, 0, 0, 104, 116, 116, 112, 58, 47, 47, 116, 101, 115, - 116, 46, 117, 114, 105, - ]), - }) + metadata, + updateAuthority, + field, + value, + }), + splDiscriminate('spl_token_metadata_interface:updating_field'), + [ + ['key', getDataEnumCodec(getFieldCodec())], + ['value', getStringDecoder()], + ], + { key: getFieldConfig(field), value } ); }); it('Can create Remove Key Instruction', () => { - const instruction = createRemoveKeyInstruction({ - programId, - metadata, - updateAuthority: updateAuthority, - key: 'MyTestField', - idempotent: true, - }); - - expect(instruction).to.deep.equal( - new TransactionInstruction({ + checkPackUnpack( + createRemoveKeyInstruction({ programId, - keys: [ - { isSigner: false, isWritable: true, pubkey: metadata }, - { isSigner: true, isWritable: false, pubkey: updateAuthority }, - ], - data: Buffer.from([ - // Output of rust implementation - 234, 18, 32, 56, 89, 141, 37, 181, 1, 11, 0, 0, 0, 77, 121, 84, 101, 115, 116, 70, 105, 101, 108, - 100, - ]), - }) + metadata, + updateAuthority: updateAuthority, + key: 'MyTestField', + idempotent: true, + }), + splDiscriminate('spl_token_metadata_interface:remove_key_ix'), + [ + ['idempotent', getBooleanDecoder()], + ['key', getStringDecoder()], + ], + { idempotent: true, key: 'MyTestField' } ); }); it('Can create Update Authority Instruction', () => { - const instruction = createUpdateAuthorityInstruction({ - programId, - metadata, - oldAuthority: updateAuthority, - newAuthority: PublicKey.default, - }); - - expect(instruction).to.deep.equal( - new TransactionInstruction({ + const newAuthority = PublicKey.default; + checkPackUnpack( + createUpdateAuthorityInstruction({ programId, - keys: [ - { isSigner: false, isWritable: true, pubkey: metadata }, - { isSigner: true, isWritable: false, pubkey: updateAuthority }, - ], - data: Buffer.from([ - // Output of rust implementation - 215, 228, 166, 228, 84, 100, 86, 123, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - ]), - }) + metadata, + oldAuthority: updateAuthority, + newAuthority, + }), + splDiscriminate('spl_token_metadata_interface:update_the_authority'), + [['newAuthority', getBytesDecoder({ size: 32 })]], + { newAuthority: Uint8Array.from(newAuthority.toBuffer()) } ); }); - it('Can create Emit Instruction', () => { - const instruction = createEmitInstruction({ - programId, - metadata, - end: BigInt(10), - }); - expect(instruction).to.deep.equal( - new TransactionInstruction({ + it('Can create Emit Instruction', () => { + const start: Option = some(0n); + const end: Option = some(10n); + checkPackUnpack( + createEmitInstruction({ programId, - keys: [{ isSigner: false, isWritable: false, pubkey: metadata }], - data: Buffer.from([ - // Output of rust implementation - 250, 166, 180, 250, 13, 12, 184, 70, 0, 1, 10, 0, 0, 0, 0, 0, 0, 0, - ]), - }) + metadata, + start: 0n, + end: 10n, + }), + splDiscriminate('spl_token_metadata_interface:emitter'), + [ + ['start', getOptionDecoder(getU64Decoder())], + ['end', getOptionDecoder(getU64Decoder())], + ], + { start, end } ); }); }); diff --git a/clients/js-legacy/test/state.test.ts b/clients/js-legacy/test/state.test.ts index dcadb35..f55dd04 100644 --- a/clients/js-legacy/test/state.test.ts +++ b/clients/js-legacy/test/state.test.ts @@ -4,29 +4,36 @@ import { expect } from 'chai'; import type { TokenMetadata } from '../src/state'; import { unpack, pack } from '../src'; +function checkPackUnpack(tokenMetadata: TokenMetadata) { + const packed = pack(tokenMetadata); + const unpacked = unpack(packed); + expect(unpacked).to.deep.equal(tokenMetadata); +} + describe('Token Metadata State', () => { - it('Can pack and unpack as rust implementation', () => { - const meta = { + it('Can pack and unpack base token metadata', () => { + checkPackUnpack({ mint: PublicKey.default, name: 'name', symbol: 'symbol', uri: 'uri', additionalMetadata: [], - }; - - // From rust implementation - const bytes = Buffer.from([ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 110, 97, - 109, 101, 6, 0, 0, 0, 115, 121, 109, 98, 111, 108, 3, 0, 0, 0, 117, 114, 105, 0, 0, 0, 0, - ]); + }); + }); - expect(pack(meta)).to.deep.equal(bytes); - expect(unpack(bytes)).to.deep.equal(meta); + it('Can pack and unpack with updateAuthority', () => { + checkPackUnpack({ + updateAuthority: new PublicKey('44444444444444444444444444444444444444444444'), + mint: new PublicKey('55555555555555555555555555555555555555555555'), + name: 'name', + symbol: 'symbol', + uri: 'uri', + additionalMetadata: [], + }); }); - it('Can pack and unpack as rust implementation with additionalMetadata', () => { - const meta: TokenMetadata = { + it('Can pack and unpack with additional metadata', () => { + checkPackUnpack({ mint: PublicKey.default, name: 'new_name', symbol: 'new_symbol', @@ -35,43 +42,11 @@ describe('Token Metadata State', () => { ['key1', 'value1'], ['key2', 'value2'], ], - }; - // From rust implementation - const bytes = Buffer.from([ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 110, 101, - 119, 95, 110, 97, 109, 101, 10, 0, 0, 0, 110, 101, 119, 95, 115, 121, 109, 98, 111, 108, 7, 0, 0, 0, 110, - 101, 119, 95, 117, 114, 105, 2, 0, 0, 0, 4, 0, 0, 0, 107, 101, 121, 49, 6, 0, 0, 0, 118, 97, 108, 117, 101, - 49, 4, 0, 0, 0, 107, 101, 121, 50, 6, 0, 0, 0, 118, 97, 108, 117, 101, 50, - ]); - - expect(pack(meta)).to.deep.equal(bytes); - expect(unpack(bytes)).to.deep.equal(meta); - }); - - it('Can pack and unpack with mint and updateAuthority', () => { - const meta = { - updateAuthority: new PublicKey('44444444444444444444444444444444444444444444'), - mint: new PublicKey('55555555555555555555555555555555555555555555'), - name: 'name', - symbol: 'symbol', - uri: 'uri', - additionalMetadata: [], - }; - - const bytes = Buffer.from([ - 45, 91, 65, 60, 101, 64, 222, 21, 12, 147, 115, 20, 77, 81, 51, 202, 76, 184, 48, 186, 15, 117, 103, 22, - 172, 234, 14, 80, 215, 148, 53, 229, 60, 121, 172, 80, 135, 1, 40, 28, 16, 196, 153, 112, 103, 22, 239, 184, - 102, 74, 235, 162, 191, 71, 52, 30, 59, 226, 189, 193, 31, 112, 71, 220, 4, 0, 0, 0, 110, 97, 109, 101, 6, - 0, 0, 0, 115, 121, 109, 98, 111, 108, 3, 0, 0, 0, 117, 114, 105, 0, 0, 0, 0, - ]); - - expect(pack(meta)).to.deep.equal(bytes); - expect(unpack(bytes)).to.deep.equal(meta); + }); }); - it('Can pack and unpack with mint, updateAuthority and additional metadata', () => { - const meta: TokenMetadata = { + it('Can pack and unpack with updateAuthority and additional metadata', () => { + checkPackUnpack({ updateAuthority: new PublicKey('44444444444444444444444444444444444444444444'), mint: new PublicKey('55555555555555555555555555555555555555555555'), name: 'name', @@ -81,18 +56,6 @@ describe('Token Metadata State', () => { ['key1', 'value1'], ['key2', 'value2'], ], - }; - - const bytes = Buffer.from([ - 45, 91, 65, 60, 101, 64, 222, 21, 12, 147, 115, 20, 77, 81, 51, 202, 76, 184, 48, 186, 15, 117, 103, 22, - 172, 234, 14, 80, 215, 148, 53, 229, 60, 121, 172, 80, 135, 1, 40, 28, 16, 196, 153, 112, 103, 22, 239, 184, - 102, 74, 235, 162, 191, 71, 52, 30, 59, 226, 189, 193, 31, 112, 71, 220, 4, 0, 0, 0, 110, 97, 109, 101, 6, - 0, 0, 0, 115, 121, 109, 98, 111, 108, 3, 0, 0, 0, 117, 114, 105, 2, 0, 0, 0, 4, 0, 0, 0, 107, 101, 121, 49, - 6, 0, 0, 0, 118, 97, 108, 117, 101, 49, 4, 0, 0, 0, 107, 101, 121, 50, 6, 0, 0, 0, 118, 97, 108, 117, 101, - 50, - ]); - - expect(pack(meta)).to.deep.equal(bytes); - expect(unpack(bytes)).to.deep.equal(meta); + }); }); }); From 92da801401d3b8d7a99c33923007e3780f3069a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 19:27:03 -0500 Subject: [PATCH 095/473] build(deps-dev): bump @types/node from 20.10.4 to 20.10.5 (#6003) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.4 to 20.10.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0791428..6943685 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.4", + "@types/node": "^20.10.5", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "chai": "^4.3.6", From abf66ceb1dd4c4a2d72bebfe301bc5d3b1435790 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 19:27:29 -0500 Subject: [PATCH 096/473] build(deps-dev): bump @typescript-eslint/parser from 6.14.0 to 6.15.0 (#6009) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.14.0 to 6.15.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.15.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6943685..10883d8 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.10.5", "@typescript-eslint/eslint-plugin": "^6.14.0", - "@typescript-eslint/parser": "^6.14.0", + "@typescript-eslint/parser": "^6.15.0", "chai": "^4.3.6", "eslint": "^8.55.0", "eslint-config-prettier": "^9.1.0", From 52f78be9225b80fb8c10abb9582b9ee51be9afd6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 19:27:54 -0500 Subject: [PATCH 097/473] build(deps-dev): bump eslint-plugin-prettier from 5.0.1 to 5.1.0 (#6012) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.0.1 to 5.1.0. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.0.1...v5.1.0) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 10883d8..2a4c20f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "chai": "^4.3.6", "eslint": "^8.55.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.0.1", + "eslint-plugin-prettier": "^5.1.0", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.0", "mocha": "^10.1.0", From 0df0dcd64f76b475456d884f93f106970b69fd26 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 20:02:53 -0500 Subject: [PATCH 098/473] build(deps-dev): bump eslint and @types/eslint (#6016) Bumps [eslint](https://github.com/eslint/eslint) and [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint). These dependencies needed to be updated together. Updates `eslint` from 8.55.0 to 8.56.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.55.0...v8.56.0) Updates `@types/eslint` from 8.44.9 to 8.56.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: "@types/eslint" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2a4c20f..596d1f0 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -62,7 +62,7 @@ "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.15.0", "chai": "^4.3.6", - "eslint": "^8.55.0", + "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.0", "eslint-plugin-require-extensions": "^0.1.1", From 16850004b835dda1c3420fa5baf5e9e12fdccf8b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 20:13:23 -0500 Subject: [PATCH 099/473] build(deps-dev): bump eslint-plugin-prettier from 5.0.1 to 5.1.1 (#6021) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.0.1 to 5.1.1. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.0.1...v5.1.1) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 596d1f0..ba2c3ad 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "chai": "^4.3.6", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.1.0", + "eslint-plugin-prettier": "^5.1.1", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.0", "mocha": "^10.1.0", From 51ac2461e43ca001eea2cfc58f72aca85e9a7248 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 20:13:46 -0500 Subject: [PATCH 100/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.14.0 to 6.15.0 (#6010) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.14.0 to 6.15.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.15.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index ba2c3ad..8d73e7f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.10.5", - "@typescript-eslint/eslint-plugin": "^6.14.0", + "@typescript-eslint/eslint-plugin": "^6.15.0", "@typescript-eslint/parser": "^6.15.0", "chai": "^4.3.6", "eslint": "^8.56.0", From 0a5906f66130d49a67af6eb2eb34e729bae999f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Dec 2023 03:09:35 +0100 Subject: [PATCH 101/473] build(deps-dev): bump eslint-plugin-prettier from 5.1.1 to 5.1.2 (#6025) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.1.1 to 5.1.2. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 8d73e7f..a32e71c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "chai": "^4.3.6", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.1.1", + "eslint-plugin-prettier": "^5.1.2", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.0", "mocha": "^10.1.0", From dae5cd878a85b5dd22752dd2ad3f7e67bea7c2ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Dec 2023 03:21:42 +0100 Subject: [PATCH 102/473] build(deps-dev): bump gh-pages from 6.1.0 to 6.1.1 (#6026) Bumps [gh-pages](https://github.com/tschaub/gh-pages) from 6.1.0 to 6.1.1. - [Release notes](https://github.com/tschaub/gh-pages/releases) - [Changelog](https://github.com/tschaub/gh-pages/blob/main/changelog.md) - [Commits](https://github.com/tschaub/gh-pages/compare/v6.1.0...v6.1.1) --- updated-dependencies: - dependency-name: gh-pages dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a32e71c..c81fc68 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -66,7 +66,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.2", "eslint-plugin-require-extensions": "^0.1.1", - "gh-pages": "^6.1.0", + "gh-pages": "^6.1.1", "mocha": "^10.1.0", "prettier": "^3.1.1", "shx": "^0.3.4", From 3e7d977499071e3f3deb2b9f58078017b1902b4b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Dec 2023 16:52:12 +0100 Subject: [PATCH 103/473] build(deps-dev): bump @typescript-eslint/parser from 6.15.0 to 6.16.0 (#6029) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.15.0 to 6.16.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.16.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c81fc68..7183f63 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.10.5", "@typescript-eslint/eslint-plugin": "^6.15.0", - "@typescript-eslint/parser": "^6.15.0", + "@typescript-eslint/parser": "^6.16.0", "chai": "^4.3.6", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From 6bee1490fa3bc20b026d50dd9b96a6b33b29a81f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Dec 2023 17:49:29 +0100 Subject: [PATCH 104/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.15.0 to 6.16.0 (#6030) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.15.0 to 6.16.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.16.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 7183f63..ec17a98 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.10.5", - "@typescript-eslint/eslint-plugin": "^6.15.0", + "@typescript-eslint/eslint-plugin": "^6.16.0", "@typescript-eslint/parser": "^6.16.0", "chai": "^4.3.6", "eslint": "^8.56.0", From bb6f613db687d8afe4e27add26a1c2acacc756a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 01:18:44 +0100 Subject: [PATCH 105/473] build(deps): bump serde_json from 1.0.108 to 1.0.109 (#6039) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.108 to 1.0.109. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.109) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index f52cf27..eaf1978 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -20,7 +20,7 @@ spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-v spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] -serde_json = "1.0.108" +serde_json = "1.0.109" [lib] crate-type = ["cdylib", "lib"] From 976d20961d50346c06d4337eef9de48c9fb7e163 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 01:19:09 +0100 Subject: [PATCH 106/473] build(deps-dev): bump typedoc from 0.25.4 to 0.25.5 (#6042) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.4 to 0.25.5. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.4...v0.25.5) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index ec17a98..989faf2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", - "typedoc": "^0.25.4", + "typedoc": "^0.25.5", "typescript": "^5.3.3" } } From a72450912bff3ec418f03e69103ed803999618a1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 01:19:22 +0100 Subject: [PATCH 107/473] build(deps-dev): bump @types/node from 20.10.5 to 20.10.6 (#6044) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.5 to 20.10.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 989faf2..42df394 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.5", + "@types/node": "^20.10.6", "@typescript-eslint/eslint-plugin": "^6.16.0", "@typescript-eslint/parser": "^6.16.0", "chai": "^4.3.6", From 68dd3fcc2bf90162e64edc5ef1faf130263f6fc2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 12:20:25 +0100 Subject: [PATCH 108/473] build(deps): bump serde from 1.0.193 to 1.0.194 (#6047) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.193 to 1.0.194. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.193...v1.0.194) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index eaf1978..47169b5 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" -serde = { version = "1.0.193", optional = true } +serde = { version = "1.0.194", optional = true } solana-program = "1.17.6" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } From ea3233c7a6fe8c56cca5cde480da507cc9e72985 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 12:20:32 +0100 Subject: [PATCH 109/473] build(deps-dev): bump typedoc from 0.25.5 to 0.25.6 (#6048) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.5 to 0.25.6. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.5...v0.25.6) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 42df394..385ed39 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", - "typedoc": "^0.25.5", + "typedoc": "^0.25.6", "typescript": "^5.3.3" } } From 644274277144e755daf681c7d3b515b46fbe6489 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 12:20:40 +0100 Subject: [PATCH 110/473] build(deps-dev): bump @typescript-eslint/parser from 6.16.0 to 6.17.0 (#6049) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.16.0 to 6.17.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.17.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 385ed39..ef9fe6c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.10.6", "@typescript-eslint/eslint-plugin": "^6.16.0", - "@typescript-eslint/parser": "^6.16.0", + "@typescript-eslint/parser": "^6.17.0", "chai": "^4.3.6", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From bb8ecab05468b5a26e6077706d4ef2a709dd7a00 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 12:44:14 +0100 Subject: [PATCH 111/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.16.0 to 6.17.0 (#6051) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.16.0 to 6.17.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.17.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index ef9fe6c..59faa30 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.10.6", - "@typescript-eslint/eslint-plugin": "^6.16.0", + "@typescript-eslint/eslint-plugin": "^6.17.0", "@typescript-eslint/parser": "^6.17.0", "chai": "^4.3.6", "eslint": "^8.56.0", From 8221a2b06a3e99ff8ac1f404a08fbb811f8ccd4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 3 Jan 2024 12:58:12 +0100 Subject: [PATCH 112/473] build(deps): bump serde_json from 1.0.109 to 1.0.110 (#6053) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.109 to 1.0.110. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.109...v1.0.110) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 47169b5..e2a37f7 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -20,7 +20,7 @@ spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-v spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] -serde_json = "1.0.109" +serde_json = "1.0.110" [lib] crate-type = ["cdylib", "lib"] From f0e795672ce6ba6830838e932eb2c7f5cc332d23 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 13:12:00 +0100 Subject: [PATCH 113/473] build(deps): bump serde_json from 1.0.110 to 1.0.111 (#6060) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.110 to 1.0.111. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.110...v1.0.111) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index e2a37f7..b458d9a 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -20,7 +20,7 @@ spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-v spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] -serde_json = "1.0.110" +serde_json = "1.0.111" [lib] crate-type = ["cdylib", "lib"] From 24a39c1b99f2fdf6b4d69f0038e8ada4717d66af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:03:56 +0100 Subject: [PATCH 114/473] build(deps-dev): bump @types/node from 20.10.6 to 20.10.7 (#6077) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.6 to 20.10.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 59faa30..34bb4e2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.87.6", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.6", + "@types/node": "^20.10.7", "@typescript-eslint/eslint-plugin": "^6.17.0", "@typescript-eslint/parser": "^6.17.0", "chai": "^4.3.6", From e03212e285c61e7f37765f39e78efd339ac83248 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:04:14 +0100 Subject: [PATCH 115/473] build(deps-dev): bump @typescript-eslint/parser from 6.17.0 to 6.18.0 (#6079) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.17.0 to 6.18.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 34bb4e2..f1e397d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.10.7", "@typescript-eslint/eslint-plugin": "^6.17.0", - "@typescript-eslint/parser": "^6.17.0", + "@typescript-eslint/parser": "^6.18.0", "chai": "^4.3.6", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From 11143a9c2cba1a615b6a9de8c135ccb3853d02cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:04:24 +0100 Subject: [PATCH 116/473] build(deps-dev): bump typedoc from 0.25.4 to 0.25.7 (#6081) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.4 to 0.25.7. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.4...v0.25.7) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f1e397d..fb09ea7 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", - "typedoc": "^0.25.6", + "typedoc": "^0.25.7", "typescript": "^5.3.3" } } From 4181f39db316585a6ee40a37d014a592094e9b90 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:56:39 +0100 Subject: [PATCH 117/473] build(deps): bump serde from 1.0.194 to 1.0.195 (#6075) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.194 to 1.0.195. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.194...v1.0.195) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index b458d9a..648245a 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" -serde = { version = "1.0.194", optional = true } +serde = { version = "1.0.195", optional = true } solana-program = "1.17.6" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } From 8d3581fce604a2ac022e5434b8b1a1d1a0b9d998 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:56:55 +0100 Subject: [PATCH 118/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.17.0 to 6.18.0 (#6080) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.17.0 to 6.18.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index fb09ea7..456cdfc 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.10.7", - "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/eslint-plugin": "^6.18.0", "@typescript-eslint/parser": "^6.18.0", "chai": "^4.3.6", "eslint": "^8.56.0", From a0f32eda19668fc140f251bdee0feb18f4c073ff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:50:55 +0100 Subject: [PATCH 119/473] build(deps): bump @solana/web3.js from 1.87.6 to 1.88.0 (#6083) * build(deps): bump @solana/web3.js from 1.87.6 to 1.88.0 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.87.6 to 1.88.0. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.87.6...v1.88.0) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Update account-compression and undo single-pool update --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 456cdfc..05d6581 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,7 +44,7 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.87.6" + "@solana/web3.js": "^1.88.0" }, "dependencies": { "@solana/codecs-core": "2.0.0-experimental.9741939", @@ -55,7 +55,7 @@ "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.87.6", + "@solana/web3.js": "^1.88.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.10.7", From 187400a48873b35f714db8602891e9a6ba48e539 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 12:59:21 +0100 Subject: [PATCH 120/473] build(deps-dev): bump @typescript-eslint/parser from 6.18.0 to 6.18.1 (#6092) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.18.0 to 6.18.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 05d6581..4f66a75 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.10.7", "@typescript-eslint/eslint-plugin": "^6.18.0", - "@typescript-eslint/parser": "^6.18.0", + "@typescript-eslint/parser": "^6.18.1", "chai": "^4.3.6", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From 4fcd78719446d6527720546e847f30dc19e16b7b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:23:43 +0100 Subject: [PATCH 121/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.18.0 to 6.18.1 (#6093) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.18.0 to 6.18.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4f66a75..959194c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.10.7", - "@typescript-eslint/eslint-plugin": "^6.18.0", + "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "chai": "^4.3.6", "eslint": "^8.56.0", From dba7f653b4c13fd2877c95ffb3104d3425fc0c15 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 12:07:32 +0100 Subject: [PATCH 122/473] build(deps-dev): bump @types/node from 20.10.7 to 20.10.8 (#6102) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.7 to 20.10.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 959194c..d89e800 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.88.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.7", + "@types/node": "^20.10.8", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "chai": "^4.3.6", From a779557c1fc5c55007321076b20088a1182d4adb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 12:08:14 +0100 Subject: [PATCH 123/473] build(deps-dev): bump eslint-plugin-prettier from 5.1.2 to 5.1.3 (#6104) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.1.2 to 5.1.3. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.2...v5.1.3) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d89e800..87a06e9 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "chai": "^4.3.6", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.1.2", + "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.1.0", From 0a6839bbc33513a53c6838da8fd4f3d4cf266446 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:27:18 +0100 Subject: [PATCH 124/473] build(deps-dev): bump @types/node from 20.10.8 to 20.11.0 (#6117) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.8 to 20.11.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 87a06e9..2f6ba2b 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.88.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.8", + "@types/node": "^20.11.0", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "chai": "^4.3.6", From b876ffca51ae561eca96932a7017f12ccf83db9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:51:54 +0100 Subject: [PATCH 125/473] build(deps): bump @solana/web3.js from 1.88.0 to 1.89.0 (#6115) * build(deps): bump @solana/web3.js from 1.88.0 to 1.89.0 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.88.0 to 1.89.0. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.88.0...v1.89.0) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Properly update packages --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2f6ba2b..bd106be 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,7 +44,7 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.88.0" + "@solana/web3.js": "^1.89.0" }, "dependencies": { "@solana/codecs-core": "2.0.0-experimental.9741939", @@ -55,7 +55,7 @@ "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.88.0", + "@solana/web3.js": "^1.89.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.0", From 9a7fe63946950d970be9532e869dff84646a06da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 18:14:57 +0100 Subject: [PATCH 126/473] build(deps-dev): bump @types/node from 20.11.0 to 20.11.1 (#6132) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.0 to 20.11.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index bd106be..ced371a 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.89.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.0", + "@types/node": "^20.11.1", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "chai": "^4.3.6", From f54a2838e6f2bdb0d344a98a9e415e00e70df052 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 18:15:06 +0100 Subject: [PATCH 127/473] build(deps-dev): bump prettier from 3.1.1 to 3.2.2 (#6133) Bumps [prettier](https://github.com/prettier/prettier) from 3.1.1 to 3.2.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.1.1...3.2.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index ced371a..1607643 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.1.0", - "prettier": "^3.1.1", + "prettier": "^3.2.2", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", From 709939b5c47a32a76b4488c94c26b81fec0436f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 15:20:39 +0100 Subject: [PATCH 128/473] build(deps-dev): bump @types/node from 20.11.1 to 20.11.4 (#6139) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.1 to 20.11.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1607643..cb7284a 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.89.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.1", + "@types/node": "^20.11.4", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "chai": "^4.3.6", From 7b90355dfe84062849ede63c0afac278a45cc20c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 15:20:48 +0100 Subject: [PATCH 129/473] build(deps-dev): bump @typescript-eslint/parser from 6.18.1 to 6.19.0 (#6138) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.18.1 to 6.19.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index cb7284a..06f88b8 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.4", "@typescript-eslint/eslint-plugin": "^6.18.1", - "@typescript-eslint/parser": "^6.18.1", + "@typescript-eslint/parser": "^6.19.0", "chai": "^4.3.6", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From 74f5b5fc699aa2465382129986e5cabf9332bbe0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 15:38:18 +0100 Subject: [PATCH 130/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.18.1 to 6.19.0 (#6136) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.18.1 to 6.19.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 06f88b8..eec8cff 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.4", - "@typescript-eslint/eslint-plugin": "^6.18.1", + "@typescript-eslint/eslint-plugin": "^6.19.0", "@typescript-eslint/parser": "^6.19.0", "chai": "^4.3.6", "eslint": "^8.56.0", From 2175441d7d3661e921ff10fe189fa2959324b8f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 20:56:16 +0100 Subject: [PATCH 131/473] build(deps): bump @solana/web3.js from 1.89.0 to 1.89.1 (#6137) * build(deps): bump @solana/web3.js from 1.89.0 to 1.89.1 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.89.0 to 1.89.1. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.89.0...v1.89.1) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Fix update --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index eec8cff..8d17711 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,7 +44,7 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.89.0" + "@solana/web3.js": "^1.89.1" }, "dependencies": { "@solana/codecs-core": "2.0.0-experimental.9741939", @@ -55,7 +55,7 @@ "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.89.0", + "@solana/web3.js": "^1.89.1", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.4", From b3f71ef0781f3365a9d2691be4ac3ccc6d875c6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:38:09 +0100 Subject: [PATCH 132/473] build(deps-dev): bump @types/node from 20.11.4 to 20.11.5 (#6142) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.4 to 20.11.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 8d17711..9d81e0c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.89.1", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.4", + "@types/node": "^20.11.5", "@typescript-eslint/eslint-plugin": "^6.19.0", "@typescript-eslint/parser": "^6.19.0", "chai": "^4.3.6", From 0a270ad6fc6001d6fd4c7e7ce6df6351b640e70c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 13:30:28 +0100 Subject: [PATCH 133/473] build(deps-dev): bump prettier from 3.2.2 to 3.2.4 (#6143) * build(deps-dev): bump prettier from 3.2.2 to 3.2.4 Bumps [prettier](https://github.com/prettier/prettier) from 3.2.2 to 3.2.4. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.2.2...3.2.4) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Run prettier:fix on all packages * Fixup error type --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 2 +- clients/js-legacy/tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9d81e0c..58ac6c7 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.1.0", - "prettier": "^3.2.2", + "prettier": "^3.2.4", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", diff --git a/clients/js-legacy/tsconfig.json b/clients/js-legacy/tsconfig.json index 2f9b239..faff0d6 100644 --- a/clients/js-legacy/tsconfig.json +++ b/clients/js-legacy/tsconfig.json @@ -3,6 +3,6 @@ "include": ["src", "test"], "compilerOptions": { "noEmit": true, - "skipLibCheck": true - } + "skipLibCheck": true, + }, } From f0736bd1e2e564dedf9de73d52249ba956da4250 Mon Sep 17 00:00:00 2001 From: Emanuele Cesena Date: Wed, 17 Jan 2024 17:03:22 -0800 Subject: [PATCH 134/473] token 2022: upgrade sdk to 1.17.13 (#6147) * token 2022: upgrade sdk to 1.17.13 * Upgrade all remaining packages --------- Co-authored-by: Jon C --- interface/Cargo.toml | 2 +- program/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 648245a..6c3a695 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" serde = { version = "1.0.195", optional = true } -solana-program = "1.17.6" +solana-program = "1.17.13" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } diff --git a/program/Cargo.toml b/program/Cargo.toml index 1df1a07..3666079 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "1.17.6" +solana-program = "1.17.13" spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = "1.17.6" -solana-sdk = "1.17.6" +solana-program-test = "1.17.13" +solana-sdk = "1.17.13" spl-token-client = { version = "0.8", path = "../../token/client" } test-case = "3.3" From 596f60d7dd0445252e0d1661c6d8ed60e871c56f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 12:29:43 +0100 Subject: [PATCH 135/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.19.0 to 6.19.1 (#6167) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.19.0 to 6.19.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 58ac6c7..e39e2ff 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.5", - "@typescript-eslint/eslint-plugin": "^6.19.0", + "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.0", "chai": "^4.3.6", "eslint": "^8.56.0", From 6f81cc9b033f90c4fa841a8e5e9a92e8b81372fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 12:46:06 +0100 Subject: [PATCH 136/473] build(deps-dev): bump @typescript-eslint/parser from 6.19.0 to 6.19.1 (#6168) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.19.0 to 6.19.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e39e2ff..0308891 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.5", "@typescript-eslint/eslint-plugin": "^6.19.1", - "@typescript-eslint/parser": "^6.19.0", + "@typescript-eslint/parser": "^6.19.1", "chai": "^4.3.6", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From 7acd15b87cb766e3bff8f59ea952aa3cee00af8a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 12:34:20 +0100 Subject: [PATCH 137/473] build(deps-dev): bump @types/node from 20.11.5 to 20.11.6 (#6172) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.5 to 20.11.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0308891..e4d75d7 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.89.1", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.5", + "@types/node": "^20.11.6", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "chai": "^4.3.6", From 45c12d0d36ee13b25163a396bbf87163d634c48f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 02:02:31 +0100 Subject: [PATCH 138/473] build(deps-dev): bump chai from 4.3.10 to 5.0.0 (#6035) * build(deps-dev): bump chai from 4.3.10 to 5.0.0 Bumps [chai](https://github.com/chaijs/chai) from 4.3.10 to 5.0.0. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](https://github.com/chaijs/chai/compare/v4.3.10...v5.0.0) --- updated-dependencies: - dependency-name: chai dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Fixup jest to work with ESM * Update name-service to use jest * Remove chai dependency * Update lockfile * Remove chai-as-promised from TLV * Update token-js for new chai * Update ts-jest version in name-service --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e4d75d7..b501bf0 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -61,7 +61,7 @@ "@types/node": "^20.11.6", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", - "chai": "^4.3.6", + "chai": "^5.0.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", From efc03a85795907a5271dd49ad7d0f8d35d39fc84 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 15:05:00 +0100 Subject: [PATCH 139/473] build(deps-dev): bump chai from 5.0.0 to 5.0.3 (#6180) Bumps [chai](https://github.com/chaijs/chai) from 5.0.0 to 5.0.3. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](https://github.com/chaijs/chai/compare/v5.0.0...v5.0.3) --- updated-dependencies: - dependency-name: chai dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b501bf0..7e72656 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -61,7 +61,7 @@ "@types/node": "^20.11.6", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", - "chai": "^5.0.0", + "chai": "^5.0.3", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", From f1e2b47b365e700cfc6a55bca75567a3e5c4ec37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 13:11:14 +0100 Subject: [PATCH 140/473] build(deps-dev): bump @types/node from 20.11.6 to 20.11.7 (#6186) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.6 to 20.11.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 7e72656..b62133a 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.89.1", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.6", + "@types/node": "^20.11.7", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "chai": "^5.0.3", From fdd8123160089f73abbd101137d8cc9d8d232b8f Mon Sep 17 00:00:00 2001 From: Will Hickey Date: Fri, 26 Jan 2024 15:31:55 -0600 Subject: [PATCH 141/473] Update solana dependency version to allow 2.0.0 (#6182) * Update solana dependency version to allow 2.0.0 * Fix version number in solana-version.sh * Fix version numbers * Revert solana-version.sh with note * Revert Anchor version change * Relax dependency version upper bound to 2 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 6c3a695..d0fe6e1 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" serde = { version = "1.0.195", optional = true } -solana-program = "1.17.13" +solana-program = ">=1.17.13,<=2" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } diff --git a/program/Cargo.toml b/program/Cargo.toml index 3666079..c689e88 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "1.17.13" +solana-program = ">=1.17.13,<=2" spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = "1.17.13" -solana-sdk = "1.17.13" +solana-program-test = ">=1.17.13,<=2" +solana-sdk = ">=1.17.13,<=2" spl-token-client = { version = "0.8", path = "../../token/client" } test-case = "3.3" From 84e6f3cc3ddd308e9f6f0562bb4b4726e29ef821 Mon Sep 17 00:00:00 2001 From: Jon C Date: Fri, 26 Jan 2024 23:19:53 +0100 Subject: [PATCH 142/473] token-2022: Bump to v2 (#6187) --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index c689e88..df87f24 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = ">=1.17.13,<=2" -spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } From a3e5ce2e767c948a52c64c2833f33df1d00d0509 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:27:41 +0100 Subject: [PATCH 143/473] build(deps): bump serde from 1.0.195 to 1.0.196 (#6193) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.195 to 1.0.196. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index d0fe6e1..80a333f 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" -serde = { version = "1.0.195", optional = true } +serde = { version = "1.0.196", optional = true } solana-program = ">=1.17.13,<=2" spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } From 77cbcdb5f453e4abe5d35557d92438f0067945e9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:04:29 +0100 Subject: [PATCH 144/473] build(deps): bump serde_json from 1.0.111 to 1.0.113 (#6195) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.111 to 1.0.113. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.111...v1.0.113) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 80a333f..816616b 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -20,7 +20,7 @@ spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-v spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] -serde_json = "1.0.111" +serde_json = "1.0.113" [lib] crate-type = ["cdylib", "lib"] From e1976145034caadf3012895ff2836a13267e01a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 01:51:58 +0100 Subject: [PATCH 145/473] build(deps-dev): bump @types/node from 20.11.7 to 20.11.10 (#6198) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.7 to 20.11.10. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b62133a..a5aaa7c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.89.1", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.7", + "@types/node": "^20.11.10", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "chai": "^5.0.3", From 482f3bc284ccb3d130938e6509e537d723129e14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:15:05 +0100 Subject: [PATCH 146/473] build(deps-dev): bump @typescript-eslint/parser from 6.19.1 to 6.20.0 (#6202) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.19.1 to 6.20.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.20.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a5aaa7c..a370682 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.10", "@typescript-eslint/eslint-plugin": "^6.19.1", - "@typescript-eslint/parser": "^6.19.1", + "@typescript-eslint/parser": "^6.20.0", "chai": "^5.0.3", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From cd69084ec3eea8d36a143eb484c221fb7149931f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:33:15 +0100 Subject: [PATCH 147/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.19.1 to 6.20.0 (#6203) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.19.1 to 6.20.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.20.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a370682..70261cb 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.10", - "@typescript-eslint/eslint-plugin": "^6.19.1", + "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "chai": "^5.0.3", "eslint": "^8.56.0", From ac44efb1fa2353f69c1a4df34e625fd4fa764ae1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 Jan 2024 14:48:14 +0100 Subject: [PATCH 148/473] build(deps-dev): bump @types/node from 20.11.10 to 20.11.13 (#6209) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.10 to 20.11.13. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 70261cb..b8ac762 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.89.1", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.10", + "@types/node": "^20.11.13", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "chai": "^5.0.3", From 45f0bbea2783acbf5068fec19189eb6349f936e6 Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Thu, 1 Feb 2024 10:09:45 +0900 Subject: [PATCH 149/473] Upgrade to solana 1.17.17 (#6189) * upgrade to solana version 1.17.17 * add display for the group extensions * upgrade to solana version 1.17.17 * update cargo lock --- interface/Cargo.toml | 10 ++++++---- program/Cargo.toml | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 816616b..75dd71f 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,11 +13,13 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" serde = { version = "1.0.196", optional = true } -solana-program = ">=1.17.13,<=2" -spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } -spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } +solana-program = ">=1.17.17,<=2" +spl-discriminator = { version = "0.1", path = "../../libraries/discriminator" } +spl-program-error = { version = "0.3", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } +spl-pod = { version = "0.1", path = "../../libraries/pod", features = [ + "borsh", +] } [dev-dependencies] serde_json = "1.0.113" diff --git a/program/Cargo.toml b/program/Cargo.toml index df87f24..ac59ecc 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = ">=1.17.13,<=2" +solana-program = ">=1.17.17,<=2" spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = ">=1.17.13,<=2" -solana-sdk = ">=1.17.13,<=2" +solana-program-test = ">=1.17.17,<=2" +solana-sdk = ">=1.17.17,<=2" spl-token-client = { version = "0.8", path = "../../token/client" } test-case = "3.3" From fed9edfa9776e7b407afd4db37b274ec245257cd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 12:55:24 +0100 Subject: [PATCH 150/473] build(deps-dev): bump @types/node from 20.11.13 to 20.11.15 (#6212) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.13 to 20.11.15. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b8ac762..2495510 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.89.1", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.13", + "@types/node": "^20.11.15", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "chai": "^5.0.3", From ad7cf1b9043bc0361a8eaa25226cbe3e965e0950 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 13:52:31 +0100 Subject: [PATCH 151/473] build(deps-dev): bump @types/node from 20.11.15 to 20.11.16 (#6216) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.15 to 20.11.16. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2495510..5db0612 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.89.1", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.15", + "@types/node": "^20.11.16", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "chai": "^5.0.3", From 00aee1f97b0508c42a29549b91a8b21bfa0f6f7e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 12:59:25 -0500 Subject: [PATCH 152/473] build(deps-dev): bump prettier from 3.2.4 to 3.2.5 (#6223) * build(deps-dev): bump prettier from 3.2.4 to 3.2.5 Bumps [prettier](https://github.com/prettier/prettier) from 3.2.4 to 3.2.5. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.2.4...3.2.5) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Fixup everywhere --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 2 +- clients/js-legacy/tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 5db0612..83a9fbe 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.1.0", - "prettier": "^3.2.4", + "prettier": "^3.2.5", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", diff --git a/clients/js-legacy/tsconfig.json b/clients/js-legacy/tsconfig.json index faff0d6..2f9b239 100644 --- a/clients/js-legacy/tsconfig.json +++ b/clients/js-legacy/tsconfig.json @@ -3,6 +3,6 @@ "include": ["src", "test"], "compilerOptions": { "noEmit": true, - "skipLibCheck": true, - }, + "skipLibCheck": true + } } From 391f8e94208142bd132bb12941502738b97d7694 Mon Sep 17 00:00:00 2001 From: Will Hickey Date: Mon, 5 Feb 2024 14:52:18 -0600 Subject: [PATCH 153/473] Bump SPL crate versions (#6221) * Update associated-token-account version to 2.3.1 * Update discriminator version to 0.1.1 * Update discriminator-derive version to 0.1.2 * Update discriminator-syn version to 0.1.2 * Update instruction-padding version to 0.1.1 * Update memo version to 4.0.1 * Update pod version to 0.1.1 * Update program-error version to 0.3.1 * Update program-error-derive version to 0.3.2 * Update tlv-account-resolution version to 0.5.2 * Update token version to 4.0.1 * Cargo.lock * Update token-group-interface version to 0.1.1 * Update token-metadata-interface version to 0.2.1 * Update transfer-hook-interface version to 0.5.1 * Update type-length-value version to 0.3.1 * Cargo.lock * Remove extraneous whitespace --- interface/Cargo.toml | 2 +- program/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 75dd71f..2fecb08 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.2.0" +version = "0.2.1" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" diff --git a/program/Cargo.toml b/program/Cargo.toml index ac59ecc..9aa3021 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -14,9 +14,9 @@ test-sbf = [] [dependencies] solana-program = ">=1.17.17,<=2" spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] } -spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } -spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } -spl-pod = { version = "0.1.0", path = "../../libraries/pod" } +spl-token-metadata-interface = { version = "0.2.1", path = "../interface" } +spl-type-length-value = { version = "0.3.1" , path = "../../libraries/type-length-value" } +spl-pod = { version = "0.1.1", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = ">=1.17.17,<=2" From 2fbc0f47a3603db84a6d392823145e5853210840 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 09:56:23 -0500 Subject: [PATCH 154/473] build(deps-dev): bump @typescript-eslint/parser from 6.20.0 to 6.21.0 (#6229) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.20.0 to 6.21.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.21.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 83a9fbe..43d8e46 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.16", "@typescript-eslint/eslint-plugin": "^6.20.0", - "@typescript-eslint/parser": "^6.20.0", + "@typescript-eslint/parser": "^6.21.0", "chai": "^5.0.3", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From edcebb3ab6cdb812c81870bd63d5c7a2aa40ea51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 10:14:57 -0500 Subject: [PATCH 155/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.20.0 to 6.21.0 (#6230) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.20.0 to 6.21.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.21.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 43d8e46..e760e97 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.16", - "@typescript-eslint/eslint-plugin": "^6.20.0", + "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "chai": "^5.0.3", "eslint": "^8.56.0", From 14756b2ef43bbdcbe4e92b94d3fc9406dc3efa64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 19:30:26 -0500 Subject: [PATCH 156/473] build(deps): bump @solana/web3.js from 1.89.1 to 1.90.0 (#6233) * build(deps): bump @solana/web3.js from 1.89.1 to 1.90.0 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.89.1 to 1.90.0. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.89.1...v1.90.0) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Do the update properly --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e760e97..d381713 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,7 +44,7 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.89.1" + "@solana/web3.js": "^1.90.0" }, "dependencies": { "@solana/codecs-core": "2.0.0-experimental.9741939", @@ -55,7 +55,7 @@ "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.89.1", + "@solana/web3.js": "^1.90.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.16", From 52cc07e62d7212652a47b33826fa9390be45ab59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Feb 2024 19:01:52 -0500 Subject: [PATCH 157/473] build(deps-dev): bump mocha from 10.2.0 to 10.3.0 (#6242) Bumps [mocha](https://github.com/mochajs/mocha) from 10.2.0 to 10.3.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.2.0...v10.3.0) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d381713..a233018 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -67,7 +67,7 @@ "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", - "mocha": "^10.1.0", + "mocha": "^10.3.0", "prettier": "^3.2.5", "shx": "^0.3.4", "ts-node": "^10.9.2", From c1ca91f30251417894a7f8ed1a4f321bcb2eb656 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Feb 2024 19:02:08 -0500 Subject: [PATCH 158/473] build(deps-dev): bump @types/node from 20.11.16 to 20.11.17 (#6244) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.16 to 20.11.17. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a233018..a4f2fb9 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.90.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.16", + "@types/node": "^20.11.17", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "chai": "^5.0.3", From 72f1932c9223998f11b2e6c843e2915452f08929 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 17:00:48 -0700 Subject: [PATCH 159/473] build(deps-dev): bump typedoc from 0.25.7 to 0.25.8 (#6250) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.7 to 0.25.8. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.7...v0.25.8) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a4f2fb9..f12e13b 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", - "typedoc": "^0.25.7", + "typedoc": "^0.25.8", "typescript": "^5.3.3" } } From 19659661c574ce87e5fd0403b9599c3f013d9121 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 22:11:39 -0700 Subject: [PATCH 160/473] build(deps-dev): bump chai from 5.0.3 to 5.1.0 (#6252) Bumps [chai](https://github.com/chaijs/chai) from 5.0.3 to 5.1.0. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](https://github.com/chaijs/chai/compare/v5.0.3...v5.1.0) --- updated-dependencies: - dependency-name: chai dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f12e13b..d742448 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -61,7 +61,7 @@ "@types/node": "^20.11.17", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", - "chai": "^5.0.3", + "chai": "^5.1.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", From c42270220089b3d72cdb72a5297f136a3d25258d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 22:11:53 -0700 Subject: [PATCH 161/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.21.0 to 7.0.1 (#6253) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.21.0 to 7.0.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d742448..9783504 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.17", - "@typescript-eslint/eslint-plugin": "^6.21.0", + "@typescript-eslint/eslint-plugin": "^7.0.1", "@typescript-eslint/parser": "^6.21.0", "chai": "^5.1.0", "eslint": "^8.56.0", From c8ee4521228314e52a58249613811513a9c2d31e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 22:28:18 -0700 Subject: [PATCH 162/473] build(deps-dev): bump @typescript-eslint/parser from 6.21.0 to 7.0.1 (#6251) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.21.0 to 7.0.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9783504..d8d67f0 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.17", "@typescript-eslint/eslint-plugin": "^7.0.1", - "@typescript-eslint/parser": "^6.21.0", + "@typescript-eslint/parser": "^7.0.1", "chai": "^5.1.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From c8f8c2f07c7221ca0eb937c89062d4db5f6c1810 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Feb 2024 12:43:58 -0700 Subject: [PATCH 163/473] build(deps-dev): bump @types/node from 20.11.17 to 20.11.18 (#6256) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.17 to 20.11.18. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d8d67f0..3c45db8 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.90.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.17", + "@types/node": "^20.11.18", "@typescript-eslint/eslint-plugin": "^7.0.1", "@typescript-eslint/parser": "^7.0.1", "chai": "^5.1.0", From 71a0a8caff582669924a96befbd1eb7185183fbe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Feb 2024 16:03:44 +0100 Subject: [PATCH 164/473] build(deps-dev): bump @types/node from 20.11.18 to 20.11.19 (#6262) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.18 to 20.11.19. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 3c45db8..a4c5c6f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.90.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.18", + "@types/node": "^20.11.19", "@typescript-eslint/eslint-plugin": "^7.0.1", "@typescript-eslint/parser": "^7.0.1", "chai": "^5.1.0", From 13b762cb7198dc814066b7d8f4d1eda8aa4e6738 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 12:08:58 +0100 Subject: [PATCH 165/473] build(deps): bump serde from 1.0.196 to 1.0.197 (#6270) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.196 to 1.0.197. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 2fecb08..4a7cdb4 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "0.10" -serde = { version = "1.0.196", optional = true } +serde = { version = "1.0.197", optional = true } solana-program = ">=1.17.17,<=2" spl-discriminator = { version = "0.1", path = "../../libraries/discriminator" } spl-program-error = { version = "0.3", path = "../../libraries/program-error" } From c8973ef89bab948bbdc032c86ee4e04f2b66d11c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 12:09:21 +0100 Subject: [PATCH 166/473] build(deps-dev): bump @typescript-eslint/parser from 7.0.1 to 7.0.2 (#6273) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.0.1 to 7.0.2. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.2/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a4c5c6f..1c013a6 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.19", "@typescript-eslint/eslint-plugin": "^7.0.1", - "@typescript-eslint/parser": "^7.0.1", + "@typescript-eslint/parser": "^7.0.2", "chai": "^5.1.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", From cae927bfbcf19d61b5918e721c3e81e68fdae4bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 12:41:57 +0100 Subject: [PATCH 167/473] build(deps): bump serde_json from 1.0.113 to 1.0.114 (#6272) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.113 to 1.0.114. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.113...v1.0.114) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 4a7cdb4..3807af4 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.1", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.113" +serde_json = "1.0.114" [lib] crate-type = ["cdylib", "lib"] From 5476e8f9d919b6ff55120b892f129be30582cffc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 12:42:16 +0100 Subject: [PATCH 168/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.0.1 to 7.0.2 (#6274) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.0.1 to 7.0.2. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.2/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1c013a6..939d6a9 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.19", - "@typescript-eslint/eslint-plugin": "^7.0.1", + "@typescript-eslint/eslint-plugin": "^7.0.2", "@typescript-eslint/parser": "^7.0.2", "chai": "^5.1.0", "eslint": "^8.56.0", From e66580cd9527b017842e0cdad4aa63f68df3fca0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:07:31 +0100 Subject: [PATCH 169/473] build(deps-dev): bump @types/node from 20.11.19 to 20.11.20 (#6286) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.19 to 20.11.20. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 939d6a9..13a72d4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.90.0", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.19", + "@types/node": "^20.11.20", "@typescript-eslint/eslint-plugin": "^7.0.2", "@typescript-eslint/parser": "^7.0.2", "chai": "^5.1.0", From c04b37421a1285b431ee67450d90f9ebcc1b3909 Mon Sep 17 00:00:00 2001 From: Faybian Byrd <48360446+FaybianB@users.noreply.github.com> Date: Fri, 23 Feb 2024 07:52:53 -0500 Subject: [PATCH 170/473] Refactor Function Declaration (#6283) * Refactor Function Declaration * Fix lint error --- clients/js-legacy/src/state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/src/state.ts b/clients/js-legacy/src/state.ts index e949dd5..d26c3b3 100644 --- a/clients/js-legacy/src/state.ts +++ b/clients/js-legacy/src/state.ts @@ -39,7 +39,7 @@ function isNonePubkey(buffer: Uint8Array): boolean { } // Pack TokenMetadata into byte slab -export const pack = (meta: TokenMetadata): Uint8Array => { +export function pack(meta: TokenMetadata): Uint8Array { // If no updateAuthority given, set it to the None/Zero PublicKey for encoding const updateAuthority = meta.updateAuthority ?? PublicKey.default; return tokenMetadataCodec.encode({ @@ -47,7 +47,7 @@ export const pack = (meta: TokenMetadata): Uint8Array => { updateAuthority: updateAuthority.toBuffer(), mint: meta.mint.toBuffer(), }); -}; +} // unpack byte slab into TokenMetadata export function unpack(buffer: Buffer | Uint8Array): TokenMetadata { From c8854077a863202a60420df63eb5cc5f3e0152b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:19:01 +0100 Subject: [PATCH 171/473] build(deps-dev): bump eslint from 8.56.0 to 8.57.0 (#6296) Bumps [eslint](https://github.com/eslint/eslint) from 8.56.0 to 8.57.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 13a72d4..515e9c4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -62,7 +62,7 @@ "@typescript-eslint/eslint-plugin": "^7.0.2", "@typescript-eslint/parser": "^7.0.2", "chai": "^5.1.0", - "eslint": "^8.56.0", + "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-require-extensions": "^0.1.1", From 9e31506972f7738c1dd3d5f5535e56e1999e8512 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:37:27 +0100 Subject: [PATCH 172/473] build(deps-dev): bump @types/chai from 4.3.11 to 4.3.12 (#6297) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.11 to 4.3.12. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 515e9c4..cffd63a 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.90.0", - "@types/chai": "^4.3.11", + "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", "@types/node": "^20.11.20", "@typescript-eslint/eslint-plugin": "^7.0.2", From 7f6516ff63cb5c2472ead98a3cd2e9300969ee80 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:40:33 +0100 Subject: [PATCH 173/473] build(deps-dev): bump typedoc from 0.25.8 to 0.25.9 (#6299) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.8 to 0.25.9. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.8...v0.25.9) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index cffd63a..c804f7e 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", - "typedoc": "^0.25.8", + "typedoc": "^0.25.9", "typescript": "^5.3.3" } } From c0e142c1af51ad4d0ea091834ae8e9626a952aa8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:23:26 +0100 Subject: [PATCH 174/473] build(deps-dev): bump @typescript-eslint/parser from 7.0.2 to 7.1.0 (#6303) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.0.2 to 7.1.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c804f7e..a0d4d1f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.20", "@typescript-eslint/eslint-plugin": "^7.0.2", - "@typescript-eslint/parser": "^7.0.2", + "@typescript-eslint/parser": "^7.1.0", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 6404d06b45bbbb1e663c131123420250582ee286 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:43:47 +0100 Subject: [PATCH 175/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.0.2 to 7.1.0 (#6304) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.0.2 to 7.1.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a0d4d1f..3eb0ba7 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", "@types/node": "^20.11.20", - "@typescript-eslint/eslint-plugin": "^7.0.2", + "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", "chai": "^5.1.0", "eslint": "^8.57.0", From 1e058109474f5e8bb0e3a17cb6d056e0773a8663 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 13:19:19 +0100 Subject: [PATCH 176/473] build(deps-dev): bump @types/node from 20.11.20 to 20.11.21 (#6309) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.20 to 20.11.21. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 3eb0ba7..9d445b7 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.90.0", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.20", + "@types/node": "^20.11.21", "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", "chai": "^5.1.0", From 7b0bde2094f89a420bd95aa65e051159cb3bb50d Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Thu, 29 Feb 2024 10:06:27 +0900 Subject: [PATCH 177/473] Upgrade to Solana 1.18.2 (#6278) * upgrade to solana 1.18.2 * upgrade rust version to 1.76.0 * update borsh to 1.2.1 * replace deprecated `try_to_vec` with `borsh::to_vec` * temporarily allow deprecated functions in cli that uses clap-v3 * use `repr(u32)` for enums in token lending --- interface/Cargo.toml | 4 ++-- interface/src/instruction.rs | 12 ++++++------ interface/src/state.rs | 2 +- program/Cargo.toml | 6 +++--- program/src/processor.rs | 2 +- program/tests/emit.rs | 8 +++----- 6 files changed, 16 insertions(+), 18 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 3807af4..c88f3fa 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -11,9 +11,9 @@ edition = "2021" serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] -borsh = "0.10" +borsh = "1.2.1" serde = { version = "1.0.197", optional = true } -solana-program = ">=1.17.17,<=2" +solana-program = ">=1.18.2,<=2" spl-discriminator = { version = "0.1", path = "../../libraries/discriminator" } spl-program-error = { version = "0.3", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index 6be22fc..bcb606b 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -201,23 +201,23 @@ impl TokenMetadataInstruction { match self { Self::Initialize(data) => { buf.extend_from_slice(Initialize::SPL_DISCRIMINATOR_SLICE); - buf.append(&mut data.try_to_vec().unwrap()); + buf.append(&mut borsh::to_vec(data).unwrap()); } Self::UpdateField(data) => { buf.extend_from_slice(UpdateField::SPL_DISCRIMINATOR_SLICE); - buf.append(&mut data.try_to_vec().unwrap()); + buf.append(&mut borsh::to_vec(data).unwrap()); } Self::RemoveKey(data) => { buf.extend_from_slice(RemoveKey::SPL_DISCRIMINATOR_SLICE); - buf.append(&mut data.try_to_vec().unwrap()); + buf.append(&mut borsh::to_vec(data).unwrap()); } Self::UpdateAuthority(data) => { buf.extend_from_slice(UpdateAuthority::SPL_DISCRIMINATOR_SLICE); - buf.append(&mut data.try_to_vec().unwrap()); + buf.append(&mut borsh::to_vec(data).unwrap()); } Self::Emit(data) => { buf.extend_from_slice(Emit::SPL_DISCRIMINATOR_SLICE); - buf.append(&mut data.try_to_vec().unwrap()); + buf.append(&mut borsh::to_vec(data).unwrap()); } }; buf @@ -333,7 +333,7 @@ mod test { ) { let mut expect = vec![]; expect.extend_from_slice(discriminator.as_ref()); - expect.append(&mut data.try_to_vec().unwrap()); + expect.append(&mut borsh::to_vec(&data).unwrap()); let packed = instruction.pack(); assert_eq!(packed, expect); let unpacked = TokenMetadataInstruction::unpack(&expect).unwrap(); diff --git a/interface/src/state.rs b/interface/src/state.rs index 6f5fe54..1b94dee 100644 --- a/interface/src/state.rs +++ b/interface/src/state.rs @@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize}; use { borsh::{BorshDeserialize, BorshSchema, BorshSerialize}, solana_program::{ - borsh0_10::{get_instance_packed_len, try_from_slice_unchecked}, + borsh1::{get_instance_packed_len, try_from_slice_unchecked}, program_error::ProgramError, pubkey::Pubkey, }, diff --git a/program/Cargo.toml b/program/Cargo.toml index 9aa3021..51cc111 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = ">=1.17.17,<=2" +solana-program = ">=1.18.2,<=2" spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.1", path = "../interface" } spl-type-length-value = { version = "0.3.1" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.1", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = ">=1.17.17,<=2" -solana-sdk = ">=1.17.17,<=2" +solana-program-test = ">=1.18.2,<=2" +solana-sdk = ">=1.18.2,<=2" spl-token-client = { version = "0.8", path = "../../token/client" } test-case = "3.3" diff --git a/program/src/processor.rs b/program/src/processor.rs index 073a633..fe686e5 100644 --- a/program/src/processor.rs +++ b/program/src/processor.rs @@ -3,7 +3,7 @@ use { solana_program::{ account_info::{next_account_info, AccountInfo}, - borsh0_10::get_instance_packed_len, + borsh1::get_instance_packed_len, entrypoint::ProgramResult, msg, program::set_return_data, diff --git a/program/tests/emit.rs b/program/tests/emit.rs index c34412a..bfac603 100644 --- a/program/tests/emit.rs +++ b/program/tests/emit.rs @@ -5,12 +5,10 @@ use { program_test::{setup, setup_metadata, setup_mint}, solana_program_test::tokio, solana_sdk::{ - borsh0_10::try_from_slice_unchecked, program::MAX_RETURN_DATA, pubkey::Pubkey, + borsh1::try_from_slice_unchecked, program::MAX_RETURN_DATA, pubkey::Pubkey, signature::Signer, signer::keypair::Keypair, transaction::Transaction, }, - spl_token_metadata_interface::{ - borsh::BorshSerialize, instruction::emit, state::TokenMetadata, - }, + spl_token_metadata_interface::{borsh, instruction::emit, state::TokenMetadata}, test_case::test_case, }; @@ -79,7 +77,7 @@ async fn success(start: Option, end: Option) { .await .unwrap(); - let metadata_buffer = token_metadata.try_to_vec().unwrap(); + let metadata_buffer = borsh::to_vec(&token_metadata).unwrap(); if let Some(check_buffer) = TokenMetadata::get_slice(&metadata_buffer, start, end) { if !check_buffer.is_empty() { // pad the data if necessary From acb0b04d6c50c331e28c46bd2c630cb8898ca090 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Feb 2024 12:43:40 +0100 Subject: [PATCH 178/473] build(deps-dev): bump @types/node from 20.11.21 to 20.11.22 (#6311) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.21 to 20.11.22. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9d445b7..a94e2c8 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.90.0", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.21", + "@types/node": "^20.11.22", "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", "chai": "^5.1.0", From d3223c520a5b88caae382c1c60a376c414c04c3c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:19:46 +0100 Subject: [PATCH 179/473] build(deps-dev): bump @types/node from 20.11.22 to 20.11.24 (#6315) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.22 to 20.11.24. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a94e2c8..5ddfa41 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.90.0", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.22", + "@types/node": "^20.11.24", "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", "chai": "^5.1.0", From 7a6b112aef84f326dcbbcd9babf7ebdf2cd0b476 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 13:28:07 +0100 Subject: [PATCH 180/473] build(deps-dev): bump typedoc from 0.25.9 to 0.25.10 (#6321) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.9 to 0.25.10. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.9...v0.25.10) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 5ddfa41..a117f31 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", - "typedoc": "^0.25.9", + "typedoc": "^0.25.10", "typescript": "^5.3.3" } } From 3336734fe26910198215d52b29e35057000ced00 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 13:58:47 +0100 Subject: [PATCH 181/473] build(deps): bump @solana/web3.js from 1.90.0 to 1.90.1 (#6322) * build(deps): bump @solana/web3.js from 1.90.0 to 1.90.1 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.90.0 to 1.90.1. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.90.0...v1.90.1) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do the upgrade properly * Also update account-compression --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a117f31..19a023d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,7 +44,7 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.90.0" + "@solana/web3.js": "^1.90.1" }, "dependencies": { "@solana/codecs-core": "2.0.0-experimental.9741939", @@ -55,7 +55,7 @@ "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.90.0", + "@solana/web3.js": "^1.90.1", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", "@types/node": "^20.11.24", From ef3b388ff53e712ebd3afeb21e61d043fc8d2f1c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:26:12 +0100 Subject: [PATCH 182/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.1.0 to 7.1.1 (#6333) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.1.0 to 7.1.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 19a023d..d663dde 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", "@types/node": "^20.11.24", - "@typescript-eslint/eslint-plugin": "^7.1.0", + "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.0", "chai": "^5.1.0", "eslint": "^8.57.0", From 16597c0cb3f8cfadfe3e482f904d20fbd62d9518 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:39:29 +0100 Subject: [PATCH 183/473] build(deps-dev): bump @typescript-eslint/parser from 7.1.0 to 7.1.1 (#6334) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.1.0 to 7.1.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d663dde..8087374 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.24", "@typescript-eslint/eslint-plugin": "^7.1.1", - "@typescript-eslint/parser": "^7.1.0", + "@typescript-eslint/parser": "^7.1.1", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From bc917c5eb12af4d6c02e33abf53112e57b7e3312 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Mar 2024 13:01:11 +0100 Subject: [PATCH 184/473] build(deps-dev): bump typedoc from 0.25.10 to 0.25.11 (#6342) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.10 to 0.25.11. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.10...v0.25.11) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 8087374..f246fff 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", - "typedoc": "^0.25.10", + "typedoc": "^0.25.11", "typescript": "^5.3.3" } } From e8aa1746d8f87a6b2d14a443cf277c8214c5c5fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 12:53:29 +0100 Subject: [PATCH 185/473] build(deps-dev): bump typescript from 5.3.3 to 5.4.2 (#6351) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.4.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f246fff..a1c69f0 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -73,6 +73,6 @@ "ts-node": "^10.9.2", "tslib": "^2.3.1", "typedoc": "^0.25.11", - "typescript": "^5.3.3" + "typescript": "^5.4.2" } } From 6c5dcc941a820c05c75943594fae88c4776bc869 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 13:12:52 +0100 Subject: [PATCH 186/473] build(deps-dev): bump @types/node from 20.11.24 to 20.11.25 (#6356) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.24 to 20.11.25. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a1c69f0..e0b51c1 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -58,7 +58,7 @@ "@solana/web3.js": "^1.90.1", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.24", + "@types/node": "^20.11.25", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", "chai": "^5.1.0", From 6ee482ae918e2c6f1ffd7235bf13afc3a8f86304 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:17:02 +0100 Subject: [PATCH 187/473] build(deps): bump @solana/codecs-core from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb (#6361) build(deps): bump @solana/codecs-core Bumps [@solana/codecs-core](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e0b51c1..6590008 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -47,7 +47,7 @@ "@solana/web3.js": "^1.90.1" }, "dependencies": { - "@solana/codecs-core": "2.0.0-experimental.9741939", + "@solana/codecs-core": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/codecs-data-structures": "2.0.0-experimental.9741939", "@solana/codecs-numbers": "2.0.0-experimental.9741939", "@solana/codecs-strings": "2.0.0-experimental.9741939", From c0cc0e96d42ab98c4ff47827c5060ee3eca948ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:17:13 +0100 Subject: [PATCH 188/473] build(deps): bump @solana/codecs-numbers from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb (#6363) build(deps): bump @solana/codecs-numbers Bumps [@solana/codecs-numbers](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-numbers" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6590008..bf7c890 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -49,7 +49,7 @@ "dependencies": { "@solana/codecs-core": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/codecs-data-structures": "2.0.0-experimental.9741939", - "@solana/codecs-numbers": "2.0.0-experimental.9741939", + "@solana/codecs-numbers": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/codecs-strings": "2.0.0-experimental.9741939", "@solana/options": "2.0.0-experimental.9741939", "@solana/spl-type-length-value": "0.1.0" From f7c01feda161b52c2c860a2e7eb29baabbb715cd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:17:23 +0100 Subject: [PATCH 189/473] build(deps): bump @solana/options from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb (#6364) build(deps): bump @solana/options Bumps [@solana/options](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/options" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index bf7c890..124c2ea 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -51,7 +51,7 @@ "@solana/codecs-data-structures": "2.0.0-experimental.9741939", "@solana/codecs-numbers": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/codecs-strings": "2.0.0-experimental.9741939", - "@solana/options": "2.0.0-experimental.9741939", + "@solana/options": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { From 75d8f04de314c7fba44ce14c5ffecc035aef1825 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:31:13 +0100 Subject: [PATCH 190/473] build(deps): bump @solana/codecs-strings from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb (#6359) build(deps): bump @solana/codecs-strings Bumps [@solana/codecs-strings](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-strings" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 124c2ea..01784d6 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -50,7 +50,7 @@ "@solana/codecs-core": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/codecs-data-structures": "2.0.0-experimental.9741939", "@solana/codecs-numbers": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", - "@solana/codecs-strings": "2.0.0-experimental.9741939", + "@solana/codecs-strings": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/options": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/spl-type-length-value": "0.1.0" }, From 3dd62f17577cc0b2ae68e9940404265eb9f863ee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:39:14 +0100 Subject: [PATCH 191/473] build(deps): bump @solana/web3.js from 1.90.1 to 1.91.0 (#6360) * build(deps): bump @solana/web3.js from 1.90.1 to 1.91.0 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.90.1 to 1.91.0. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.90.1...v1.91.0) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Fixup packages --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 01784d6..28e7ba6 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,7 +44,7 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.90.1" + "@solana/web3.js": "^1.91.0" }, "dependencies": { "@solana/codecs-core": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", @@ -55,7 +55,7 @@ "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.90.1", + "@solana/web3.js": "^1.91.0", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", "@types/node": "^20.11.25", From e81ce4893ef4b51d83e9921131653b994a37557d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:57:06 +0100 Subject: [PATCH 192/473] build(deps-dev): bump typedoc from 0.25.11 to 0.25.12 (#6384) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.11 to 0.25.12. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.11...v0.25.12) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 28e7ba6..09bba84 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", - "typedoc": "^0.25.11", + "typedoc": "^0.25.12", "typescript": "^5.4.2" } } From a5e41e85beeabb31f011e7f0cee538f1f7239d07 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:40:29 +0100 Subject: [PATCH 193/473] build(deps): bump @solana/codecs-data-structures from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb (#6358) * build(deps): bump @solana/codecs-data-structures Bumps [@solana/codecs-data-structures](https://github.com/solana-labs/solana-web3.js) from 2.0.0-experimental.9741939 to 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs-data-structures" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Fix tests * Properly upgrade to new lib --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 2 +- clients/js-legacy/src/field.ts | 15 ++++++------ clients/js-legacy/src/instruction.ts | 27 +++++++++------------- clients/js-legacy/test/instruction.test.ts | 27 +++++++++++----------- 4 files changed, 33 insertions(+), 38 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 09bba84..722116c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@solana/codecs-core": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", - "@solana/codecs-data-structures": "2.0.0-experimental.9741939", + "@solana/codecs-data-structures": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/codecs-numbers": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/codecs-strings": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", "@solana/options": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", diff --git a/clients/js-legacy/src/field.ts b/clients/js-legacy/src/field.ts index 7458177..e6c4aff 100644 --- a/clients/js-legacy/src/field.ts +++ b/clients/js-legacy/src/field.ts @@ -1,4 +1,4 @@ -import type { DataEnumToCodecTuple } from '@solana/codecs-data-structures'; +import type { Codec } from '@solana/codecs-core'; import { getStructCodec, getTupleCodec, getUnitCodec } from '@solana/codecs-data-structures'; import { getStringCodec } from '@solana/codecs-strings'; @@ -10,12 +10,13 @@ export enum Field { type FieldLayout = { __kind: 'Name' } | { __kind: 'Symbol' } | { __kind: 'Uri' } | { __kind: 'Key'; value: [string] }; -export const getFieldCodec = (): DataEnumToCodecTuple => [ - ['Name', getUnitCodec()], - ['Symbol', getUnitCodec()], - ['Uri', getUnitCodec()], - ['Key', getStructCodec<{ value: [string] }>([['value', getTupleCodec([getStringCodec()])]])], -]; +export const getFieldCodec = () => + [ + ['Name', getUnitCodec()], + ['Symbol', getUnitCodec()], + ['Uri', getUnitCodec()], + ['Key', getStructCodec([['value', getTupleCodec([getStringCodec()])]])], + ] as const; export function getFieldConfig(field: Field | string): FieldLayout { if (field === Field.Name || field === 'Name' || field === 'name') { diff --git a/clients/js-legacy/src/instruction.ts b/clients/js-legacy/src/instruction.ts index 8375ff2..15ab034 100644 --- a/clients/js-legacy/src/instruction.ts +++ b/clients/js-legacy/src/instruction.ts @@ -1,4 +1,4 @@ -import type { StructToEncoderTuple } from '@solana/codecs-data-structures'; +import type { Encoder } from '@solana/codecs-core'; import { getBooleanEncoder, getBytesEncoder, getDataEnumCodec, getStructEncoder } from '@solana/codecs-data-structures'; import { getU64Encoder } from '@solana/codecs-numbers'; import { getStringEncoder } from '@solana/codecs-strings'; @@ -10,12 +10,7 @@ import { TransactionInstruction } from '@solana/web3.js'; import type { Field } from './field.js'; import { getFieldCodec, getFieldConfig } from './field.js'; -function packInstruction( - layout: StructToEncoderTuple, - discriminator: Uint8Array, - values: T -): Buffer { - const encoder = getStructEncoder(layout); +function packInstruction(encoder: Encoder, discriminator: Uint8Array, values: T): Buffer { const data = encoder.encode(values); return Buffer.concat([discriminator, data]); } @@ -49,11 +44,11 @@ export function createInitializeInstruction(args: InitializeInstructionArgs): Tr { isSigner: true, isWritable: false, pubkey: mintAuthority }, ], data: packInstruction( - [ + getStructEncoder([ ['name', getStringEncoder()], ['symbol', getStringEncoder()], ['uri', getStringEncoder()], - ], + ]), splDiscriminate('spl_token_metadata_interface:initialize_account'), { name, symbol, uri } ), @@ -81,10 +76,10 @@ export function createUpdateFieldInstruction(args: UpdateFieldInstruction): Tran { isSigner: true, isWritable: false, pubkey: updateAuthority }, ], data: packInstruction( - [ + getStructEncoder([ ['field', getDataEnumCodec(getFieldCodec())], ['value', getStringEncoder()], - ], + ]), splDiscriminate('spl_token_metadata_interface:updating_field'), { field: getFieldConfig(field), value } ), @@ -108,10 +103,10 @@ export function createRemoveKeyInstruction(args: RemoveKeyInstructionArgs) { { isSigner: true, isWritable: false, pubkey: updateAuthority }, ], data: packInstruction( - [ + getStructEncoder([ ['idempotent', getBooleanEncoder()], ['key', getStringEncoder()], - ], + ]), splDiscriminate('spl_token_metadata_interface:remove_key_ix'), { idempotent, key } ), @@ -142,7 +137,7 @@ export function createUpdateAuthorityInstruction(args: UpdateAuthorityInstructio { isSigner: true, isWritable: false, pubkey: oldAuthority }, ], data: packInstruction( - [['newAuthority', getBytesEncoder({ size: 32 })]], + getStructEncoder([['newAuthority', getBytesEncoder({ size: 32 })]]), splDiscriminate('spl_token_metadata_interface:update_the_authority'), { newAuthority: newAuthorityBuffer } ), @@ -162,10 +157,10 @@ export function createEmitInstruction(args: EmitInstructionArgs): TransactionIns programId, keys: [{ isSigner: false, isWritable: false, pubkey: metadata }], data: packInstruction( - [ + getStructEncoder([ ['start', getOptionEncoder(getU64Encoder())], ['end', getOptionEncoder(getU64Encoder())], - ], + ]), splDiscriminate('spl_token_metadata_interface:emitter'), { start: start ?? null, end: end ?? null } ), diff --git a/clients/js-legacy/test/instruction.test.ts b/clients/js-legacy/test/instruction.test.ts index 996e206..1b0c8c4 100644 --- a/clients/js-legacy/test/instruction.test.ts +++ b/clients/js-legacy/test/instruction.test.ts @@ -9,11 +9,11 @@ import { getFieldCodec, getFieldConfig, } from '../src'; -import type { StructToDecoderTuple } from '@solana/codecs-data-structures'; import { getBooleanDecoder, getBytesDecoder, getDataEnumCodec, getStructDecoder } from '@solana/codecs-data-structures'; import { getStringDecoder } from '@solana/codecs-strings'; import { splDiscriminate } from '@solana/spl-type-length-value'; import { getU64Decoder } from '@solana/codecs-numbers'; +import type { Decoder } from '@solana/codecs-core'; import type { Option } from '@solana/options'; import { getOptionDecoder, some } from '@solana/options'; import { PublicKey, type TransactionInstruction } from '@solana/web3.js'; @@ -21,11 +21,10 @@ import { PublicKey, type TransactionInstruction } from '@solana/web3.js'; function checkPackUnpack( instruction: TransactionInstruction, discriminator: Uint8Array, - layout: StructToDecoderTuple, + decoder: Decoder, values: T ) { expect(instruction.data.subarray(0, 8)).to.deep.equal(discriminator); - const decoder = getStructDecoder(layout); const unpacked = decoder.decode(instruction.data.subarray(8)); expect(unpacked).to.deep.equal(values); } @@ -53,11 +52,11 @@ describe('Token Metadata Instructions', () => { uri, }), splDiscriminate('spl_token_metadata_interface:initialize_account'), - [ + getStructDecoder([ ['name', getStringDecoder()], ['symbol', getStringDecoder()], ['uri', getStringDecoder()], - ], + ]), { name, symbol, uri } ); }); @@ -74,10 +73,10 @@ describe('Token Metadata Instructions', () => { value, }), splDiscriminate('spl_token_metadata_interface:updating_field'), - [ + getStructDecoder([ ['key', getDataEnumCodec(getFieldCodec())], ['value', getStringDecoder()], - ], + ]), { key: getFieldConfig(field), value } ); }); @@ -94,10 +93,10 @@ describe('Token Metadata Instructions', () => { value, }), splDiscriminate('spl_token_metadata_interface:updating_field'), - [ + getStructDecoder([ ['key', getDataEnumCodec(getFieldCodec())], ['value', getStringDecoder()], - ], + ]), { key: getFieldConfig(field), value } ); }); @@ -112,10 +111,10 @@ describe('Token Metadata Instructions', () => { idempotent: true, }), splDiscriminate('spl_token_metadata_interface:remove_key_ix'), - [ + getStructDecoder([ ['idempotent', getBooleanDecoder()], ['key', getStringDecoder()], - ], + ]), { idempotent: true, key: 'MyTestField' } ); }); @@ -130,7 +129,7 @@ describe('Token Metadata Instructions', () => { newAuthority, }), splDiscriminate('spl_token_metadata_interface:update_the_authority'), - [['newAuthority', getBytesDecoder({ size: 32 })]], + getStructDecoder([['newAuthority', getBytesDecoder({ size: 32 })]]), { newAuthority: Uint8Array.from(newAuthority.toBuffer()) } ); }); @@ -146,10 +145,10 @@ describe('Token Metadata Instructions', () => { end: 10n, }), splDiscriminate('spl_token_metadata_interface:emitter'), - [ + getStructDecoder([ ['start', getOptionDecoder(getU64Decoder())], ['end', getOptionDecoder(getU64Decoder())], - ], + ]), { start, end } ); }); From b71bdb57b9cb147b6c23783fac087f74222d2fa3 Mon Sep 17 00:00:00 2001 From: Jon C Date: Mon, 11 Mar 2024 18:43:36 +0100 Subject: [PATCH 194/473] js: Update token-group / token-metadata to use more idiomatic encoders (#6388) * js: Switch to using web3.js `2.0.0-preview.1`, combined codec * Use more idiomatic `getInstructionEncoder` * Use a typed public key encoder --- clients/js-legacy/package.json | 7 +- clients/js-legacy/src/field.ts | 5 +- clients/js-legacy/src/instruction.ts | 107 ++++++++++++--------- clients/js-legacy/src/state.ts | 3 +- clients/js-legacy/test/instruction.test.ts | 13 ++- 5 files changed, 73 insertions(+), 62 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 722116c..a1a391f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -47,11 +47,8 @@ "@solana/web3.js": "^1.91.0" }, "dependencies": { - "@solana/codecs-core": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", - "@solana/codecs-data-structures": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", - "@solana/codecs-numbers": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", - "@solana/codecs-strings": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", - "@solana/options": "2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb", + "@solana/codecs": "2.0.0-preview.1", + "@solana/options": "2.0.0-preview.1", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { diff --git a/clients/js-legacy/src/field.ts b/clients/js-legacy/src/field.ts index e6c4aff..3e9c7aa 100644 --- a/clients/js-legacy/src/field.ts +++ b/clients/js-legacy/src/field.ts @@ -1,6 +1,5 @@ -import type { Codec } from '@solana/codecs-core'; -import { getStructCodec, getTupleCodec, getUnitCodec } from '@solana/codecs-data-structures'; -import { getStringCodec } from '@solana/codecs-strings'; +import type { Codec } from '@solana/codecs'; +import { getStringCodec, getStructCodec, getTupleCodec, getUnitCodec } from '@solana/codecs'; export enum Field { Name, diff --git a/clients/js-legacy/src/instruction.ts b/clients/js-legacy/src/instruction.ts index 15ab034..fcb4298 100644 --- a/clients/js-legacy/src/instruction.ts +++ b/clients/js-legacy/src/instruction.ts @@ -1,18 +1,31 @@ -import type { Encoder } from '@solana/codecs-core'; -import { getBooleanEncoder, getBytesEncoder, getDataEnumCodec, getStructEncoder } from '@solana/codecs-data-structures'; -import { getU64Encoder } from '@solana/codecs-numbers'; -import { getStringEncoder } from '@solana/codecs-strings'; +import type { Encoder } from '@solana/codecs'; +import { + getBooleanEncoder, + getBytesEncoder, + getDataEnumCodec, + getStringEncoder, + getStructEncoder, + getTupleEncoder, + getU64Encoder, + mapEncoder, +} from '@solana/codecs'; import { getOptionEncoder } from '@solana/options'; import { splDiscriminate } from '@solana/spl-type-length-value'; import type { PublicKey } from '@solana/web3.js'; -import { TransactionInstruction } from '@solana/web3.js'; +import { SystemProgram, TransactionInstruction } from '@solana/web3.js'; import type { Field } from './field.js'; import { getFieldCodec, getFieldConfig } from './field.js'; -function packInstruction(encoder: Encoder, discriminator: Uint8Array, values: T): Buffer { - const data = encoder.encode(values); - return Buffer.concat([discriminator, data]); +function getInstructionEncoder(discriminator: Uint8Array, dataEncoder: Encoder): Encoder { + return mapEncoder(getTupleEncoder([getBytesEncoder(), dataEncoder]), (data: T): [Uint8Array, T] => [ + discriminator, + data, + ]); +} + +function getPublicKeyEncoder(): Encoder { + return mapEncoder(getBytesEncoder({ size: 32 }), (publicKey: PublicKey) => publicKey.toBytes()); } /** @@ -43,14 +56,15 @@ export function createInitializeInstruction(args: InitializeInstructionArgs): Tr { isSigner: false, isWritable: false, pubkey: mint }, { isSigner: true, isWritable: false, pubkey: mintAuthority }, ], - data: packInstruction( - getStructEncoder([ - ['name', getStringEncoder()], - ['symbol', getStringEncoder()], - ['uri', getStringEncoder()], - ]), - splDiscriminate('spl_token_metadata_interface:initialize_account'), - { name, symbol, uri } + data: Buffer.from( + getInstructionEncoder( + splDiscriminate('spl_token_metadata_interface:initialize_account'), + getStructEncoder([ + ['name', getStringEncoder()], + ['symbol', getStringEncoder()], + ['uri', getStringEncoder()], + ]) + ).encode({ name, symbol, uri }) ), }); } @@ -75,13 +89,14 @@ export function createUpdateFieldInstruction(args: UpdateFieldInstruction): Tran { isSigner: false, isWritable: true, pubkey: metadata }, { isSigner: true, isWritable: false, pubkey: updateAuthority }, ], - data: packInstruction( - getStructEncoder([ - ['field', getDataEnumCodec(getFieldCodec())], - ['value', getStringEncoder()], - ]), - splDiscriminate('spl_token_metadata_interface:updating_field'), - { field: getFieldConfig(field), value } + data: Buffer.from( + getInstructionEncoder( + splDiscriminate('spl_token_metadata_interface:updating_field'), + getStructEncoder([ + ['field', getDataEnumCodec(getFieldCodec())], + ['value', getStringEncoder()], + ]) + ).encode({ field: getFieldConfig(field), value }) ), }); } @@ -102,13 +117,14 @@ export function createRemoveKeyInstruction(args: RemoveKeyInstructionArgs) { { isSigner: false, isWritable: true, pubkey: metadata }, { isSigner: true, isWritable: false, pubkey: updateAuthority }, ], - data: packInstruction( - getStructEncoder([ - ['idempotent', getBooleanEncoder()], - ['key', getStringEncoder()], - ]), - splDiscriminate('spl_token_metadata_interface:remove_key_ix'), - { idempotent, key } + data: Buffer.from( + getInstructionEncoder( + splDiscriminate('spl_token_metadata_interface:remove_key_ix'), + getStructEncoder([ + ['idempotent', getBooleanEncoder()], + ['key', getStringEncoder()], + ]) + ).encode({ idempotent, key }) ), }); } @@ -123,23 +139,17 @@ export interface UpdateAuthorityInstructionArgs { export function createUpdateAuthorityInstruction(args: UpdateAuthorityInstructionArgs): TransactionInstruction { const { programId, metadata, oldAuthority, newAuthority } = args; - const newAuthorityBuffer = Buffer.alloc(32); - if (newAuthority) { - newAuthorityBuffer.set(newAuthority.toBuffer()); - } else { - newAuthorityBuffer.fill(0); - } - return new TransactionInstruction({ programId, keys: [ { isSigner: false, isWritable: true, pubkey: metadata }, { isSigner: true, isWritable: false, pubkey: oldAuthority }, ], - data: packInstruction( - getStructEncoder([['newAuthority', getBytesEncoder({ size: 32 })]]), - splDiscriminate('spl_token_metadata_interface:update_the_authority'), - { newAuthority: newAuthorityBuffer } + data: Buffer.from( + getInstructionEncoder( + splDiscriminate('spl_token_metadata_interface:update_the_authority'), + getStructEncoder([['newAuthority', getPublicKeyEncoder()]]) + ).encode({ newAuthority: newAuthority ?? SystemProgram.programId }) ), }); } @@ -156,13 +166,14 @@ export function createEmitInstruction(args: EmitInstructionArgs): TransactionIns return new TransactionInstruction({ programId, keys: [{ isSigner: false, isWritable: false, pubkey: metadata }], - data: packInstruction( - getStructEncoder([ - ['start', getOptionEncoder(getU64Encoder())], - ['end', getOptionEncoder(getU64Encoder())], - ]), - splDiscriminate('spl_token_metadata_interface:emitter'), - { start: start ?? null, end: end ?? null } + data: Buffer.from( + getInstructionEncoder( + splDiscriminate('spl_token_metadata_interface:emitter'), + getStructEncoder([ + ['start', getOptionEncoder(getU64Encoder())], + ['end', getOptionEncoder(getU64Encoder())], + ]) + ).encode({ start: start ?? null, end: end ?? null }) ), }); } diff --git a/clients/js-legacy/src/state.ts b/clients/js-legacy/src/state.ts index d26c3b3..5583a6b 100644 --- a/clients/js-legacy/src/state.ts +++ b/clients/js-legacy/src/state.ts @@ -1,6 +1,5 @@ import { PublicKey } from '@solana/web3.js'; -import { getArrayCodec, getBytesCodec, getStructCodec, getTupleCodec } from '@solana/codecs-data-structures'; -import { getStringCodec } from '@solana/codecs-strings'; +import { getArrayCodec, getBytesCodec, getStringCodec, getStructCodec, getTupleCodec } from '@solana/codecs'; export const TOKEN_METADATA_DISCRIMINATOR = Buffer.from([112, 132, 90, 90, 11, 88, 157, 87]); diff --git a/clients/js-legacy/test/instruction.test.ts b/clients/js-legacy/test/instruction.test.ts index 1b0c8c4..b9826c0 100644 --- a/clients/js-legacy/test/instruction.test.ts +++ b/clients/js-legacy/test/instruction.test.ts @@ -9,11 +9,16 @@ import { getFieldCodec, getFieldConfig, } from '../src'; -import { getBooleanDecoder, getBytesDecoder, getDataEnumCodec, getStructDecoder } from '@solana/codecs-data-structures'; -import { getStringDecoder } from '@solana/codecs-strings'; +import { + getBooleanDecoder, + getBytesDecoder, + getDataEnumCodec, + getStringDecoder, + getU64Decoder, + getStructDecoder, +} from '@solana/codecs'; import { splDiscriminate } from '@solana/spl-type-length-value'; -import { getU64Decoder } from '@solana/codecs-numbers'; -import type { Decoder } from '@solana/codecs-core'; +import type { Decoder } from '@solana/codecs'; import type { Option } from '@solana/options'; import { getOptionDecoder, some } from '@solana/options'; import { PublicKey, type TransactionInstruction } from '@solana/web3.js'; From 21e2b191598767c4890de48574cf341b838be13e Mon Sep 17 00:00:00 2001 From: Jon C Date: Mon, 11 Mar 2024 23:34:39 +0100 Subject: [PATCH 195/473] js: Remove direct usage of `@solana/options` (#6389) --- clients/js-legacy/package.json | 1 - clients/js-legacy/src/instruction.ts | 2 +- clients/js-legacy/test/instruction.test.ts | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a1a391f..4ee969d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -48,7 +48,6 @@ }, "dependencies": { "@solana/codecs": "2.0.0-preview.1", - "@solana/options": "2.0.0-preview.1", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { diff --git a/clients/js-legacy/src/instruction.ts b/clients/js-legacy/src/instruction.ts index fcb4298..10493bf 100644 --- a/clients/js-legacy/src/instruction.ts +++ b/clients/js-legacy/src/instruction.ts @@ -3,13 +3,13 @@ import { getBooleanEncoder, getBytesEncoder, getDataEnumCodec, + getOptionEncoder, getStringEncoder, getStructEncoder, getTupleEncoder, getU64Encoder, mapEncoder, } from '@solana/codecs'; -import { getOptionEncoder } from '@solana/options'; import { splDiscriminate } from '@solana/spl-type-length-value'; import type { PublicKey } from '@solana/web3.js'; import { SystemProgram, TransactionInstruction } from '@solana/web3.js'; diff --git a/clients/js-legacy/test/instruction.test.ts b/clients/js-legacy/test/instruction.test.ts index b9826c0..442bbe4 100644 --- a/clients/js-legacy/test/instruction.test.ts +++ b/clients/js-legacy/test/instruction.test.ts @@ -13,14 +13,14 @@ import { getBooleanDecoder, getBytesDecoder, getDataEnumCodec, + getOptionDecoder, getStringDecoder, getU64Decoder, getStructDecoder, + some, } from '@solana/codecs'; import { splDiscriminate } from '@solana/spl-type-length-value'; -import type { Decoder } from '@solana/codecs'; -import type { Option } from '@solana/options'; -import { getOptionDecoder, some } from '@solana/options'; +import type { Decoder, Option } from '@solana/codecs'; import { PublicKey, type TransactionInstruction } from '@solana/web3.js'; function checkPackUnpack( From c15f77df08b8205faa99aabc2ccf7166fd3118a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:29:33 +0100 Subject: [PATCH 196/473] build(deps-dev): bump @typescript-eslint/parser from 7.1.1 to 7.2.0 (#6397) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.1.1 to 7.2.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.2.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4ee969d..6cb7b90 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.25", "@typescript-eslint/eslint-plugin": "^7.1.1", - "@typescript-eslint/parser": "^7.1.1", + "@typescript-eslint/parser": "^7.2.0", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 97860af9c4eee6b6443de78159568cf86d2cf220 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:29:43 +0100 Subject: [PATCH 197/473] build(deps-dev): bump @types/node from 20.11.25 to 20.11.26 (#6399) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.25 to 20.11.26. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6cb7b90..8d7b55a 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.0", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.25", + "@types/node": "^20.11.26", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.2.0", "chai": "^5.1.0", From 23954c2774a934d65cd927a6834d9427283880be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 13:08:26 +0100 Subject: [PATCH 198/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.1.1 to 7.2.0 (#6403) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.1.1 to 7.2.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.2.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 8d7b55a..27c0d52 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", "@types/node": "^20.11.26", - "@typescript-eslint/eslint-plugin": "^7.1.1", + "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "chai": "^5.1.0", "eslint": "^8.57.0", From c443b7fa02b10825611338b97ba60cadb96cd518 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 11:59:28 +0100 Subject: [PATCH 199/473] build(deps-dev): bump @types/node from 20.11.26 to 20.11.27 (#6436) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.26 to 20.11.27. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 27c0d52..b879472 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.0", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.26", + "@types/node": "^20.11.27", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "chai": "^5.1.0", From 09bab2ceacdfccceb51650b483ac0d095977d02e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:12:35 +0100 Subject: [PATCH 200/473] build(deps): bump @solana/web3.js from 1.91.0 to 1.91.1 (#6435) * build(deps): bump @solana/web3.js from 1.91.0 to 1.91.1 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.91.0 to 1.91.1. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.91.0...v1.91.1) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do the upgrade correctly --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b879472..202786a 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.91.0" + "@solana/web3.js": "^1.91.1" }, "dependencies": { "@solana/codecs": "2.0.0-preview.1", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.91.0", + "@solana/web3.js": "^1.91.1", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", "@types/node": "^20.11.27", From da121206895be2383483a13800640e1de443f13b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 01:25:25 +0100 Subject: [PATCH 201/473] build(deps-dev): bump @types/node from 20.11.27 to 20.11.28 (#6438) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.27 to 20.11.28. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 202786a..a527cbf 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.1", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.27", + "@types/node": "^20.11.28", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "chai": "^5.1.0", From e7f4f33da16d7933bdb9f91fe373eb72c3141208 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:50:16 +0100 Subject: [PATCH 202/473] build(deps-dev): bump @types/chai from 4.3.12 to 4.3.13 (#6454) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.12 to 4.3.13. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a527cbf..4699039 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -52,7 +52,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.91.1", - "@types/chai": "^4.3.12", + "@types/chai": "^4.3.13", "@types/mocha": "^10.0.6", "@types/node": "^20.11.28", "@typescript-eslint/eslint-plugin": "^7.2.0", From e8a1fa028141b2b0ea051337a547d85bcc3d74e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:50:27 +0100 Subject: [PATCH 203/473] build(deps-dev): bump @typescript-eslint/parser from 7.2.0 to 7.3.1 (#6455) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.2.0 to 7.3.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.3.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4699039..7c1ae62 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.28", "@typescript-eslint/eslint-plugin": "^7.2.0", - "@typescript-eslint/parser": "^7.2.0", + "@typescript-eslint/parser": "^7.3.1", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 1c8d0e53ccebb6622ff1ade6c3485ea0bb1425d8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:50:37 +0100 Subject: [PATCH 204/473] build(deps-dev): bump @types/node from 20.11.28 to 20.11.29 (#6457) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.28 to 20.11.29. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 7c1ae62..0705911 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.1", "@types/chai": "^4.3.13", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.28", + "@types/node": "^20.11.29", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.3.1", "chai": "^5.1.0", From 2756c929afd035d6c554b6253c9b2b7862b14f12 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 13:06:36 +0100 Subject: [PATCH 205/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.2.0 to 7.3.1 (#6456) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.2.0 to 7.3.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.3.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0705911..80df5b8 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.13", "@types/mocha": "^10.0.6", "@types/node": "^20.11.29", - "@typescript-eslint/eslint-plugin": "^7.2.0", + "@typescript-eslint/eslint-plugin": "^7.3.1", "@typescript-eslint/parser": "^7.3.1", "chai": "^5.1.0", "eslint": "^8.57.0", From 64aae6089b53ceb1269b313ea7afd88dc4b850dc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:21:39 +0100 Subject: [PATCH 206/473] build(deps): bump @solana/codecs from 2.0.0-preview.1 to 2.0.0-preview.2 (#6461) Bumps [@solana/codecs](https://github.com/solana-labs/solana-web3.js) from 2.0.0-preview.1 to 2.0.0-preview.2. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 80df5b8..b0fc6f9 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -47,7 +47,7 @@ "@solana/web3.js": "^1.91.1" }, "dependencies": { - "@solana/codecs": "2.0.0-preview.1", + "@solana/codecs": "2.0.0-preview.2", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { From d2b88098bffb3cce45678721529f8b4abe4307c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:21:49 +0100 Subject: [PATCH 207/473] build(deps-dev): bump @types/node from 20.11.29 to 20.11.30 (#6462) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.29 to 20.11.30. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b0fc6f9..9861812 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.1", "@types/chai": "^4.3.13", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.29", + "@types/node": "^20.11.30", "@typescript-eslint/eslint-plugin": "^7.3.1", "@typescript-eslint/parser": "^7.3.1", "chai": "^5.1.0", From 728b52f77f77d638f099c11c293949749bed877a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 11:58:42 +0100 Subject: [PATCH 208/473] build(deps-dev): bump @types/chai from 4.3.13 to 4.3.14 (#6470) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.13 to 4.3.14. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9861812..55d3f34 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -52,7 +52,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.91.1", - "@types/chai": "^4.3.13", + "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.11.30", "@typescript-eslint/eslint-plugin": "^7.3.1", From 1ce7082e6fad173b1383ef584ffbac8a5e38ce22 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 12:27:17 +0100 Subject: [PATCH 209/473] build(deps-dev): bump typescript from 5.4.2 to 5.4.3 (#6471) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.2 to 5.4.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 55d3f34..9d06b26 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -69,6 +69,6 @@ "ts-node": "^10.9.2", "tslib": "^2.3.1", "typedoc": "^0.25.12", - "typescript": "^5.4.2" + "typescript": "^5.4.3" } } From 10bb1cc5003afa6130c2c24919a3c76e1a8b2e37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:52:54 +0100 Subject: [PATCH 210/473] build(deps): bump serde_json from 1.0.114 to 1.0.115 (#6495) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.114 to 1.0.115. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.114...v1.0.115) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index c88f3fa..fa7e3c6 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.1", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.114" +serde_json = "1.0.115" [lib] crate-type = ["cdylib", "lib"] From 1f189ef860c09dfe22b394697f63ab1279034c69 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:10:13 +0100 Subject: [PATCH 211/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.3.1 to 7.4.0 (#6496) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.3.1 to 7.4.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.4.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9d06b26..fc5cd9b 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.11.30", - "@typescript-eslint/eslint-plugin": "^7.3.1", + "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^7.3.1", "chai": "^5.1.0", "eslint": "^8.57.0", From 897fbdedaaf050abdd91a1b5f4ec62419c3a9079 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:27:57 +0100 Subject: [PATCH 212/473] build(deps-dev): bump @typescript-eslint/parser from 7.3.1 to 7.4.0 (#6497) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.3.1 to 7.4.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.4.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index fc5cd9b..e57a168 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.11.30", "@typescript-eslint/eslint-plugin": "^7.4.0", - "@typescript-eslint/parser": "^7.3.1", + "@typescript-eslint/parser": "^7.4.0", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From c5189a2db82fb87f2027519d7c9d25702604a58f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 12:04:20 +0100 Subject: [PATCH 213/473] build(deps-dev): bump mocha from 10.3.0 to 10.4.0 (#6502) Bumps [mocha](https://github.com/mochajs/mocha) from 10.3.0 to 10.4.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.3.0...v10.4.0) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e57a168..e40fe53 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -63,7 +63,7 @@ "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", - "mocha": "^10.3.0", + "mocha": "^10.4.0", "prettier": "^3.2.5", "shx": "^0.3.4", "ts-node": "^10.9.2", From b0a912a5a27b28e4dca171c59df3e2e12521e4dc Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 28 Mar 2024 01:04:40 +0100 Subject: [PATCH 214/473] bump: Bump everything up for new token cli (#6507) --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 51cc111..76ccbb2 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = ">=1.18.2,<=2" -spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "3.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.1", path = "../interface" } spl-type-length-value = { version = "0.3.1" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.1", path = "../../libraries/pod" } From 3ffe827c2740754aec2c8a99e34fe44e758dd993 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 28 Mar 2024 12:34:33 +0100 Subject: [PATCH 215/473] pod: Bump to 0.2.0 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index fa7e3c6..fb51de9 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -17,7 +17,7 @@ solana-program = ">=1.18.2,<=2" spl-discriminator = { version = "0.1", path = "../../libraries/discriminator" } spl-program-error = { version = "0.3", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.1", path = "../../libraries/pod", features = [ +spl-pod = { version = "0.2", path = "../../libraries/pod", features = [ "borsh", ] } diff --git a/program/Cargo.toml b/program/Cargo.toml index 76ccbb2..c979778 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -16,7 +16,7 @@ solana-program = ">=1.18.2,<=2" spl-token-2022 = { version = "3.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.1", path = "../interface" } spl-type-length-value = { version = "0.3.1" , path = "../../libraries/type-length-value" } -spl-pod = { version = "0.1.1", path = "../../libraries/pod" } +spl-pod = { version = "0.2", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = ">=1.18.2,<=2" From e349e59fa0cd355544939b8c3059a6c8343acdef Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 28 Mar 2024 12:37:59 +0100 Subject: [PATCH 216/473] tlv: Bump to 0.4 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index fb51de9..2b209d1 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -16,7 +16,7 @@ serde = { version = "1.0.197", optional = true } solana-program = ">=1.18.2,<=2" spl-discriminator = { version = "0.1", path = "../../libraries/discriminator" } spl-program-error = { version = "0.3", path = "../../libraries/program-error" } -spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.4", path = "../../libraries/type-length-value" } spl-pod = { version = "0.2", path = "../../libraries/pod", features = [ "borsh", ] } diff --git a/program/Cargo.toml b/program/Cargo.toml index c979778..4f6ae49 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -15,7 +15,7 @@ test-sbf = [] solana-program = ">=1.18.2,<=2" spl-token-2022 = { version = "3.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.2.1", path = "../interface" } -spl-type-length-value = { version = "0.3.1" , path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.4" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.2", path = "../../libraries/pod" } [dev-dependencies] From 149fb088a92d2bec17f918ffe95d3253e75e06d5 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 28 Mar 2024 12:46:24 +0100 Subject: [PATCH 217/473] token-metadata-interface: Bump to 0.3.0 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 2b209d1..4f859fb 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.2.1" +version = "0.3.0" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" diff --git a/program/Cargo.toml b/program/Cargo.toml index 4f6ae49..accf8eb 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] solana-program = ">=1.18.2,<=2" spl-token-2022 = { version = "3.0", path = "../../token/program-2022", features = ["no-entrypoint"] } -spl-token-metadata-interface = { version = "0.2.1", path = "../interface" } +spl-token-metadata-interface = { version = "0.3", path = "../interface" } spl-type-length-value = { version = "0.4" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.2", path = "../../libraries/pod" } From b5ed83ea08b2cf85b0dbc35688505070ed953f60 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 28 Mar 2024 12:47:25 +0100 Subject: [PATCH 218/473] token-metadata-example: Bump to 0.3.0 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index accf8eb..ea1cbef 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-example" -version = "0.2.0" +version = "0.3.0" description = "Solana Program Library Token Metadata Example Program" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" From d826160d43b05f615742432c64ead4392591e9ec Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 28 Mar 2024 12:52:23 +0100 Subject: [PATCH 219/473] token-client: Bump to 0.9.0 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index ea1cbef..d2e2a34 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -21,7 +21,7 @@ spl-pod = { version = "0.2", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = ">=1.18.2,<=2" solana-sdk = ">=1.18.2,<=2" -spl-token-client = { version = "0.8", path = "../../token/client" } +spl-token-client = { version = "0.9", path = "../../token/client" } test-case = "3.3" [lib] From 21b857de81c96bd04ec3ab81ead70e8c4fb57500 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 28 Mar 2024 15:57:20 +0100 Subject: [PATCH 220/473] discriminator: Bump to 0.2.0 (#6513) * discriminator: Bump borsh * Bump to 0.2.0 * Update dependencies to use new discriminator library --- interface/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 4f859fb..57da554 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.3.0" +version = "0.3.1" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -14,7 +14,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] borsh = "1.2.1" serde = { version = "1.0.197", optional = true } solana-program = ">=1.18.2,<=2" -spl-discriminator = { version = "0.1", path = "../../libraries/discriminator" } +spl-discriminator = { version = "0.2", path = "../../libraries/discriminator" } spl-program-error = { version = "0.3", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.4", path = "../../libraries/type-length-value" } spl-pod = { version = "0.2", path = "../../libraries/pod", features = [ From d223bf6150ae79e9d66b3b5a7303742f624dd3b7 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 28 Mar 2024 23:46:27 +0100 Subject: [PATCH 221/473] Bump all crates for token-cli release (#6516) * Bump pod to 0.2.2 * Bump program-error and derive to 0.4.0 * Bump type-length-value to 0.4.3 * Bump tlv-account-resolution to 0.6.3 * Bump token-group-interface to 0.2.3 * Bump token-metadata-interface to 0.3.3 * Bump token-2022 to 3.0.2 * Bump transfer-hook-interface to 0.6.3 * Bump token-client to 0.9.2 * Bump associated-token-account to 3.0.2 * Bump discriminator, derive, and syn to 0.2.x --- interface/Cargo.toml | 10 +++++----- program/Cargo.toml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 57da554..4e8532a 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.3.1" +version = "0.3.3" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -14,10 +14,10 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] borsh = "1.2.1" serde = { version = "1.0.197", optional = true } solana-program = ">=1.18.2,<=2" -spl-discriminator = { version = "0.2", path = "../../libraries/discriminator" } -spl-program-error = { version = "0.3", path = "../../libraries/program-error" } -spl-type-length-value = { version = "0.4", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.2", path = "../../libraries/pod", features = [ +spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } +spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } +spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length-value" } +spl-pod = { version = "0.2.2", path = "../../libraries/pod", features = [ "borsh", ] } diff --git a/program/Cargo.toml b/program/Cargo.toml index d2e2a34..6ad9978 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,15 +13,15 @@ test-sbf = [] [dependencies] solana-program = ">=1.18.2,<=2" -spl-token-2022 = { version = "3.0", path = "../../token/program-2022", features = ["no-entrypoint"] } -spl-token-metadata-interface = { version = "0.3", path = "../interface" } -spl-type-length-value = { version = "0.4" , path = "../../libraries/type-length-value" } -spl-pod = { version = "0.2", path = "../../libraries/pod" } +spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-metadata-interface = { version = "0.3.3", path = "../interface" } +spl-type-length-value = { version = "0.4.3" , path = "../../libraries/type-length-value" } +spl-pod = { version = "0.2.2", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = ">=1.18.2,<=2" solana-sdk = ">=1.18.2,<=2" -spl-token-client = { version = "0.9", path = "../../token/client" } +spl-token-client = { version = "0.9.2", path = "../../token/client" } test-case = "3.3" [lib] From 0610f8031a3ebe0e9f18bcc54f11a2369b359538 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:08:57 +0100 Subject: [PATCH 222/473] build(deps): bump borsh from 1.2.1 to 1.4.0 (#6520) Bumps [borsh](https://github.com/near/borsh-rs) from 1.2.1 to 1.4.0. - [Release notes](https://github.com/near/borsh-rs/releases) - [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/near/borsh-rs/compare/borsh-v1.2.1...borsh-v1.4.0) --- updated-dependencies: - dependency-name: borsh dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 4e8532a..d05549a 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] -borsh = "1.2.1" +borsh = "1.4.0" serde = { version = "1.0.197", optional = true } solana-program = ">=1.18.2,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } From ea968c776c7acfe8a818827f896f4943000a5dfa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 13:05:13 +0100 Subject: [PATCH 223/473] build(deps): bump @solana/web3.js from 1.91.1 to 1.91.2 (#6505) * build(deps): bump @solana/web3.js from 1.91.1 to 1.91.2 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.91.1 to 1.91.2. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.91.1...v1.91.2) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e40fe53..0a63f68 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.91.1" + "@solana/web3.js": "^1.91.2" }, "dependencies": { "@solana/codecs": "2.0.0-preview.2", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.91.1", + "@solana/web3.js": "^1.91.2", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.11.30", From 244f892757b4aa36586b4db4ccf03f9f0ddeec92 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 13:24:47 +0200 Subject: [PATCH 224/473] build(deps-dev): bump @types/node from 20.11.30 to 20.12.2 (#6529) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.30 to 20.12.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0a63f68..44a42a0 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.2", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.30", + "@types/node": "^20.12.2", "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^7.4.0", "chai": "^5.1.0", From 303c0a3c943ee61ec51e23d6fcee5cb54b879089 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:24:19 +0200 Subject: [PATCH 225/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.4.0 to 7.5.0 (#6530) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.4.0 to 7.5.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.5.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 44a42a0..dde234f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.12.2", - "@typescript-eslint/eslint-plugin": "^7.4.0", + "@typescript-eslint/eslint-plugin": "^7.5.0", "@typescript-eslint/parser": "^7.4.0", "chai": "^5.1.0", "eslint": "^8.57.0", From ebaf9dc7a0176e2b983679acf6ee4472cce4e8f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:40:08 +0200 Subject: [PATCH 226/473] build(deps-dev): bump @typescript-eslint/parser from 7.4.0 to 7.5.0 (#6534) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.4.0 to 7.5.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.5.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index dde234f..6b01e91 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.12.2", "@typescript-eslint/eslint-plugin": "^7.5.0", - "@typescript-eslint/parser": "^7.4.0", + "@typescript-eslint/parser": "^7.5.0", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 674b1abbc8aed75dcc722bfe4f1d62e2df11d363 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 3 Apr 2024 12:44:17 +0200 Subject: [PATCH 227/473] build(deps-dev): bump @types/node from 20.12.2 to 20.12.3 (#6540) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.2 to 20.12.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6b01e91..972d054 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.2", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.2", + "@types/node": "^20.12.3", "@typescript-eslint/eslint-plugin": "^7.5.0", "@typescript-eslint/parser": "^7.5.0", "chai": "^5.1.0", From 27d7f73117121602db1eb0f4a280422febf735ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 3 Apr 2024 12:58:21 +0200 Subject: [PATCH 228/473] build(deps): bump @solana/web3.js from 1.91.2 to 1.91.3 (#6531) * build(deps): bump @solana/web3.js from 1.91.2 to 1.91.3 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.91.2 to 1.91.3. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.91.2...v1.91.3) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 972d054..f7d2779 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.91.2" + "@solana/web3.js": "^1.91.3" }, "dependencies": { "@solana/codecs": "2.0.0-preview.2", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.91.2", + "@solana/web3.js": "^1.91.3", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.12.3", From 73330f6412575b45b8a4ae3e2a6805bf605f3975 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 13:19:22 +0200 Subject: [PATCH 229/473] build(deps-dev): bump @types/node from 20.12.3 to 20.12.4 (#6548) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.3 to 20.12.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f7d2779..462f49c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.3", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.3", + "@types/node": "^20.12.4", "@typescript-eslint/eslint-plugin": "^7.5.0", "@typescript-eslint/parser": "^7.5.0", "chai": "^5.1.0", From 2688b23eca3bcd7b4b5031da32264c77842121b4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 13:45:39 +0200 Subject: [PATCH 230/473] build(deps): bump @solana/web3.js from 1.91.3 to 1.91.4 (#6546) * build(deps): bump @solana/web3.js from 1.91.3 to 1.91.4 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.91.3 to 1.91.4. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.91.3...v1.91.4) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 462f49c..55b1330 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.91.3" + "@solana/web3.js": "^1.91.4" }, "dependencies": { "@solana/codecs": "2.0.0-preview.2", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.91.3", + "@solana/web3.js": "^1.91.4", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.12.4", From a5f49aadd098cc7b42cd6d3199448db9013905fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 17:16:58 +0200 Subject: [PATCH 231/473] build(deps-dev): bump typescript from 5.4.3 to 5.4.4 (#6551) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.3 to 5.4.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 55b1330..61e4b29 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -69,6 +69,6 @@ "ts-node": "^10.9.2", "tslib": "^2.3.1", "typedoc": "^0.25.12", - "typescript": "^5.4.3" + "typescript": "^5.4.4" } } From 8455b72852549bb53976db55ae2b21ed939a4661 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 09:00:30 -0500 Subject: [PATCH 232/473] build(deps-dev): bump @types/node from 20.12.4 to 20.12.5 (#6552) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.4 to 20.12.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 61e4b29..8f82148 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.4", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.4", + "@types/node": "^20.12.5", "@typescript-eslint/eslint-plugin": "^7.5.0", "@typescript-eslint/parser": "^7.5.0", "chai": "^5.1.0", From 4a8bf3ff0ae5cc2287f2a4a249e8f4c0fcbc5246 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 09:35:33 -0500 Subject: [PATCH 233/473] build(deps-dev): bump typedoc from 0.25.12 to 0.25.13 (#6556) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.12 to 0.25.13. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.12...v0.25.13) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 8f82148..30c6a94 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", - "typedoc": "^0.25.12", + "typedoc": "^0.25.13", "typescript": "^5.4.4" } } From a8043b4949cc38ceb4f3d85c10fc80150ab0e34a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 09:07:13 -0500 Subject: [PATCH 234/473] build(deps-dev): bump @types/node from 20.12.5 to 20.12.6 (#6559) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.5 to 20.12.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 30c6a94..8d2e611 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.4", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.5", + "@types/node": "^20.12.6", "@typescript-eslint/eslint-plugin": "^7.5.0", "@typescript-eslint/parser": "^7.5.0", "chai": "^5.1.0", From 87526638ac9beca5615ae3765567613973db6598 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 16:21:50 +0200 Subject: [PATCH 235/473] build(deps-dev): bump @typescript-eslint/parser from 7.5.0 to 7.6.0 (#6560) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.5.0 to 7.6.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.6.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 8d2e611..91608cd 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.12.6", "@typescript-eslint/eslint-plugin": "^7.5.0", - "@typescript-eslint/parser": "^7.5.0", + "@typescript-eslint/parser": "^7.6.0", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From ee5e10735a5fadda5c59e109f368ea792c1c0203 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 09:34:10 -0500 Subject: [PATCH 236/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.5.0 to 7.6.0 (#6558) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.5.0 to 7.6.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.6.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 91608cd..80ee683 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.12.6", - "@typescript-eslint/eslint-plugin": "^7.5.0", + "@typescript-eslint/eslint-plugin": "^7.6.0", "@typescript-eslint/parser": "^7.6.0", "chai": "^5.1.0", "eslint": "^8.57.0", From 301c597a040593c3a287e1007eb77df9baf8183d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 08:55:19 -0500 Subject: [PATCH 237/473] build(deps-dev): bump @types/node from 20.12.6 to 20.12.7 (#6564) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.6 to 20.12.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 80ee683..e01572f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.4", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.6", + "@types/node": "^20.12.7", "@typescript-eslint/eslint-plugin": "^7.6.0", "@typescript-eslint/parser": "^7.6.0", "chai": "^5.1.0", From 4aea21dea893e504bcd9be1bb340ed29ef3c9fd7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:24:43 -0500 Subject: [PATCH 238/473] build(deps-dev): bump typescript from 5.4.4 to 5.4.5 (#6566) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.4 to 5.4.5. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.4...v5.4.5) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e01572f..fb7e620 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -69,6 +69,6 @@ "ts-node": "^10.9.2", "tslib": "^2.3.1", "typedoc": "^0.25.13", - "typescript": "^5.4.4" + "typescript": "^5.4.5" } } From e995c7b0e98c46fe3cfdaad8d0591d8578984a7a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 12:03:22 +0200 Subject: [PATCH 239/473] build(deps): bump serde_json from 1.0.115 to 1.0.116 (#6584) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.115 to 1.0.116. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.115...v1.0.116) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index d05549a..b415fa1 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.2.2", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.115" +serde_json = "1.0.116" [lib] crate-type = ["cdylib", "lib"] From d049355c7f6d12e09e971cb8a436227ebf88d9e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:02:21 +0200 Subject: [PATCH 240/473] build(deps-dev): bump @typescript-eslint/parser from 7.6.0 to 7.7.0 (#6585) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.6.0 to 7.7.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.7.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index fb7e620..b79810e 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.12.7", "@typescript-eslint/eslint-plugin": "^7.6.0", - "@typescript-eslint/parser": "^7.6.0", + "@typescript-eslint/parser": "^7.7.0", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 6b3cc96c5f00c527b94a7c6c74a60d4425a0b0be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:23:44 +0200 Subject: [PATCH 241/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.6.0 to 7.7.0 (#6586) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.6.0 to 7.7.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.7.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b79810e..b8a7290 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.12.7", - "@typescript-eslint/eslint-plugin": "^7.6.0", + "@typescript-eslint/eslint-plugin": "^7.7.0", "@typescript-eslint/parser": "^7.7.0", "chai": "^5.1.0", "eslint": "^8.57.0", From 0d3832ebe34f5901f6d863a736ca781950a70750 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Apr 2024 12:33:26 +0200 Subject: [PATCH 242/473] build(deps): bump serde from 1.0.197 to 1.0.198 (#6589) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.197 to 1.0.198. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index b415fa1..3115a5c 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.4.0" -serde = { version = "1.0.197", optional = true } +serde = { version = "1.0.198", optional = true } solana-program = ">=1.18.2,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } From 1bed8316c501dcffdc03895ef6f69dd183db3a55 Mon Sep 17 00:00:00 2001 From: steveluscher Date: Wed, 17 Apr 2024 23:17:30 +0000 Subject: [PATCH 243/473] build(deps): bump @solana/web3.js from 1.91.4 to 1.91.6 --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b8a7290..f26d991 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.91.4" + "@solana/web3.js": "^1.91.6" }, "dependencies": { "@solana/codecs": "2.0.0-preview.2", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.91.4", + "@solana/web3.js": "^1.91.6", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.12.7", From 4051943c74819d5828cfc42551ce7bb62430567f Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Thu, 18 Apr 2024 10:57:16 -0700 Subject: [PATCH 244/473] build(deps): bump all JS client versions to publish versions having `7abbff9` (#6593) build(deps): bump all JS client versions to publish versions having 7abbff9 --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f26d991..c497584 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -1,7 +1,7 @@ { "name": "@solana/spl-token-metadata", "description": "SPL Token Metadata Interface JS API", - "version": "0.1.2", + "version": "0.1.3", "author": "Solana Labs Maintainers ", "repository": "https://github.com/solana-labs/solana-program-library", "license": "Apache-2.0", From cd04e24344a48382f919c0f9c7389a008a134dab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Apr 2024 14:43:07 +0200 Subject: [PATCH 245/473] build(deps): bump @solana/web3.js from 1.91.6 to 1.91.7 (#6598) * build(deps): bump @solana/web3.js from 1.91.6 to 1.91.7 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.91.6 to 1.91.7. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.91.6...v1.91.7) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c497584..b14fd27 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.91.6" + "@solana/web3.js": "^1.91.7" }, "dependencies": { "@solana/codecs": "2.0.0-preview.2", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.91.6", + "@solana/web3.js": "^1.91.7", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.12.7", From ea89c1272efc184a56f8ffd4ad8146f4693769da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 14:22:59 +0200 Subject: [PATCH 246/473] build(deps-dev): bump @typescript-eslint/parser from 7.7.0 to 7.7.1 (#6620) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.7.0 to 7.7.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.7.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b14fd27..23c6dfa 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.12.7", "@typescript-eslint/eslint-plugin": "^7.7.0", - "@typescript-eslint/parser": "^7.7.0", + "@typescript-eslint/parser": "^7.7.1", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 5d9459df753a5f6400a69a7540fa336d05054ddc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 20:10:31 +0200 Subject: [PATCH 247/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.7.0 to 7.7.1 (#6619) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.7.0 to 7.7.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.7.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 23c6dfa..38db468 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.12.7", - "@typescript-eslint/eslint-plugin": "^7.7.0", + "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", "chai": "^5.1.0", "eslint": "^8.57.0", From 07d88ba8eb7f1baa27c5c6c17efd27827303d9cb Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Wed, 24 Apr 2024 12:01:47 +0900 Subject: [PATCH 248/473] Bump solana version to 1.18.11 (#6624) upgrade solana version to 1.18.11 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 3115a5c..5c95da7 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.4.0" serde = { version = "1.0.198", optional = true } -solana-program = ">=1.18.2,<=2" +solana-program = ">=1.18.11,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length-value" } diff --git a/program/Cargo.toml b/program/Cargo.toml index 6ad9978..8908953 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = ">=1.18.2,<=2" +solana-program = ">=1.18.11,<=2" spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.3.3", path = "../interface" } spl-type-length-value = { version = "0.4.3" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.2.2", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = ">=1.18.2,<=2" -solana-sdk = ">=1.18.2,<=2" +solana-program-test = ">=1.18.11,<=2" +solana-sdk = ">=1.18.11,<=2" spl-token-client = { version = "0.9.2", path = "../../token/client" } test-case = "3.3" From 8eb877894c93ea896e2ba462a2003cd80d7ddf7f Mon Sep 17 00:00:00 2001 From: Jon C Date: Fri, 26 Apr 2024 01:52:42 +0200 Subject: [PATCH 249/473] token-client: Bump for token-cli release (#6636) --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 8908953..175ebdb 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -21,7 +21,7 @@ spl-pod = { version = "0.2.2", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = ">=1.18.11,<=2" solana-sdk = ">=1.18.11,<=2" -spl-token-client = { version = "0.9.2", path = "../../token/client" } +spl-token-client = { version = "0.10.0", path = "../../token/client" } test-case = "3.3" [lib] From 6669b6f8d3ca67eba74e37846c038d0e5e22a947 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 12:51:40 +0200 Subject: [PATCH 250/473] build(deps): bump serde from 1.0.198 to 1.0.199 (#6647) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.198 to 1.0.199. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.198...v1.0.199) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 5c95da7..dbcdfd7 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.4.0" -serde = { version = "1.0.198", optional = true } +serde = { version = "1.0.199", optional = true } solana-program = ">=1.18.11,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } From 64708cd34d7f8c6d35f1e83a16e21e58f3247b1c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:16:15 +0200 Subject: [PATCH 251/473] build(deps): bump borsh from 1.4.0 to 1.5.0 (#6659) Bumps [borsh](https://github.com/near/borsh-rs) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/near/borsh-rs/releases) - [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/near/borsh-rs/compare/borsh-v1.4.0...borsh-v1.5.0) --- updated-dependencies: - dependency-name: borsh dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index dbcdfd7..1b24faf 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] -borsh = "1.4.0" +borsh = "1.5.0" serde = { version = "1.0.199", optional = true } solana-program = ">=1.18.11,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } From 1a57ac46f3b67379019950746a3d87baec8c7860 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Apr 2024 13:37:38 +0200 Subject: [PATCH 252/473] build(deps-dev): bump @typescript-eslint/parser from 7.7.1 to 7.8.0 (#6664) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.7.1 to 7.8.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.8.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 38db468..f936708 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.12.7", "@typescript-eslint/eslint-plugin": "^7.7.1", - "@typescript-eslint/parser": "^7.7.1", + "@typescript-eslint/parser": "^7.8.0", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 4970242df8ff74365d59eba95451370cbc60c647 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Apr 2024 14:01:36 +0200 Subject: [PATCH 253/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.7.1 to 7.8.0 (#6661) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.7.1 to 7.8.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.8.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f936708..91aeee4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", "@types/node": "^20.12.7", - "@typescript-eslint/eslint-plugin": "^7.7.1", + "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", "chai": "^5.1.0", "eslint": "^8.57.0", From c2fa2bae747475a2a1dd94f947f116f631a855c6 Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 30 Apr 2024 15:52:08 +0200 Subject: [PATCH 254/473] token-metadata-js: Upgrade to tp3 (#6666) --- clients/js-legacy/package.json | 2 +- clients/js-legacy/src/field.ts | 11 +++++++-- clients/js-legacy/src/instruction.ts | 16 +++++++++---- clients/js-legacy/src/state.ts | 28 ++++++++++++++++------ clients/js-legacy/test/instruction.test.ts | 13 +++++++--- 5 files changed, 53 insertions(+), 17 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 91aeee4..cba823d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -47,7 +47,7 @@ "@solana/web3.js": "^1.91.7" }, "dependencies": { - "@solana/codecs": "2.0.0-preview.2", + "@solana/codecs": "2.0.0-preview.3", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { diff --git a/clients/js-legacy/src/field.ts b/clients/js-legacy/src/field.ts index 3e9c7aa..58db194 100644 --- a/clients/js-legacy/src/field.ts +++ b/clients/js-legacy/src/field.ts @@ -1,5 +1,12 @@ import type { Codec } from '@solana/codecs'; -import { getStringCodec, getStructCodec, getTupleCodec, getUnitCodec } from '@solana/codecs'; +import { + addCodecSizePrefix, + getU32Codec, + getUtf8Codec, + getStructCodec, + getTupleCodec, + getUnitCodec, +} from '@solana/codecs'; export enum Field { Name, @@ -14,7 +21,7 @@ export const getFieldCodec = () => ['Name', getUnitCodec()], ['Symbol', getUnitCodec()], ['Uri', getUnitCodec()], - ['Key', getStructCodec([['value', getTupleCodec([getStringCodec()])]])], + ['Key', getStructCodec([['value', getTupleCodec([addCodecSizePrefix(getUtf8Codec(), getU32Codec())])]])], ] as const; export function getFieldConfig(field: Field | string): FieldLayout { diff --git a/clients/js-legacy/src/instruction.ts b/clients/js-legacy/src/instruction.ts index 10493bf..b428d4f 100644 --- a/clients/js-legacy/src/instruction.ts +++ b/clients/js-legacy/src/instruction.ts @@ -1,15 +1,19 @@ import type { Encoder } from '@solana/codecs'; import { + addEncoderSizePrefix, + fixEncoderSize, getBooleanEncoder, getBytesEncoder, getDataEnumCodec, getOptionEncoder, - getStringEncoder, + getUtf8Encoder, getStructEncoder, getTupleEncoder, + getU32Encoder, getU64Encoder, - mapEncoder, + transformEncoder, } from '@solana/codecs'; +import type { VariableSizeEncoder } from '@solana/codecs'; import { splDiscriminate } from '@solana/spl-type-length-value'; import type { PublicKey } from '@solana/web3.js'; import { SystemProgram, TransactionInstruction } from '@solana/web3.js'; @@ -18,14 +22,18 @@ import type { Field } from './field.js'; import { getFieldCodec, getFieldConfig } from './field.js'; function getInstructionEncoder(discriminator: Uint8Array, dataEncoder: Encoder): Encoder { - return mapEncoder(getTupleEncoder([getBytesEncoder(), dataEncoder]), (data: T): [Uint8Array, T] => [ + return transformEncoder(getTupleEncoder([getBytesEncoder(), dataEncoder]), (data: T): [Uint8Array, T] => [ discriminator, data, ]); } function getPublicKeyEncoder(): Encoder { - return mapEncoder(getBytesEncoder({ size: 32 }), (publicKey: PublicKey) => publicKey.toBytes()); + return transformEncoder(fixEncoderSize(getBytesEncoder(), 32), (publicKey: PublicKey) => publicKey.toBytes()); +} + +function getStringEncoder(): VariableSizeEncoder { + return addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder()); } /** diff --git a/clients/js-legacy/src/state.ts b/clients/js-legacy/src/state.ts index 5583a6b..6f689eb 100644 --- a/clients/js-legacy/src/state.ts +++ b/clients/js-legacy/src/state.ts @@ -1,11 +1,25 @@ import { PublicKey } from '@solana/web3.js'; -import { getArrayCodec, getBytesCodec, getStringCodec, getStructCodec, getTupleCodec } from '@solana/codecs'; +import { + addCodecSizePrefix, + fixCodecSize, + getArrayCodec, + getBytesCodec, + getUtf8Codec, + getU32Codec, + getStructCodec, + getTupleCodec, +} from '@solana/codecs'; +import type { ReadonlyUint8Array, VariableSizeCodec } from '@solana/codecs'; export const TOKEN_METADATA_DISCRIMINATOR = Buffer.from([112, 132, 90, 90, 11, 88, 157, 87]); +function getStringCodec(): VariableSizeCodec { + return addCodecSizePrefix(getUtf8Codec(), getU32Codec()); +} + const tokenMetadataCodec = getStructCodec([ - ['updateAuthority', getBytesCodec({ size: 32 })], - ['mint', getBytesCodec({ size: 32 })], + ['updateAuthority', fixCodecSize(getBytesCodec(), 32)], + ['mint', fixCodecSize(getBytesCodec(), 32)], ['name', getStringCodec()], ['symbol', getStringCodec()], ['uri', getStringCodec()], @@ -24,11 +38,11 @@ export interface TokenMetadata { // The URI pointing to richer metadata uri: string; // Any additional metadata about the token as key-value pairs - additionalMetadata: [string, string][]; + additionalMetadata: (readonly [string, string])[]; } // Checks if all elements in the array are 0 -function isNonePubkey(buffer: Uint8Array): boolean { +function isNonePubkey(buffer: ReadonlyUint8Array): boolean { for (let i = 0; i < buffer.length; i++) { if (buffer[i] !== 0) { return false; @@ -38,7 +52,7 @@ function isNonePubkey(buffer: Uint8Array): boolean { } // Pack TokenMetadata into byte slab -export function pack(meta: TokenMetadata): Uint8Array { +export function pack(meta: TokenMetadata): ReadonlyUint8Array { // If no updateAuthority given, set it to the None/Zero PublicKey for encoding const updateAuthority = meta.updateAuthority ?? PublicKey.default; return tokenMetadataCodec.encode({ @@ -49,7 +63,7 @@ export function pack(meta: TokenMetadata): Uint8Array { } // unpack byte slab into TokenMetadata -export function unpack(buffer: Buffer | Uint8Array): TokenMetadata { +export function unpack(buffer: Buffer | Uint8Array | ReadonlyUint8Array): TokenMetadata { const data = tokenMetadataCodec.decode(buffer); return isNonePubkey(data.updateAuthority) diff --git a/clients/js-legacy/test/instruction.test.ts b/clients/js-legacy/test/instruction.test.ts index 442bbe4..e206393 100644 --- a/clients/js-legacy/test/instruction.test.ts +++ b/clients/js-legacy/test/instruction.test.ts @@ -10,17 +10,20 @@ import { getFieldConfig, } from '../src'; import { + addDecoderSizePrefix, + fixDecoderSize, getBooleanDecoder, getBytesDecoder, getDataEnumCodec, getOptionDecoder, - getStringDecoder, + getUtf8Decoder, + getU32Decoder, getU64Decoder, getStructDecoder, some, } from '@solana/codecs'; import { splDiscriminate } from '@solana/spl-type-length-value'; -import type { Decoder, Option } from '@solana/codecs'; +import type { Decoder, Option, VariableSizeDecoder } from '@solana/codecs'; import { PublicKey, type TransactionInstruction } from '@solana/web3.js'; function checkPackUnpack( @@ -34,6 +37,10 @@ function checkPackUnpack( expect(unpacked).to.deep.equal(values); } +function getStringDecoder(): VariableSizeDecoder { + return addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder()); +} + describe('Token Metadata Instructions', () => { const programId = new PublicKey('22222222222222222222222222222222222222222222'); const metadata = new PublicKey('33333333333333333333333333333333333333333333'); @@ -134,7 +141,7 @@ describe('Token Metadata Instructions', () => { newAuthority, }), splDiscriminate('spl_token_metadata_interface:update_the_authority'), - getStructDecoder([['newAuthority', getBytesDecoder({ size: 32 })]]), + getStructDecoder([['newAuthority', fixDecoderSize(getBytesDecoder(), 32)]]), { newAuthority: Uint8Array.from(newAuthority.toBuffer()) } ); }); From bcd35cb9e5b6da7739173386fcd382ebcfd83efa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 13:17:53 +0200 Subject: [PATCH 255/473] build(deps-dev): bump @types/node from 20.12.7 to 20.12.8 (#6675) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.7 to 20.12.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index cba823d..7e53413 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.7", "@types/chai": "^4.3.14", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.7", + "@types/node": "^20.12.8", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", "chai": "^5.1.0", From c667af056e68d626b4b30938a0aeee71a0b80c46 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 12:51:35 +0200 Subject: [PATCH 256/473] build(deps-dev): bump @types/chai from 4.3.14 to 4.3.15 (#6684) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.14 to 4.3.15. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 7e53413..6254fb5 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -52,7 +52,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.91.7", - "@types/chai": "^4.3.14", + "@types/chai": "^4.3.15", "@types/mocha": "^10.0.6", "@types/node": "^20.12.8", "@typescript-eslint/eslint-plugin": "^7.8.0", From 7d16cc5df154e5e95a6e6f382836f75e5c9e6336 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 12:52:05 +0200 Subject: [PATCH 257/473] build(deps): bump serde from 1.0.199 to 1.0.200 (#6679) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.199 to 1.0.200. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.199...v1.0.200) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 1b24faf..dedae93 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.0" -serde = { version = "1.0.199", optional = true } +serde = { version = "1.0.200", optional = true } solana-program = ">=1.18.11,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } From fd1dd3c84e77bbbd248d9c6dcf9fe2d952d05b02 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 13:32:28 +0200 Subject: [PATCH 258/473] build(deps-dev): bump @types/chai from 4.3.15 to 4.3.16 (#6692) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.15 to 4.3.16. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6254fb5..9c99d92 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -52,7 +52,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.91.7", - "@types/chai": "^4.3.15", + "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.12.8", "@typescript-eslint/eslint-plugin": "^7.8.0", From dc5706067fb5e5c4097d86f35bb98d622b434714 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 13:45:54 +0200 Subject: [PATCH 259/473] build(deps): bump @solana/web3.js from 1.91.7 to 1.91.8 (#6693) * build(deps): bump @solana/web3.js from 1.91.7 to 1.91.8 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.91.7 to 1.91.8. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.91.7...v1.91.8) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9c99d92..fce0adf 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.91.7" + "@solana/web3.js": "^1.91.8" }, "dependencies": { "@solana/codecs": "2.0.0-preview.3", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.91.7", + "@solana/web3.js": "^1.91.8", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.12.8", From 8e62cbb6d408fb6210639c54067c0da552717814 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 14:27:12 +0200 Subject: [PATCH 260/473] build(deps-dev): bump @types/node from 20.12.8 to 20.12.10 (#6699) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.8 to 20.12.10. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index fce0adf..ed48f65 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.8", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.8", + "@types/node": "^20.12.10", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", "chai": "^5.1.0", From c57b0c5e760001737d9f01b01ab97a5023f484a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 12:51:47 +0200 Subject: [PATCH 261/473] build(deps): bump serde_json from 1.0.116 to 1.0.117 (#6705) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.116 to 1.0.117. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.116...v1.0.117) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index dedae93..f54d904 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.2.2", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.116" +serde_json = "1.0.117" [lib] crate-type = ["cdylib", "lib"] From 9db19229a7e9f974c3232e2a464f634857b4ab08 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 13:20:31 +0200 Subject: [PATCH 262/473] build(deps): bump serde from 1.0.200 to 1.0.201 (#6706) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.200 to 1.0.201. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.200...v1.0.201) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index f54d904..7d3ed45 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.0" -serde = { version = "1.0.200", optional = true } +serde = { version = "1.0.201", optional = true } solana-program = ">=1.18.11,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } From 378d2f38cb49a4efe799b5da65c7e35b9de8a756 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 19:09:46 +0200 Subject: [PATCH 263/473] build(deps-dev): bump @types/node from 20.12.10 to 20.12.11 (#6711) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.10 to 20.12.11. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index ed48f65..b261a38 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.8", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.10", + "@types/node": "^20.12.11", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", "chai": "^5.1.0", From 6a37bda14c101446d9c1946e75000278dbfb2273 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 11 May 2024 23:21:27 +0200 Subject: [PATCH 264/473] build(deps-dev): bump chai from 5.1.0 to 5.1.1 (#6717) Bumps [chai](https://github.com/chaijs/chai) from 5.1.0 to 5.1.1. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](https://github.com/chaijs/chai/compare/v5.1.0...v5.1.1) --- updated-dependencies: - dependency-name: chai dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b261a38..e454938 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -57,7 +57,7 @@ "@types/node": "^20.12.11", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", - "chai": "^5.1.0", + "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", From fb8be7a07be7d003a451d9f8fd28ba8f5dddef51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 21:52:02 +0200 Subject: [PATCH 265/473] build(deps-dev): bump @typescript-eslint/parser from 7.8.0 to 7.9.0 (#6726) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.8.0 to 7.9.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.9.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e454938..1597889 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.12.11", "@typescript-eslint/eslint-plugin": "^7.8.0", - "@typescript-eslint/parser": "^7.8.0", + "@typescript-eslint/parser": "^7.9.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From aa69363c082b996c685624b15120a074d21fd700 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 21:52:11 +0200 Subject: [PATCH 266/473] build(deps-dev): bump @types/node from 20.12.11 to 20.12.12 (#6727) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.11 to 20.12.12. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1597889..ceee475 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.8", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.11", + "@types/node": "^20.12.12", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.9.0", "chai": "^5.1.1", From cc969f812ac6ca57bab84609a47bcd66f81abfa4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 22:34:24 +0200 Subject: [PATCH 267/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.8.0 to 7.9.0 (#6728) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.8.0 to 7.9.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.9.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index ceee475..1b1515a 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.12.12", - "@typescript-eslint/eslint-plugin": "^7.8.0", + "@typescript-eslint/eslint-plugin": "^7.9.0", "@typescript-eslint/parser": "^7.9.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 56b856a33cd191d730676d2ba812f5714d6fb218 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 May 2024 12:24:00 +0200 Subject: [PATCH 268/473] build(deps): bump serde from 1.0.201 to 1.0.202 (#6733) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.201 to 1.0.202. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.201...v1.0.202) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 7d3ed45..07bd33b 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.0" -serde = { version = "1.0.201", optional = true } +serde = { version = "1.0.202", optional = true } solana-program = ">=1.18.11,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } From eb4fa8948c3df2c4b6c2949ea9fb5ebf0c246584 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 May 2024 12:44:40 +0200 Subject: [PATCH 269/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.9.0 to 7.10.0 (#6750) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1b1515a..97593e5 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.12.12", - "@typescript-eslint/eslint-plugin": "^7.9.0", + "@typescript-eslint/eslint-plugin": "^7.10.0", "@typescript-eslint/parser": "^7.9.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 51824803f4c568cae14f81ad3afc474155a35f57 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 May 2024 13:19:03 +0200 Subject: [PATCH 270/473] build(deps-dev): bump @typescript-eslint/parser from 7.9.0 to 7.10.0 (#6752) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 97593e5..89ada2e 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.12.12", "@typescript-eslint/eslint-plugin": "^7.10.0", - "@typescript-eslint/parser": "^7.9.0", + "@typescript-eslint/parser": "^7.10.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From b6f2097f2c42960bf57aba3ed7f15e7bab422d88 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 17:02:42 +0200 Subject: [PATCH 271/473] build(deps): bump serde from 1.0.202 to 1.0.203 (#6763) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.202 to 1.0.203. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 07bd33b..0037273 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.0" -serde = { version = "1.0.202", optional = true } +serde = { version = "1.0.203", optional = true } solana-program = ">=1.18.11,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } From a3aed5e6853769d9727e21b52564851677476a00 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 May 2024 13:58:50 +0200 Subject: [PATCH 272/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.10.0 to 7.11.0 (#6768) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.10.0 to 7.11.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.11.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 89ada2e..55e507f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.12.12", - "@typescript-eslint/eslint-plugin": "^7.10.0", + "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.10.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 30db3c58e3ac4865c45c1bcdaebbdc5eb8fab19b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 May 2024 14:21:32 +0200 Subject: [PATCH 273/473] build(deps-dev): bump @typescript-eslint/parser from 7.10.0 to 7.11.0 (#6769) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.10.0 to 7.11.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.11.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 55e507f..075547c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.12.12", "@typescript-eslint/eslint-plugin": "^7.11.0", - "@typescript-eslint/parser": "^7.10.0", + "@typescript-eslint/parser": "^7.11.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 9cfd9672f97ff3c72aa59a9ea043e82038251750 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 May 2024 18:25:58 +0200 Subject: [PATCH 274/473] build(deps-dev): bump @types/node from 20.12.12 to 20.12.13 (#6773) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.12 to 20.12.13. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 075547c..fd52460 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.8", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.12", + "@types/node": "^20.12.13", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.11.0", "chai": "^5.1.1", From db2a0019e4a550957bc70163d63c8ccd11faeadc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 14:12:05 +0200 Subject: [PATCH 275/473] build(deps): bump borsh from 1.5.0 to 1.5.1 (#6778) Bumps [borsh](https://github.com/near/borsh-rs) from 1.5.0 to 1.5.1. - [Release notes](https://github.com/near/borsh-rs/releases) - [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/near/borsh-rs/compare/borsh-v1.5.0...borsh-v1.5.1) --- updated-dependencies: - dependency-name: borsh dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 0037273..fe654c8 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] -borsh = "1.5.0" +borsh = "1.5.1" serde = { version = "1.0.203", optional = true } solana-program = ">=1.18.11,<=2" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } From 1bcc13a275de34ba81c7e96f1753830a1b6f5145 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 14:12:39 +0200 Subject: [PATCH 276/473] build(deps-dev): bump prettier from 3.2.5 to 3.3.0 (#6781) Bumps [prettier](https://github.com/prettier/prettier) from 3.2.5 to 3.3.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.2.5...3.3.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index fd52460..c291e85 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.4.0", - "prettier": "^3.2.5", + "prettier": "^3.3.0", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.3.1", From 1086cc399aa865732ffb07c7f4a1554939d7b727 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 14:12:50 +0200 Subject: [PATCH 277/473] build(deps-dev): bump @types/node from 20.12.13 to 20.14.0 (#6782) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.13 to 20.14.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c291e85..bdb3625 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.8", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.12.13", + "@types/node": "^20.14.0", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.11.0", "chai": "^5.1.1", From c981fc5b0c5bad74ca64f1b20d64a49bf0f78ceb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 12:37:31 +0200 Subject: [PATCH 278/473] build(deps-dev): bump @types/node from 20.14.0 to 20.14.1 (#6787) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.0 to 20.14.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index bdb3625..504ca21 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.8", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.14.0", + "@types/node": "^20.14.1", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.11.0", "chai": "^5.1.1", From be1b4983d59ea6f0b7f506fbb4c6cd2f30b7bcfd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 12:37:50 +0200 Subject: [PATCH 279/473] build(deps-dev): bump @typescript-eslint/parser from 7.11.0 to 7.12.0 (#6788) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.11.0 to 7.12.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.12.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 504ca21..e0984ba 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.14.1", "@typescript-eslint/eslint-plugin": "^7.11.0", - "@typescript-eslint/parser": "^7.11.0", + "@typescript-eslint/parser": "^7.12.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 61ceb91fcdf01bf47f64782fb90163764edda778 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 13:04:46 +0200 Subject: [PATCH 280/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.11.0 to 7.12.0 (#6789) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.11.0 to 7.12.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.12.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e0984ba..de887fd 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.14.1", - "@typescript-eslint/eslint-plugin": "^7.11.0", + "@typescript-eslint/eslint-plugin": "^7.12.0", "@typescript-eslint/parser": "^7.12.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 8676d4ec30fb63581e441a98b9a7650a1ff20d93 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 12:53:33 +0200 Subject: [PATCH 281/473] build(deps-dev): bump @types/node from 20.14.1 to 20.14.2 (#6804) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.1 to 20.14.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index de887fd..39cf329 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.91.8", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.14.1", + "@types/node": "^20.14.2", "@typescript-eslint/eslint-plugin": "^7.12.0", "@typescript-eslint/parser": "^7.12.0", "chai": "^5.1.1", From eb21c89708040d878ea4fe688fb394e212ac41a5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 12:53:50 +0200 Subject: [PATCH 282/473] build(deps-dev): bump tslib from 2.6.2 to 2.6.3 (#6798) Bumps [tslib](https://github.com/Microsoft/tslib) from 2.6.2 to 2.6.3. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](https://github.com/Microsoft/tslib/compare/v2.6.2...v2.6.3) --- updated-dependencies: - dependency-name: tslib dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 39cf329..59783d8 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -67,7 +67,7 @@ "prettier": "^3.3.0", "shx": "^0.3.4", "ts-node": "^10.9.2", - "tslib": "^2.3.1", + "tslib": "^2.6.3", "typedoc": "^0.25.13", "typescript": "^5.4.5" } From dd1bd3a10a46d422fcb0b56b9302c13bc80bc291 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:11:11 +0200 Subject: [PATCH 283/473] build(deps-dev): bump prettier from 3.3.0 to 3.3.1 (#6801) Bumps [prettier](https://github.com/prettier/prettier) from 3.3.0 to 3.3.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.3.0...3.3.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 59783d8..6bc2dfc 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.4.0", - "prettier": "^3.3.0", + "prettier": "^3.3.1", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", From 1633e16182df0cee63deec56687b3138360077fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Jun 2024 00:57:23 +0200 Subject: [PATCH 284/473] build(deps): bump @solana/web3.js from 1.91.8 to 1.92.3 (#6813) * build(deps): bump @solana/web3.js from 1.91.8 to 1.92.3 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.91.8 to 1.92.3. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.91.8...v1.92.3) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6bc2dfc..2d7addd 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.91.8" + "@solana/web3.js": "^1.92.3" }, "dependencies": { "@solana/codecs": "2.0.0-preview.3", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.91.8", + "@solana/web3.js": "^1.92.3", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.14.2", From 3df0308469647ebab1b990c107a273b2b4e901ab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:08:21 +0200 Subject: [PATCH 285/473] build(deps-dev): bump prettier from 3.3.1 to 3.3.2 (#6830) Bumps [prettier](https://github.com/prettier/prettier) from 3.3.1 to 3.3.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.3.1...3.3.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2d7addd..efc888d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.4.0", - "prettier": "^3.3.1", + "prettier": "^3.3.2", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", From 2485ce50f7ac842033b99055f23231a9f9cc8fa0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:08:29 +0200 Subject: [PATCH 286/473] build(deps-dev): bump @typescript-eslint/parser from 7.12.0 to 7.13.0 (#6831) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.12.0 to 7.13.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.13.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index efc888d..d421592 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.14.2", "@typescript-eslint/eslint-plugin": "^7.12.0", - "@typescript-eslint/parser": "^7.12.0", + "@typescript-eslint/parser": "^7.13.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From b1f3fb7f34c0abcb5b31010269a0d6e84ffd8079 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Jun 2024 14:43:08 +0200 Subject: [PATCH 287/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.12.0 to 7.13.0 (#6833) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.12.0 to 7.13.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.13.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d421592..d407095 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.14.2", - "@typescript-eslint/eslint-plugin": "^7.12.0", + "@typescript-eslint/eslint-plugin": "^7.13.0", "@typescript-eslint/parser": "^7.13.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 4e7e9b7b2afce07463507d8022fc6375d2cdac2f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Jun 2024 13:48:44 +0200 Subject: [PATCH 288/473] build(deps): bump @solana/web3.js from 1.92.3 to 1.93.0 (#6841) * build(deps): bump @solana/web3.js from 1.92.3 to 1.93.0 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.92.3 to 1.93.0. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.92.3...v1.93.0) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d407095..31bef62 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.92.3" + "@solana/web3.js": "^1.93.0" }, "dependencies": { "@solana/codecs": "2.0.0-preview.3", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.92.3", + "@solana/web3.js": "^1.93.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.14.2", From d614864eabffcac336baed465530449c35d8b67b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 16:17:22 +0200 Subject: [PATCH 289/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.13.0 to 7.13.1 (#6872) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.13.0 to 7.13.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.13.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 31bef62..d4bd7eb 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", "@types/node": "^20.14.2", - "@typescript-eslint/eslint-plugin": "^7.13.0", + "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 2f79c0e67e4664768d193a6ee76d7af1da0fc050 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 17:35:51 +0200 Subject: [PATCH 290/473] build(deps-dev): bump @typescript-eslint/parser from 7.13.0 to 7.13.1 (#6870) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.13.0 to 7.13.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.13.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d4bd7eb..6e84ff8 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.6", "@types/node": "^20.14.2", "@typescript-eslint/eslint-plugin": "^7.13.1", - "@typescript-eslint/parser": "^7.13.0", + "@typescript-eslint/parser": "^7.13.1", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From ce845d912f78fd941572b287b7108f9bd9a97fcc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 17:36:03 +0200 Subject: [PATCH 291/473] build(deps-dev): bump @types/node from 20.14.2 to 20.14.5 (#6869) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.2 to 20.14.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6e84ff8..c93f3f0 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.93.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.14.2", + "@types/node": "^20.14.5", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", "chai": "^5.1.1", From 7ab00bdab4fef98bf128f906eb0efc241c0e6593 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:15:35 +0200 Subject: [PATCH 292/473] build(deps-dev): bump @types/node from 20.14.5 to 20.14.6 (#6888) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.5 to 20.14.6. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c93f3f0..c53ece4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.93.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.14.5", + "@types/node": "^20.14.6", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", "chai": "^5.1.1", From 649df5caa9e18254f64aac1d25844a9c72dd0a35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 13:32:19 +0200 Subject: [PATCH 293/473] build(deps-dev): bump @types/node from 20.14.6 to 20.14.7 (#6892) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.6 to 20.14.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c53ece4..f01af69 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.93.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.14.6", + "@types/node": "^20.14.7", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", "chai": "^5.1.1", From ca655c9267f2cfcf7ba2cfa0dd061dc81903b55c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:30:01 +0200 Subject: [PATCH 294/473] build(deps-dev): bump @types/node from 20.14.7 to 20.14.8 (#6906) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.7 to 20.14.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f01af69..90c0991 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.93.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.6", - "@types/node": "^20.14.7", + "@types/node": "^20.14.8", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", "chai": "^5.1.1", From 7d41e26bba726535379d825186476000795e99a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:30:15 +0200 Subject: [PATCH 295/473] build(deps-dev): bump typedoc from 0.25.13 to 0.26.2 (#6904) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.13 to 0.26.2. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.13...v0.26.2) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 90c0991..ce1a369 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", - "typedoc": "^0.25.13", + "typedoc": "^0.26.2", "typescript": "^5.4.5" } } From 772d96f3ca3d7dd54201b37a2f64c108a492d03d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:00:00 +0200 Subject: [PATCH 296/473] build(deps-dev): bump @types/mocha from 10.0.6 to 10.0.7 (#6903) Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 10.0.6 to 10.0.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha) --- updated-dependencies: - dependency-name: "@types/mocha" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index ce1a369..362e72d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "devDependencies": { "@solana/web3.js": "^1.93.0", "@types/chai": "^4.3.16", - "@types/mocha": "^10.0.6", + "@types/mocha": "^10.0.7", "@types/node": "^20.14.8", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", From 1ac665c8add703610039fb5ecbe423cf7abc3234 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:37:53 +0200 Subject: [PATCH 297/473] build(deps): bump @solana/web3.js from 1.93.0 to 1.93.1 (#6905) * build(deps): bump @solana/web3.js from 1.93.0 to 1.93.1 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.93.0 to 1.93.1. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.93.0...v1.93.1) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 362e72d..88abc5f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.93.0" + "@solana/web3.js": "^1.93.1" }, "dependencies": { "@solana/codecs": "2.0.0-preview.3", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.93.0", + "@solana/web3.js": "^1.93.1", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.8", From 5300bfb11b63a5e964842d5407e9d0d83ebd60d1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:16:50 +0200 Subject: [PATCH 298/473] build(deps-dev): bump typescript from 5.4.5 to 5.5.2 (#6894) * build(deps-dev): bump typescript from 5.4.5 to 5.5.2 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Explicitly specify @types/node dep in account-compression --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 88abc5f..1f56ac4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -69,6 +69,6 @@ "ts-node": "^10.9.2", "tslib": "^2.6.3", "typedoc": "^0.26.2", - "typescript": "^5.4.5" + "typescript": "^5.5.2" } } From 53766455a7124b2de71b36c1c03f41f1a26578de Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 25 Jun 2024 11:11:23 +0200 Subject: [PATCH 299/473] deps: Upgrade to Solana v2 (#6908) * solana: Update deps to 2.0.0 * Update lockfile * Update toolchain version * Update nightly version * Fix check issues * Fix clippy * Revert upgrade for account compression libs * Install build deps for serde test * Fixup versions * Fixup twoxtx build * Revert solana install version * Actually, get version 2.0.0 from the correct place --- interface/Cargo.toml | 2 +- program/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index fe654c8..cd16812 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" serde = { version = "1.0.203", optional = true } -solana-program = ">=1.18.11,<=2" +solana-program = "2.0.0" spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length-value" } diff --git a/program/Cargo.toml b/program/Cargo.toml index 175ebdb..bcf3a69 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = ">=1.18.11,<=2" +solana-program = "2.0.0" spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.3.3", path = "../interface" } spl-type-length-value = { version = "0.4.3" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.2.2", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = ">=1.18.11,<=2" -solana-sdk = ">=1.18.11,<=2" +solana-program-test = "2.0.0" +solana-sdk = "2.0.0" spl-token-client = { version = "0.10.0", path = "../../token/client" } test-case = "3.3" From 6abc6296ebc23c86c23568795c71c140cdad39da Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 25 Jun 2024 12:04:41 +0200 Subject: [PATCH 300/473] discriminator: Bump to 0.3.0 for Solana v2 (#6911) --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index cd16812..3fd2b4e 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -14,7 +14,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] borsh = "1.5.1" serde = { version = "1.0.203", optional = true } solana-program = "2.0.0" -spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" } +spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length-value" } spl-pod = { version = "0.2.2", path = "../../libraries/pod", features = [ From b40dbf4e44069cca9c43cb7bea830aea23ec943f Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 25 Jun 2024 12:50:09 +0200 Subject: [PATCH 301/473] program-error: Bump to 0.5.0 for Solana v2 compatibility (#6914) --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 3fd2b4e..721b5ae 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -15,7 +15,7 @@ borsh = "1.5.1" serde = { version = "1.0.203", optional = true } solana-program = "2.0.0" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } -spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" } +spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length-value" } spl-pod = { version = "0.2.2", path = "../../libraries/pod", features = [ "borsh", From 9fffeeb74865f8548f045121df24e0b82fcaf857 Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 25 Jun 2024 13:41:25 +0200 Subject: [PATCH 302/473] pod: Bump to 0.3.0 for Solana v2 compat (#6917) --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 721b5ae..4935712 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -17,7 +17,7 @@ solana-program = "2.0.0" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.2.2", path = "../../libraries/pod", features = [ +spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ "borsh", ] } diff --git a/program/Cargo.toml b/program/Cargo.toml index bcf3a69..68d29de 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -16,7 +16,7 @@ solana-program = "2.0.0" spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.3.3", path = "../interface" } spl-type-length-value = { version = "0.4.3" , path = "../../libraries/type-length-value" } -spl-pod = { version = "0.2.2", path = "../../libraries/pod" } +spl-pod = { version = "0.3.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "2.0.0" From ee9cdf2aa97003530ccf8b26c416d711f146dd49 Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 25 Jun 2024 14:10:20 +0200 Subject: [PATCH 303/473] tlv: Bump to 0.5.0 for Solana v2 compatibility (#6919) --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 4935712..1d64070 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -16,7 +16,7 @@ serde = { version = "1.0.203", optional = true } solana-program = "2.0.0" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } -spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.5.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ "borsh", ] } diff --git a/program/Cargo.toml b/program/Cargo.toml index 68d29de..603d5eb 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -15,7 +15,7 @@ test-sbf = [] solana-program = "2.0.0" spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.3.3", path = "../interface" } -spl-type-length-value = { version = "0.4.3" , path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.3.0", path = "../../libraries/pod" } [dev-dependencies] From 320770b8d090913d1347b32cf95d9d029699527d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:46:03 +0200 Subject: [PATCH 304/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.13.1 to 7.14.1 (#6927) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.13.1 to 7.14.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.14.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1f56ac4..775511f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.8", - "@typescript-eslint/eslint-plugin": "^7.13.1", + "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.13.1", "chai": "^5.1.1", "eslint": "^8.57.0", From e58cdbbce04e7e9105e13694862fd54ab0f990e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:46:31 +0200 Subject: [PATCH 305/473] build(deps-dev): bump mocha from 10.4.0 to 10.5.1 (#6921) Bumps [mocha](https://github.com/mochajs/mocha) from 10.4.0 to 10.5.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.4.0...v10.5.1) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 775511f..2bbbdea 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -63,7 +63,7 @@ "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", - "mocha": "^10.4.0", + "mocha": "^10.5.1", "prettier": "^3.3.2", "shx": "^0.3.4", "ts-node": "^10.9.2", From 1e3c9d83e0e822f7e80dbf374da16f91ad096d5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:02:44 +0200 Subject: [PATCH 306/473] build(deps-dev): bump @typescript-eslint/parser from 7.13.1 to 7.14.1 (#6922) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.13.1 to 7.14.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.14.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2bbbdea..2700b76 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^20.14.8", "@typescript-eslint/eslint-plugin": "^7.14.1", - "@typescript-eslint/parser": "^7.13.1", + "@typescript-eslint/parser": "^7.14.1", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 39bbbc649ca7c82a048bec480a3c4d4d9d5a83bb Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 25 Jun 2024 15:10:49 +0200 Subject: [PATCH 307/473] token-{metadata,group,transfer-hook}-interface: Bump for Solana v2 compatibility (#6929) * token-metadata-interface: Bump to 0.4.0 for Solana v2 * token-group-interface: Bump to v0.3.0 for Solana v2 * transfer-hook-interface: Bump to 0.7.0 * Update lockfile --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 1d64070..5310274 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.3.3" +version = "0.4.0" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" diff --git a/program/Cargo.toml b/program/Cargo.toml index 603d5eb..d91d153 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] solana-program = "2.0.0" spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } -spl-token-metadata-interface = { version = "0.3.3", path = "../interface" } +spl-token-metadata-interface = { version = "0.4.0", path = "../interface" } spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.3.0", path = "../../libraries/pod" } From 979d1305414ab50ed567fdcf984b4b148ba5ab60 Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 25 Jun 2024 15:42:18 +0200 Subject: [PATCH 308/473] token-2022: Bump to v4 for Solana v2 compatibility (#6930) --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index d91d153..e1fb441 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = "2.0.0" -spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.4.0", path = "../interface" } spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.3.0", path = "../../libraries/pod" } From 48f6d4f77df736e797a835f3d7cb0005e325f8e6 Mon Sep 17 00:00:00 2001 From: Jon C Date: Wed, 26 Jun 2024 01:39:08 +0200 Subject: [PATCH 309/473] token-client: Bump to v0.11 for Solana v2 compatibility (#6932) --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index e1fb441..f6bb9c6 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -21,7 +21,7 @@ spl-pod = { version = "0.3.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "2.0.0" solana-sdk = "2.0.0" -spl-token-client = { version = "0.10.0", path = "../../token/client" } +spl-token-client = { version = "0.11.0", path = "../../token/client" } test-case = "3.3" [lib] From decf96211ad3d3cb6057ee024c55e4d0097aef92 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Jun 2024 02:21:40 +0200 Subject: [PATCH 310/473] build(deps): bump serde_json from 1.0.117 to 1.0.118 (#6909) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.117 to 1.0.118. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.118) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 5310274..f44a4fc 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.117" +serde_json = "1.0.118" [lib] crate-type = ["cdylib", "lib"] From 58bd29c706504756f08fd0a5f10c08f42acf1056 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:03:04 +0200 Subject: [PATCH 311/473] build(deps-dev): bump @types/node from 20.14.8 to 20.14.9 (#6936) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.8 to 20.14.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2700b76..cebf5d5 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.93.1", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", - "@types/node": "^20.14.8", + "@types/node": "^20.14.9", "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.14.1", "chai": "^5.1.1", From 06f346ec23bbdfc55b96e0c686cd5f3fa5bac1b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 01:29:54 +0200 Subject: [PATCH 312/473] build(deps): bump @solana/web3.js from 1.93.1 to 1.93.2 (#6939) * build(deps): bump @solana/web3.js from 1.93.1 to 1.93.2 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.93.1 to 1.93.2. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.93.1...v1.93.2) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Fixup types --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index cebf5d5..661200e 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.93.1" + "@solana/web3.js": "^1.93.2" }, "dependencies": { "@solana/codecs": "2.0.0-preview.3", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.93.1", + "@solana/web3.js": "^1.93.2", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.9", From 7a29cc3acdb969cdb862e2f8012a33f9fdde8b56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:22:02 +0200 Subject: [PATCH 313/473] build(deps-dev): bump mocha from 10.5.1 to 10.5.2 (#6942) Bumps [mocha](https://github.com/mochajs/mocha) from 10.5.1 to 10.5.2. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.5.1...v10.5.2) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 661200e..0d5ff97 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -63,7 +63,7 @@ "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", - "mocha": "^10.5.1", + "mocha": "^10.5.2", "prettier": "^3.3.2", "shx": "^0.3.4", "ts-node": "^10.9.2", From f4511c4166b6f8a35adfb0b7af33123f92850d8d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 28 Jun 2024 16:51:30 +0200 Subject: [PATCH 314/473] build(deps-dev): bump typedoc from 0.26.2 to 0.26.3 (#6949) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.2 to 0.26.3. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.2...v0.26.3) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0d5ff97..dc45510 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", - "typedoc": "^0.26.2", + "typedoc": "^0.26.3", "typescript": "^5.5.2" } } From a52749e7bae04602543b524dd06f4d133899e74d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 28 Jun 2024 23:21:33 +0200 Subject: [PATCH 315/473] build(deps): bump @solana/web3.js from 1.93.2 to 1.93.4 (#6947) * build(deps): bump @solana/web3.js from 1.93.2 to 1.93.4 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.93.2 to 1.93.4. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.93.2...v1.93.4) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do it right * Kick CI * Really kick it --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index dc45510..af562f3 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.93.2" + "@solana/web3.js": "^1.93.4" }, "dependencies": { "@solana/codecs": "2.0.0-preview.3", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.93.2", + "@solana/web3.js": "^1.93.4", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.9", From 439dc6bd46818e8449e67a59b93672ad23efa41f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 23:20:42 +0200 Subject: [PATCH 316/473] build(deps): bump serde_json from 1.0.118 to 1.0.119 (#6957) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.118 to 1.0.119. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.118...v1.0.119) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index f44a4fc..35c0956 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.118" +serde_json = "1.0.119" [lib] crate-type = ["cdylib", "lib"] From 23ec114f4413af8c80a821f71c37abd818626d6a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 22:37:48 +0200 Subject: [PATCH 317/473] build(deps-dev): bump @typescript-eslint/parser from 7.14.1 to 7.15.0 (#6967) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.14.1 to 7.15.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.15.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index af562f3..edf2ba7 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^20.14.9", "@typescript-eslint/eslint-plugin": "^7.14.1", - "@typescript-eslint/parser": "^7.14.1", + "@typescript-eslint/parser": "^7.15.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 8a0d68d452a024275f98b7b08b84ac7f9a28e43c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 22:38:22 +0200 Subject: [PATCH 318/473] build(deps): bump serde_json from 1.0.119 to 1.0.120 (#6966) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.119 to 1.0.120. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.119...v1.0.120) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 35c0956..8ce665d 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.119" +serde_json = "1.0.120" [lib] crate-type = ["cdylib", "lib"] From 0304d71b8ddabe1cfec66fbb4708e07ac278403b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 22:52:07 +0200 Subject: [PATCH 319/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.14.1 to 7.15.0 (#6969) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.14.1 to 7.15.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.15.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index edf2ba7..fc2a993 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.9", - "@typescript-eslint/eslint-plugin": "^7.14.1", + "@typescript-eslint/eslint-plugin": "^7.15.0", "@typescript-eslint/parser": "^7.15.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 2fe41b65cbb988e51afe762d120126df3a7538b9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 23:08:09 +0200 Subject: [PATCH 320/473] build(deps-dev): bump typescript from 5.5.2 to 5.5.3 (#6971) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.5.2 to 5.5.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index fc2a993..2e505e6 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -69,6 +69,6 @@ "ts-node": "^10.9.2", "tslib": "^2.6.3", "typedoc": "^0.26.3", - "typescript": "^5.5.2" + "typescript": "^5.5.3" } } From d04bec2d76a1bd819a2c44cb6254d94261ddabf9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Jul 2024 00:04:30 +0100 Subject: [PATCH 321/473] build(deps): bump @solana/codecs from 2.0.0-preview.3 to 2.0.0-preview.4 (#6976) Bumps [@solana/codecs](https://github.com/solana-labs/solana-web3.js) from 2.0.0-preview.3 to 2.0.0-preview.4. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits) --- updated-dependencies: - dependency-name: "@solana/codecs" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2e505e6..6f1ad97 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -47,7 +47,7 @@ "@solana/web3.js": "^1.93.4" }, "dependencies": { - "@solana/codecs": "2.0.0-preview.3", + "@solana/codecs": "2.0.0-preview.4", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { From bd4aee09eed2ca712af8283edb1c6fa1535b091a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Jul 2024 00:04:56 +0100 Subject: [PATCH 322/473] build(deps-dev): bump mocha from 10.5.2 to 10.6.0 (#6975) Bumps [mocha](https://github.com/mochajs/mocha) from 10.5.2 to 10.6.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.5.2...v10.6.0) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6f1ad97..9f4a789 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -63,7 +63,7 @@ "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", - "mocha": "^10.5.2", + "mocha": "^10.6.0", "prettier": "^3.3.2", "shx": "^0.3.4", "ts-node": "^10.9.2", From dac3e4d9152c1a1a570b819573789caf177f0c8b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Jul 2024 23:54:14 +0100 Subject: [PATCH 323/473] build(deps): bump @solana/web3.js from 1.93.4 to 1.94.0 (#6963) * build(deps): bump @solana/web3.js from 1.93.4 to 1.94.0 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.93.4 to 1.94.0. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.93.4...v1.94.0) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9f4a789..b785f38 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.93.4" + "@solana/web3.js": "^1.94.0" }, "dependencies": { "@solana/codecs": "2.0.0-preview.4", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.93.4", + "@solana/web3.js": "^1.94.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.9", From 666b731bc416b1cff0ac2fc9f8df8960a7db054e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 21:54:31 +0200 Subject: [PATCH 324/473] build(deps): bump serde from 1.0.203 to 1.0.204 (#6983) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.203 to 1.0.204. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 8ce665d..040ce0d 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.203", optional = true } +serde = { version = "1.0.204", optional = true } solana-program = "2.0.0" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From 9d34756be8c3940c21cb927ae1ab845d856270d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 21:55:07 +0200 Subject: [PATCH 325/473] build(deps-dev): bump @types/node from 20.14.9 to 20.14.10 (#6987) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.9 to 20.14.10. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b785f38..20e974f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.94.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", - "@types/node": "^20.14.9", + "@types/node": "^20.14.10", "@typescript-eslint/eslint-plugin": "^7.15.0", "@typescript-eslint/parser": "^7.15.0", "chai": "^5.1.1", From f355cd049232b045f6f24cd7058777d450858e5b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 18:23:59 +0200 Subject: [PATCH 326/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.15.0 to 7.16.0 (#6996) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.15.0 to 7.16.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 20e974f..3b44438 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.10", - "@typescript-eslint/eslint-plugin": "^7.15.0", + "@typescript-eslint/eslint-plugin": "^7.16.0", "@typescript-eslint/parser": "^7.15.0", "chai": "^5.1.1", "eslint": "^8.57.0", From ffe570bbbf11f8c36773f784bcdb2ebb563473a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 18:24:18 +0200 Subject: [PATCH 327/473] build(deps-dev): bump typedoc from 0.26.3 to 0.26.4 (#7001) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.3 to 0.26.4. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.3...v0.26.4) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 3b44438..262e53d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", - "typedoc": "^0.26.3", + "typedoc": "^0.26.4", "typescript": "^5.5.3" } } From 4cd3bb9eabf1ce58c9b7aa10515b426b83c6b0c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 20:03:31 +0200 Subject: [PATCH 328/473] build(deps-dev): bump @typescript-eslint/parser from 7.15.0 to 7.16.0 (#6999) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.15.0 to 7.16.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 262e53d..cc09bce 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^20.14.10", "@typescript-eslint/eslint-plugin": "^7.16.0", - "@typescript-eslint/parser": "^7.15.0", + "@typescript-eslint/parser": "^7.16.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 87f758453414e896a672bda4e82f130551952771 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 13:53:25 +0200 Subject: [PATCH 329/473] build(deps-dev): bump prettier from 3.3.2 to 3.3.3 (#7015) Bumps [prettier](https://github.com/prettier/prettier) from 3.3.2 to 3.3.3. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.3.3) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index cc09bce..9ed3cda 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.6.0", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", From 8b72420d8f2616f845efb959f194e64d81d8fae4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 14:06:03 +0200 Subject: [PATCH 330/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.16.0 to 7.16.1 (#7018) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.16.0 to 7.16.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9ed3cda..79be1e6 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.10", - "@typescript-eslint/eslint-plugin": "^7.16.0", + "@typescript-eslint/eslint-plugin": "^7.16.1", "@typescript-eslint/parser": "^7.16.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 63eca64766066ab24318937286b772291c367f44 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 14:26:04 +0200 Subject: [PATCH 331/473] build(deps-dev): bump @typescript-eslint/parser from 7.16.0 to 7.16.1 (#7017) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.16.0 to 7.16.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 79be1e6..25895ad 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^20.14.10", "@typescript-eslint/eslint-plugin": "^7.16.1", - "@typescript-eslint/parser": "^7.16.0", + "@typescript-eslint/parser": "^7.16.1", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From b89f1056510c8f8258906de3d819cceb85f5eeec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:15:50 +0200 Subject: [PATCH 332/473] build(deps): bump @solana/web3.js from 1.94.0 to 1.95.0 (#6997) * build(deps): bump @solana/web3.js from 1.94.0 to 1.95.0 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.94.0 to 1.95.0. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.94.0...v1.95.0) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 25895ad..0498cc2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.94.0" + "@solana/web3.js": "^1.95.0" }, "dependencies": { "@solana/codecs": "2.0.0-preview.4", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.94.0", + "@solana/web3.js": "^1.95.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.10", From e3b0c7dace207cfd19ac2bbcab4bb23e0952b528 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jul 2024 14:16:41 +0200 Subject: [PATCH 333/473] build(deps-dev): bump @types/node from 20.14.10 to 20.14.11 (#7024) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.10 to 20.14.11. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0498cc2..bddd72d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.95.0", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", - "@types/node": "^20.14.10", + "@types/node": "^20.14.11", "@typescript-eslint/eslint-plugin": "^7.16.1", "@typescript-eslint/parser": "^7.16.1", "chai": "^5.1.1", From 0699a3f2e56cd3ac6a6400fb217608a91df5d1e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jul 2024 12:40:29 +0200 Subject: [PATCH 334/473] build(deps-dev): bump eslint-plugin-prettier from 5.1.3 to 5.2.1 (#7029) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.1.3 to 5.2.1. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.3...v5.2.1) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index bddd72d..d420adc 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.6.0", From 35a62614761d40f8e7c6bfcb0a7df652d3ccb423 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:04:04 +0200 Subject: [PATCH 335/473] build(deps): bump @solana/web3.js from 1.95.0 to 1.95.1 (#7028) * build(deps): bump @solana/web3.js from 1.95.0 to 1.95.1 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.95.0 to 1.95.1. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.95.0...v1.95.1) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d420adc..d90b7e8 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.95.0" + "@solana/web3.js": "^1.95.1" }, "dependencies": { "@solana/codecs": "2.0.0-preview.4", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.95.0", + "@solana/web3.js": "^1.95.1", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.11", From 2ec4cdeeebbf1300dc726870efddf660f833dcc7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 12:54:07 +0200 Subject: [PATCH 336/473] build(deps-dev): bump typedoc from 0.26.4 to 0.26.5 (#7036) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.4 to 0.26.5. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.4...v0.26.5) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d90b7e8..4a72993 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -68,7 +68,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", - "typedoc": "^0.26.4", + "typedoc": "^0.26.5", "typescript": "^5.5.3" } } From b8a2af51d7a5bbea6a20e8badcfa8201b50a4af1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 13:14:44 +0200 Subject: [PATCH 337/473] build(deps-dev): bump mocha from 10.6.0 to 10.7.0 (#7040) Bumps [mocha](https://github.com/mochajs/mocha) from 10.6.0 to 10.7.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.6.0...v10.7.0) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4a72993..a3f130e 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -63,7 +63,7 @@ "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", - "mocha": "^10.6.0", + "mocha": "^10.7.0", "prettier": "^3.3.3", "shx": "^0.3.4", "ts-node": "^10.9.2", From 952353c118ece5050de1850bce22c0b517a33393 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:26:15 +0200 Subject: [PATCH 338/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.16.1 to 7.17.0 (#7044) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.16.1 to 7.17.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.17.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a3f130e..9e7dc91 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^20.14.11", - "@typescript-eslint/eslint-plugin": "^7.16.1", + "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.16.1", "chai": "^5.1.1", "eslint": "^8.57.0", From aeeb893c1725854d798eafe2afe92b33b2ce8685 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:39:04 +0200 Subject: [PATCH 339/473] build(deps-dev): bump @typescript-eslint/parser from 7.16.1 to 7.17.0 (#7046) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.16.1 to 7.17.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.17.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9e7dc91..4cf7783 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^20.14.11", "@typescript-eslint/eslint-plugin": "^7.17.0", - "@typescript-eslint/parser": "^7.16.1", + "@typescript-eslint/parser": "^7.17.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From 527bd4bfee8fbc38d25efd0b8e12fcdb9f46367b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 14:00:57 +0200 Subject: [PATCH 340/473] build(deps-dev): bump typescript from 5.5.3 to 5.5.4 (#7045) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.5.3 to 5.5.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4cf7783..b560102 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -69,6 +69,6 @@ "ts-node": "^10.9.2", "tslib": "^2.6.3", "typedoc": "^0.26.5", - "typescript": "^5.5.3" + "typescript": "^5.5.4" } } From 0972131384ad143180a96a11c736a3839c019b66 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jul 2024 13:29:50 +0200 Subject: [PATCH 341/473] build(deps-dev): bump @types/node from 20.14.11 to 20.14.12 (#7049) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.11 to 20.14.12. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b560102..9894362 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.95.1", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", - "@types/node": "^20.14.11", + "@types/node": "^20.14.12", "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.17.0", "chai": "^5.1.1", From 42088b2fb269d508feb623ed7da535c60d4439a9 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 25 Jul 2024 16:53:13 +0200 Subject: [PATCH 342/473] ci: Bump crates to Solana 2.0.3 (#7047) * Run script * Update lockfile * Use "processed" instead of deprecated "recent" * Fixup account compression tests * account-compression: Remove `only` in test --- interface/Cargo.toml | 2 +- program/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 040ce0d..a9f27b2 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" serde = { version = "1.0.204", optional = true } -solana-program = "2.0.0" +solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.5.0", path = "../../libraries/type-length-value" } diff --git a/program/Cargo.toml b/program/Cargo.toml index f6bb9c6..8816b77 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "2.0.0" +solana-program = "2.0.3" spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.4.0", path = "../interface" } spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.3.0", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = "2.0.0" -solana-sdk = "2.0.0" +solana-program-test = "2.0.3" +solana-sdk = "2.0.3" spl-token-client = { version = "0.11.0", path = "../../token/client" } test-case = "3.3" From 359e26eeecfd6e424c9c6e7805fd4a47a17e6abe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 13:01:39 +0200 Subject: [PATCH 343/473] build(deps-dev): bump @types/node from 20.14.12 to 22.0.0 (#7065) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.12 to 22.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9894362..12f68ae 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.95.1", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", - "@types/node": "^20.14.12", + "@types/node": "^22.0.0", "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.17.0", "chai": "^5.1.1", From 8d632892c78da611af51fbe6c68d3a996dbe7a30 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 13:02:05 +0200 Subject: [PATCH 344/473] build(deps): bump serde_json from 1.0.120 to 1.0.121 (#7062) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.120 to 1.0.121. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index a9f27b2..c752adb 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.120" +serde_json = "1.0.121" [lib] crate-type = ["cdylib", "lib"] From b802d6dc8c1aa30a85f1542d54b41a7b24b567a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 18:25:30 +0200 Subject: [PATCH 345/473] build(deps): bump @solana/web3.js from 1.95.1 to 1.95.2 (#7068) * build(deps): bump @solana/web3.js from 1.95.1 to 1.95.2 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.95.1 to 1.95.2. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.95.1...v1.95.2) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Do it right --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 12f68ae..0af8410 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -44,14 +44,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.95.1" + "@solana/web3.js": "^1.95.2" }, "dependencies": { "@solana/codecs": "2.0.0-preview.4", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.95.1", + "@solana/web3.js": "^1.95.2", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/node": "^22.0.0", From 18b895b4a288615762c52ef1b7bd151fb92828ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:52:36 +0200 Subject: [PATCH 346/473] build(deps-dev): bump @typescript-eslint/parser from 7.17.0 to 7.18.0 (#7072) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.17.0 to 7.18.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.18.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0af8410..c26db06 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^22.0.0", "@typescript-eslint/eslint-plugin": "^7.17.0", - "@typescript-eslint/parser": "^7.17.0", + "@typescript-eslint/parser": "^7.18.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", From f48337f199585988908d2f3622a354832c142e43 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 13:24:02 +0200 Subject: [PATCH 347/473] build(deps): bump @solana/codecs from 2.0.0-preview.4 to 2.0.0-rc.0 (#7090) Bumps [@solana/codecs](https://github.com/solana-labs/solana-web3.js) from 2.0.0-preview.4 to 2.0.0-rc.0. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/commits/2.0.0-rc.0) --- updated-dependencies: - dependency-name: "@solana/codecs" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c26db06..e081544 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -47,7 +47,7 @@ "@solana/web3.js": "^1.95.2" }, "dependencies": { - "@solana/codecs": "2.0.0-preview.4", + "@solana/codecs": "2.0.0-rc.0", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { From 04720df67b6c4c9cf663c0db79c91d3795664061 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 13:24:24 +0200 Subject: [PATCH 348/473] build(deps-dev): bump @types/node from 22.0.0 to 22.0.2 (#7088) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.0.0 to 22.0.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e081544..4221caa 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.95.2", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", - "@types/node": "^22.0.0", + "@types/node": "^22.0.2", "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.18.0", "chai": "^5.1.1", From 563c4164d692fdf233d5ca80cbbc302951812d6f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 13:24:43 +0200 Subject: [PATCH 349/473] build(deps-dev): bump @types/chai from 4.3.16 to 4.3.17 (#7093) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.16 to 4.3.17. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4221caa..077e3b1 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -52,7 +52,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.95.2", - "@types/chai": "^4.3.16", + "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", "@types/node": "^22.0.2", "@typescript-eslint/eslint-plugin": "^7.17.0", From 08efd614f224ee7463254e364598c9014842a8f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:34:29 +0200 Subject: [PATCH 350/473] build(deps): bump serde_json from 1.0.121 to 1.0.122 (#7102) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.121 to 1.0.122. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.121...v1.0.122) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index c752adb..ab5e5cb 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.121" +serde_json = "1.0.122" [lib] crate-type = ["cdylib", "lib"] From e50724f76b5e133bcf7fec19717ba8d1db40912f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:50:55 +0200 Subject: [PATCH 351/473] build(deps-dev): bump @types/node from 22.0.2 to 22.0.3 (#7103) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.0.2 to 22.0.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 077e3b1..2bc82c7 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.95.2", "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", - "@types/node": "^22.0.2", + "@types/node": "^22.0.3", "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.18.0", "chai": "^5.1.1", From 47d307366321b3d424139dab72d02d7f21b09810 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 16:25:57 +0200 Subject: [PATCH 352/473] build(deps-dev): bump @types/node from 22.0.3 to 22.1.0 (#7111) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.0.3 to 22.1.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2bc82c7..c9a5edd 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@solana/web3.js": "^1.95.2", "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", - "@types/node": "^22.0.3", + "@types/node": "^22.1.0", "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.18.0", "chai": "^5.1.1", From 3673af732536c6b07021f2c604330bd4ba326945 Mon Sep 17 00:00:00 2001 From: Jon C Date: Mon, 5 Aug 2024 23:52:55 +0200 Subject: [PATCH 353/473] pnpm: Use workspace-wide prettier configuration (#7115) #### Problem There are still prettier configurations for each JS package in the repo. #### Solution Create repo-wide `.prettierignore` and `.prettierrc` files --- clients/js-legacy/.prettierignore | 5 ----- clients/js-legacy/.prettierrc | 7 ------- clients/js-legacy/package.json | 8 ++------ clients/js-legacy/src/instruction.ts | 20 ++++++++++---------- clients/js-legacy/test/instruction.test.ts | 14 +++++++------- 5 files changed, 19 insertions(+), 35 deletions(-) delete mode 100644 clients/js-legacy/.prettierignore delete mode 100644 clients/js-legacy/.prettierrc diff --git a/clients/js-legacy/.prettierignore b/clients/js-legacy/.prettierignore deleted file mode 100644 index 6da325e..0000000 --- a/clients/js-legacy/.prettierignore +++ /dev/null @@ -1,5 +0,0 @@ -docs -lib -test-ledger - -package-lock.json diff --git a/clients/js-legacy/.prettierrc b/clients/js-legacy/.prettierrc deleted file mode 100644 index b9ce4c1..0000000 --- a/clients/js-legacy/.prettierrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "printWidth": 120, - "trailingComma": "es5", - "tabWidth": 4, - "semi": true, - "singleQuote": true -} \ No newline at end of file diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c9a5edd..96d8859 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -33,9 +33,8 @@ "deploy": "npm run deploy:docs", "deploy:docs": "npm run docs && gh-pages --dest token-metadata/js --dist docs --dotfiles", "docs": "shx rm -rf docs && typedoc && shx cp .nojekyll docs/", - "fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'", - "lint": "prettier --check '{*,**/*}.{ts,tsx,js,jsx,json}' && eslint --max-warnings 0 .", - "lint:fix": "npm run fmt && eslint --fix .", + "lint": "eslint --max-warnings 0 .", + "lint:fix": "eslint --fix .", "nuke": "shx rm -rf node_modules package-lock.json || true", "postbuild": "shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json", "reinstall": "npm run nuke && npm install", @@ -59,12 +58,9 @@ "@typescript-eslint/parser": "^7.18.0", "chai": "^5.1.1", "eslint": "^8.57.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", "mocha": "^10.7.0", - "prettier": "^3.3.3", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", diff --git a/clients/js-legacy/src/instruction.ts b/clients/js-legacy/src/instruction.ts index b428d4f..2afdb11 100644 --- a/clients/js-legacy/src/instruction.ts +++ b/clients/js-legacy/src/instruction.ts @@ -71,8 +71,8 @@ export function createInitializeInstruction(args: InitializeInstructionArgs): Tr ['name', getStringEncoder()], ['symbol', getStringEncoder()], ['uri', getStringEncoder()], - ]) - ).encode({ name, symbol, uri }) + ]), + ).encode({ name, symbol, uri }), ), }); } @@ -103,8 +103,8 @@ export function createUpdateFieldInstruction(args: UpdateFieldInstruction): Tran getStructEncoder([ ['field', getDataEnumCodec(getFieldCodec())], ['value', getStringEncoder()], - ]) - ).encode({ field: getFieldConfig(field), value }) + ]), + ).encode({ field: getFieldConfig(field), value }), ), }); } @@ -131,8 +131,8 @@ export function createRemoveKeyInstruction(args: RemoveKeyInstructionArgs) { getStructEncoder([ ['idempotent', getBooleanEncoder()], ['key', getStringEncoder()], - ]) - ).encode({ idempotent, key }) + ]), + ).encode({ idempotent, key }), ), }); } @@ -156,8 +156,8 @@ export function createUpdateAuthorityInstruction(args: UpdateAuthorityInstructio data: Buffer.from( getInstructionEncoder( splDiscriminate('spl_token_metadata_interface:update_the_authority'), - getStructEncoder([['newAuthority', getPublicKeyEncoder()]]) - ).encode({ newAuthority: newAuthority ?? SystemProgram.programId }) + getStructEncoder([['newAuthority', getPublicKeyEncoder()]]), + ).encode({ newAuthority: newAuthority ?? SystemProgram.programId }), ), }); } @@ -180,8 +180,8 @@ export function createEmitInstruction(args: EmitInstructionArgs): TransactionIns getStructEncoder([ ['start', getOptionEncoder(getU64Encoder())], ['end', getOptionEncoder(getU64Encoder())], - ]) - ).encode({ start: start ?? null, end: end ?? null }) + ]), + ).encode({ start: start ?? null, end: end ?? null }), ), }); } diff --git a/clients/js-legacy/test/instruction.test.ts b/clients/js-legacy/test/instruction.test.ts index e206393..a9dded1 100644 --- a/clients/js-legacy/test/instruction.test.ts +++ b/clients/js-legacy/test/instruction.test.ts @@ -30,7 +30,7 @@ function checkPackUnpack( instruction: TransactionInstruction, discriminator: Uint8Array, decoder: Decoder, - values: T + values: T, ) { expect(instruction.data.subarray(0, 8)).to.deep.equal(discriminator); const unpacked = decoder.decode(instruction.data.subarray(8)); @@ -69,7 +69,7 @@ describe('Token Metadata Instructions', () => { ['symbol', getStringDecoder()], ['uri', getStringDecoder()], ]), - { name, symbol, uri } + { name, symbol, uri }, ); }); @@ -89,7 +89,7 @@ describe('Token Metadata Instructions', () => { ['key', getDataEnumCodec(getFieldCodec())], ['value', getStringDecoder()], ]), - { key: getFieldConfig(field), value } + { key: getFieldConfig(field), value }, ); }); @@ -109,7 +109,7 @@ describe('Token Metadata Instructions', () => { ['key', getDataEnumCodec(getFieldCodec())], ['value', getStringDecoder()], ]), - { key: getFieldConfig(field), value } + { key: getFieldConfig(field), value }, ); }); @@ -127,7 +127,7 @@ describe('Token Metadata Instructions', () => { ['idempotent', getBooleanDecoder()], ['key', getStringDecoder()], ]), - { idempotent: true, key: 'MyTestField' } + { idempotent: true, key: 'MyTestField' }, ); }); @@ -142,7 +142,7 @@ describe('Token Metadata Instructions', () => { }), splDiscriminate('spl_token_metadata_interface:update_the_authority'), getStructDecoder([['newAuthority', fixDecoderSize(getBytesDecoder(), 32)]]), - { newAuthority: Uint8Array.from(newAuthority.toBuffer()) } + { newAuthority: Uint8Array.from(newAuthority.toBuffer()) }, ); }); @@ -161,7 +161,7 @@ describe('Token Metadata Instructions', () => { ['start', getOptionDecoder(getU64Decoder())], ['end', getOptionDecoder(getU64Decoder())], ]), - { start, end } + { start, end }, ); }); }); From 6d0813415bec205bd6ab0bba08f55d08dd841f0b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 12:11:42 +0200 Subject: [PATCH 354/473] build(deps): bump serde from 1.0.204 to 1.0.205 (#7124) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.204 to 1.0.205. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.205) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index ab5e5cb..cfc36d1 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.204", optional = true } +serde = { version = "1.0.205", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From 289e420d3db43db583ea9b58c2519a109eb00566 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:28:40 +0200 Subject: [PATCH 355/473] build(deps): bump serde from 1.0.205 to 1.0.206 (#7131) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.205 to 1.0.206. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.205...v1.0.206) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index cfc36d1..948ba18 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.205", optional = true } +serde = { version = "1.0.206", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From 84230c91576f162a373bc4091847ecea2a77cb5c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:28:56 +0200 Subject: [PATCH 356/473] build(deps-dev): bump @types/node from 22.1.0 to 22.2.0 (#7133) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.1.0 to 22.2.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 96d8859..6c383f3 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.2", "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", - "@types/node": "^22.1.0", + "@types/node": "^22.2.0", "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.18.0", "chai": "^5.1.1", From 96714ea127bd18849853e7b81f2ffab9d95a24b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:29:06 +0200 Subject: [PATCH 357/473] build(deps): bump @solana/codecs from 2.0.0-rc.0 to 2.0.0-rc.1 (#7134) Bumps [@solana/codecs](https://github.com/solana-labs/solana-web3.js) from 2.0.0-rc.0 to 2.0.0-rc.1. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v2.0.0-rc.0...v2.0.0-rc.1) --- updated-dependencies: - dependency-name: "@solana/codecs" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 6c383f3..b6c06b9 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -46,7 +46,7 @@ "@solana/web3.js": "^1.95.2" }, "dependencies": { - "@solana/codecs": "2.0.0-rc.0", + "@solana/codecs": "2.0.0-rc.1", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { From dedcc70c87858be538ada24c0f626ba0d1b17377 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:29:17 +0200 Subject: [PATCH 358/473] build(deps-dev): bump mocha from 10.7.0 to 10.7.3 (#7136) Bumps [mocha](https://github.com/mochajs/mocha) from 10.7.0 to 10.7.3. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.7.0...v10.7.3) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b6c06b9..8b42ed3 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.1.1", - "mocha": "^10.7.0", + "mocha": "^10.7.3", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", From 965296ee6120f73ceeb8c320718e325aae43b4a1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:17:06 +0200 Subject: [PATCH 359/473] build(deps): bump serde_json from 1.0.122 to 1.0.124 (#7132) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.122 to 1.0.124. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.122...v1.0.124) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 948ba18..854453e 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.122" +serde_json = "1.0.124" [lib] crate-type = ["cdylib", "lib"] From 629339cd44516fc7895e4fe5a92dcb0910b1d73a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 12:22:01 +0200 Subject: [PATCH 360/473] build(deps): bump serde from 1.0.206 to 1.0.207 (#7139) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.206 to 1.0.207. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.207) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 854453e..dd04311 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.206", optional = true } +serde = { version = "1.0.207", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From eb7b0b5495047badb95377df47b663e68a788f7d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:31:53 +0200 Subject: [PATCH 361/473] build(deps-dev): bump @typescript-eslint/parser from 7.18.0 to 8.1.0 (#7140) * build(deps-dev): bump @typescript-eslint/parser from 7.18.0 to 8.1.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.18.0 to 8.1.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.1.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Allow in one place --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 8b42ed3..9d2e0f6 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^22.2.0", "@typescript-eslint/eslint-plugin": "^7.17.0", - "@typescript-eslint/parser": "^7.18.0", + "@typescript-eslint/parser": "^8.1.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", From 346f4d67801c61cf07bee1f0d55b4101a027e49b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 14:57:30 +0200 Subject: [PATCH 362/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.1.0 (#7141) * build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.17.0 to 8.1.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.1.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Fix all new lints * Trigger CI --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9d2e0f6..fb0dffa 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", "@types/node": "^22.2.0", - "@typescript-eslint/eslint-plugin": "^7.17.0", + "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 547595292f7a21ad42c2d04a828a20ae87306ac9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 18:24:17 -0400 Subject: [PATCH 363/473] build(deps-dev): bump @types/node from 22.2.0 to 22.3.0 (#7149) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.2.0 to 22.3.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index fb0dffa..26b732d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.2", "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", - "@types/node": "^22.2.0", + "@types/node": "^22.3.0", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", "chai": "^5.1.1", From b7999631af9a57a3e1224f731044fcd5b01636ae Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Aug 2024 08:48:10 -0400 Subject: [PATCH 364/473] build(deps): bump serde_json from 1.0.124 to 1.0.125 (#7157) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.124 to 1.0.125. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.125) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index dd04311..030e93a 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.124" +serde_json = "1.0.125" [lib] crate-type = ["cdylib", "lib"] From 17015ea9e8a7862a5262f444a79d5acc9d2e4d79 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Aug 2024 10:22:10 -0400 Subject: [PATCH 365/473] build(deps): bump serde from 1.0.207 to 1.0.208 (#7158) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.207 to 1.0.208. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 030e93a..57e9377 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.207", optional = true } +serde = { version = "1.0.208", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From 1b28e103f1434529c67bb3d980f60f83c280261b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 08:51:54 -0400 Subject: [PATCH 366/473] build(deps-dev): bump @types/node from 22.3.0 to 22.4.1 (#7170) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.3.0 to 22.4.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 26b732d..8c5815b 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.2", "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", - "@types/node": "^22.3.0", + "@types/node": "^22.4.1", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", "chai": "^5.1.1", From 2a5209b0b0260dc4195a49d325f46bc0b2955ca5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 08:52:16 -0400 Subject: [PATCH 367/473] build(deps-dev): bump typedoc from 0.26.5 to 0.26.6 (#7168) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.5 to 0.26.6. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.5...v0.26.6) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 8c5815b..1ab80a6 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.6.3", - "typedoc": "^0.26.5", + "typedoc": "^0.26.6", "typescript": "^5.5.4" } } From e8de09a9dae7faca4a9fa180f19e914536657a66 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 07:11:55 -0400 Subject: [PATCH 368/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.1.0 to 8.2.0 (#7172) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.1.0 to 8.2.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.2.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1ab80a6..1eebd44 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", "@types/node": "^22.4.1", - "@typescript-eslint/eslint-plugin": "^8.1.0", + "@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/parser": "^8.1.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 3d1d5a22d5f9f2d6fb003dbb474a5fb4ab4b866c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:58:18 +0200 Subject: [PATCH 369/473] build(deps-dev): bump @typescript-eslint/parser from 8.1.0 to 8.2.0 (#7173) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.1.0 to 8.2.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.2.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1eebd44..48fecbd 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^22.4.1", "@typescript-eslint/eslint-plugin": "^8.2.0", - "@typescript-eslint/parser": "^8.1.0", + "@typescript-eslint/parser": "^8.2.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", From 507e744181ca48c6ef2e90371e353d0d58e7ad8c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 13:45:11 +0200 Subject: [PATCH 370/473] build(deps): bump @solana/web3.js from 1.95.2 to 1.95.3 (#7177) Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.95.2 to 1.95.3. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.95.2...v1.95.3) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 48fecbd..be5f791 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -43,14 +43,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.95.2" + "@solana/web3.js": "^1.95.3" }, "dependencies": { "@solana/codecs": "2.0.0-rc.1", "@solana/spl-type-length-value": "0.1.0" }, "devDependencies": { - "@solana/web3.js": "^1.95.2", + "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", "@types/node": "^22.4.1", From ca15a2a500be25a245f23280558e2c78066dabe1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 13:45:20 +0200 Subject: [PATCH 371/473] build(deps-dev): bump @types/node from 22.4.1 to 22.4.2 (#7176) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.4.1 to 22.4.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index be5f791..f9d4490 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", - "@types/node": "^22.4.1", + "@types/node": "^22.4.2", "@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/parser": "^8.2.0", "chai": "^5.1.1", From 4fd791b4e1754d2fdf1a6bac8717d5b15a447457 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 18:35:46 +0200 Subject: [PATCH 372/473] build(deps-dev): bump @types/node from 22.4.2 to 22.5.0 (#7180) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.4.2 to 22.5.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f9d4490..48d3b17 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", - "@types/node": "^22.4.2", + "@types/node": "^22.5.0", "@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/parser": "^8.2.0", "chai": "^5.1.1", From 51ac80e6d68f428a87f6723730531a251c7757c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:57:55 +0200 Subject: [PATCH 373/473] build(deps): bump serde from 1.0.208 to 1.0.209 (#7187) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.208 to 1.0.209. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 57e9377..8a024b4 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.208", optional = true } +serde = { version = "1.0.209", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From 234384a395f04ba5297a95fe39f4ea54b0e09bc1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:58:09 +0200 Subject: [PATCH 374/473] build(deps-dev): bump @types/chai from 4.3.17 to 4.3.18 (#7189) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.17 to 4.3.18. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 48d3b17..e314277 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -51,7 +51,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.95.3", - "@types/chai": "^4.3.17", + "@types/chai": "^4.3.18", "@types/mocha": "^10.0.7", "@types/node": "^22.5.0", "@typescript-eslint/eslint-plugin": "^8.2.0", From 0155f6015cbc20027fcd352dede9ae205565f7a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:58:34 +0200 Subject: [PATCH 375/473] build(deps-dev): bump tslib from 2.6.3 to 2.7.0 (#7192) Bumps [tslib](https://github.com/Microsoft/tslib) from 2.6.3 to 2.7.0. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](https://github.com/Microsoft/tslib/compare/v2.6.3...v2.7.0) --- updated-dependencies: - dependency-name: tslib dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e314277..9129952 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -63,7 +63,7 @@ "mocha": "^10.7.3", "shx": "^0.3.4", "ts-node": "^10.9.2", - "tslib": "^2.6.3", + "tslib": "^2.7.0", "typedoc": "^0.26.6", "typescript": "^5.5.4" } From e6dfa5111150abdae419ef70e16af4f39cef2c1c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:36:36 +0200 Subject: [PATCH 376/473] build(deps): bump serde_json from 1.0.125 to 1.0.127 (#7188) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.125 to 1.0.127. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/1.0.125...1.0.127) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 8a024b4..1fb189f 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.125" +serde_json = "1.0.127" [lib] crate-type = ["cdylib", "lib"] From ffbe8be8374e14f400959ee858ed7113b04377a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:11:59 +0200 Subject: [PATCH 377/473] build(deps-dev): bump @typescript-eslint/parser from 8.2.0 to 8.3.0 (#7198) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.2.0 to 8.3.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.3.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9129952..a502c44 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^22.5.0", "@typescript-eslint/eslint-plugin": "^8.2.0", - "@typescript-eslint/parser": "^8.2.0", + "@typescript-eslint/parser": "^8.3.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", From c1c5a51ece4bef16e077af09496ae3354bad53cc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:24:02 +0200 Subject: [PATCH 378/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.2.0 to 8.3.0 (#7200) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.2.0 to 8.3.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.3.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a502c44..c280f88 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@types/chai": "^4.3.18", "@types/mocha": "^10.0.7", "@types/node": "^22.5.0", - "@typescript-eslint/eslint-plugin": "^8.2.0", + "@typescript-eslint/eslint-plugin": "^8.3.0", "@typescript-eslint/parser": "^8.3.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 60282617daf582706cea6aa7910a97a370f7260b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:07:57 +0000 Subject: [PATCH 379/473] Publish pod v0.3.2 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 1fb189f..72976f2 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -17,7 +17,7 @@ solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.5.0", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [ +spl-pod = { version = "0.3.2", path = "../../libraries/pod", features = [ "borsh", ] } diff --git a/program/Cargo.toml b/program/Cargo.toml index 8816b77..3bdc1b6 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -16,7 +16,7 @@ solana-program = "2.0.3" spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.4.0", path = "../interface" } spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } -spl-pod = { version = "0.3.0", path = "../../libraries/pod" } +spl-pod = { version = "0.3.2", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "2.0.3" From 0908656accbd91bf99bca2367824a4566562beaa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 21:49:52 +0000 Subject: [PATCH 380/473] Publish token-2022 v5.0.0 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 3bdc1b6..aa4c152 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = "2.0.3" -spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "5.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.4.0", path = "../interface" } spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.3.2", path = "../../libraries/pod" } From 580b5666bae93a3f29621e767833df1797736822 Mon Sep 17 00:00:00 2001 From: Joe C Date: Wed, 28 Aug 2024 17:35:16 +0800 Subject: [PATCH 381/473] Bump token-metadata-js and token-group-js (#7207) * token-metadata-js: bump * token-group-js: bump * update lockfile --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c280f88..0377cef 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -1,7 +1,7 @@ { "name": "@solana/spl-token-metadata", "description": "SPL Token Metadata Interface JS API", - "version": "0.1.3", + "version": "0.1.5", "author": "Solana Labs Maintainers ", "repository": "https://github.com/solana-labs/solana-program-library", "license": "Apache-2.0", From eedd4a0867efd4f63b3b112a9771080222312607 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 10:11:21 +0000 Subject: [PATCH 382/473] Publish pod v0.4.0 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 72976f2..8513ea3 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -17,7 +17,7 @@ solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.5.0", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.3.2", path = "../../libraries/pod", features = [ +spl-pod = { version = "0.4.0", path = "../../libraries/pod", features = [ "borsh", ] } diff --git a/program/Cargo.toml b/program/Cargo.toml index aa4c152..bc805c1 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -16,7 +16,7 @@ solana-program = "2.0.3" spl-token-2022 = { version = "5.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.4.0", path = "../interface" } spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } -spl-pod = { version = "0.3.2", path = "../../libraries/pod" } +spl-pod = { version = "0.4.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "2.0.3" From f4d8c810f16b757b03793a9575271da368324e36 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 12:48:36 +0200 Subject: [PATCH 383/473] build(deps-dev): bump @types/node from 22.5.0 to 22.5.1 (#7210) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.0 to 22.5.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0377cef..49af0cd 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.18", "@types/mocha": "^10.0.7", - "@types/node": "^22.5.0", + "@types/node": "^22.5.1", "@typescript-eslint/eslint-plugin": "^8.3.0", "@typescript-eslint/parser": "^8.3.0", "chai": "^5.1.1", From 30be47ce9af111bc4bf8c2993e972455cc40307b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:01:12 +0200 Subject: [PATCH 384/473] build(deps-dev): bump @types/chai from 4.3.18 to 4.3.19 (#7213) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.18 to 4.3.19. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 49af0cd..e32dd4c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -51,7 +51,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.95.3", - "@types/chai": "^4.3.18", + "@types/chai": "^4.3.19", "@types/mocha": "^10.0.7", "@types/node": "^22.5.1", "@typescript-eslint/eslint-plugin": "^8.3.0", From f15489f5ac50e8bbc17a7a1e9cfb563046fd9175 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 11:41:30 +0000 Subject: [PATCH 385/473] Publish token-metadata-interface v0.5.0 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 8513ea3..159bf7f 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.4.0" +version = "0.5.0" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" diff --git a/program/Cargo.toml b/program/Cargo.toml index bc805c1..3b56400 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] solana-program = "2.0.3" spl-token-2022 = { version = "5.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] } -spl-token-metadata-interface = { version = "0.4.0", path = "../interface" } +spl-token-metadata-interface = { version = "0.5.0", path = "../interface" } spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.4.0", path = "../../libraries/pod" } From 4e5f15d6a0756e0a96b1bd4a4d60531b6d4c5e91 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 12:34:07 +0000 Subject: [PATCH 386/473] Publish token-2022 v5.0.1 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 3b56400..89c9730 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = "2.0.3" -spl-token-2022 = { version = "5.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "5.0.1", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.5.0", path = "../interface" } spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.4.0", path = "../../libraries/pod" } From dfce15b467c287a12479c7e84cddfb3220c8f1a9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:21:45 +0000 Subject: [PATCH 387/473] Publish token-client v0.12.0 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 89c9730..85d490e 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -21,7 +21,7 @@ spl-pod = { version = "0.4.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "2.0.3" solana-sdk = "2.0.3" -spl-token-client = { version = "0.11.0", path = "../../token/client" } +spl-token-client = { version = "0.12.0", path = "../../token/client" } test-case = "3.3" [lib] From e6306c6526076171ab67a347d5f9793b69002146 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 21:55:15 +0200 Subject: [PATCH 388/473] build(deps-dev): bump @types/node from 22.5.1 to 22.5.2 (#7228) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.1 to 22.5.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e32dd4c..12909e2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.19", "@types/mocha": "^10.0.7", - "@types/node": "^22.5.1", + "@types/node": "^22.5.2", "@typescript-eslint/eslint-plugin": "^8.3.0", "@typescript-eslint/parser": "^8.3.0", "chai": "^5.1.1", From e11b4f55e826d760c0389ef78987bdccdcfc3bfe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 12:46:07 +0200 Subject: [PATCH 389/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.3.0 to 8.4.0 (#7231) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.3.0 to 8.4.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.4.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 12909e2..cf7d856 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@types/chai": "^4.3.19", "@types/mocha": "^10.0.7", "@types/node": "^22.5.2", - "@typescript-eslint/eslint-plugin": "^8.3.0", + "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.3.0", "chai": "^5.1.1", "eslint": "^8.57.0", From ca0ee2686f4836229edbd542ef570e1e11103a51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 12:59:05 +0200 Subject: [PATCH 390/473] build(deps-dev): bump @typescript-eslint/parser from 8.3.0 to 8.4.0 (#7232) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.3.0 to 8.4.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.4.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index cf7d856..4645796 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^22.5.2", "@typescript-eslint/eslint-plugin": "^8.4.0", - "@typescript-eslint/parser": "^8.3.0", + "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", From 54c079a913919d5227b699299a4982336cdb3cc6 Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 3 Sep 2024 14:46:06 +0200 Subject: [PATCH 391/473] Publish type-length-value v0.6.0 (#7233) --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 159bf7f..d2d256f 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -16,7 +16,7 @@ serde = { version = "1.0.209", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } -spl-type-length-value = { version = "0.5.0", path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.4.0", path = "../../libraries/pod", features = [ "borsh", ] } diff --git a/program/Cargo.toml b/program/Cargo.toml index 85d490e..26a26bf 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -15,7 +15,7 @@ test-sbf = [] solana-program = "2.0.3" spl-token-2022 = { version = "5.0.1", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.5.0", path = "../interface" } -spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.4.0", path = "../../libraries/pod" } [dev-dependencies] From 4ba49b7efe75577d80b41a3fbeca9501eb812831 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:43:40 +0000 Subject: [PATCH 392/473] Publish token-metadata-interface v0.5.1 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index d2d256f..4710757 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.5.0" +version = "0.5.1" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" diff --git a/program/Cargo.toml b/program/Cargo.toml index 26a26bf..1b88fa0 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] solana-program = "2.0.3" spl-token-2022 = { version = "5.0.1", path = "../../token/program-2022", features = ["no-entrypoint"] } -spl-token-metadata-interface = { version = "0.5.0", path = "../interface" } +spl-token-metadata-interface = { version = "0.5.1", path = "../interface" } spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.4.0", path = "../../libraries/pod" } From 882e5cd87358bfdd55e0ef81ca5dfd1def963ce5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:48:37 +0000 Subject: [PATCH 393/473] Publish token-2022 v5.0.2 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 1b88fa0..958a5e3 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = "2.0.3" -spl-token-2022 = { version = "5.0.1", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.5.1", path = "../interface" } spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.4.0", path = "../../libraries/pod" } From 1112b03c6a816b555f0accf67d1845b55a1a1dcb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 16:33:01 +0000 Subject: [PATCH 394/473] Publish token-client v0.12.1 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 958a5e3..11b6513 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -21,7 +21,7 @@ spl-pod = { version = "0.4.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "2.0.3" solana-sdk = "2.0.3" -spl-token-client = { version = "0.12.0", path = "../../token/client" } +spl-token-client = { version = "0.12.1", path = "../../token/client" } test-case = "3.3" [lib] From 21b1f8d42f3c56da382257d192b315826a926f6c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:52:35 +0200 Subject: [PATCH 395/473] build(deps-dev): bump @types/node from 22.5.2 to 22.5.3 (#7239) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.2 to 22.5.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4645796..12a48cf 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.19", "@types/mocha": "^10.0.7", - "@types/node": "^22.5.2", + "@types/node": "^22.5.3", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From 096362b9918a99daf1b420e6c0c844c82bd35a51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:15:35 +0200 Subject: [PATCH 396/473] build(deps): bump serde_json from 1.0.127 to 1.0.128 (#7241) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.127 to 1.0.128. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 4710757..b6094fc 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.4.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.127" +serde_json = "1.0.128" [lib] crate-type = ["cdylib", "lib"] From db461818e16a0d79944da8cbdab0ac533dc4dad2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:34:36 +0200 Subject: [PATCH 397/473] build(deps-dev): bump @types/node from 22.5.3 to 22.5.4 (#7242) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.3 to 22.5.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 12a48cf..0e45401 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.19", "@types/mocha": "^10.0.7", - "@types/node": "^22.5.3", + "@types/node": "^22.5.4", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From 8f52ce4b91c33352ad5ac04cde3cb3929166ab75 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 12:36:00 +0200 Subject: [PATCH 398/473] build(deps): bump serde from 1.0.209 to 1.0.210 (#7250) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.209 to 1.0.210. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index b6094fc..103f718 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.209", optional = true } +serde = { version = "1.0.210", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From f8a24029a611cef5ce3242228b648dfe252a6481 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 12:52:36 +0200 Subject: [PATCH 399/473] build(deps-dev): bump typedoc from 0.26.6 to 0.26.7 (#7254) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.6 to 0.26.7. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.6...v0.26.7) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0e45401..f67c364 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.7.0", - "typedoc": "^0.26.6", + "typedoc": "^0.26.7", "typescript": "^5.5.4" } } From d655f167457c68c092bc40f613759d080dceee7e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Sep 2024 15:09:04 +0200 Subject: [PATCH 400/473] build(deps-dev): bump typescript from 5.5.4 to 5.6.2 (#7255) Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.6.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f67c364..a277a0f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -65,6 +65,6 @@ "ts-node": "^10.9.2", "tslib": "^2.7.0", "typedoc": "^0.26.7", - "typescript": "^5.5.4" + "typescript": "^5.6.2" } } From f55c4994bf9738d534e45a4ecab7d577e13b2721 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Sep 2024 16:41:12 +0200 Subject: [PATCH 401/473] build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.4.0 to 8.5.0 (#7258) build(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.4.0 to 8.5.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.5.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a277a0f..efc5905 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,7 +54,7 @@ "@types/chai": "^4.3.19", "@types/mocha": "^10.0.7", "@types/node": "^22.5.4", - "@typescript-eslint/eslint-plugin": "^8.4.0", + "@typescript-eslint/eslint-plugin": "^8.5.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", "eslint": "^8.57.0", From 7505d4a25525589dfcabcba97a5ee113a24e9492 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:01:49 +0200 Subject: [PATCH 402/473] build(deps-dev): bump @typescript-eslint/parser from 8.4.0 to 8.5.0 (#7257) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.4.0 to 8.5.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.5.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index efc5905..446c0cd 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -55,7 +55,7 @@ "@types/mocha": "^10.0.7", "@types/node": "^22.5.4", "@typescript-eslint/eslint-plugin": "^8.5.0", - "@typescript-eslint/parser": "^8.4.0", + "@typescript-eslint/parser": "^8.5.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", From b375b367210029ebd26bbe678b13bb117dbf543d Mon Sep 17 00:00:00 2001 From: Joe C Date: Thu, 12 Sep 2024 18:12:47 +0800 Subject: [PATCH 403/473] Revert ESLint plugin bump (#7260) * Revert "build(deps-dev): bump @typescript-eslint/parser from 8.4.0 to 8.5.0 (#7257)" This reverts commit 6624a0c0fca95a96a317308945775ab523198fbf. * Revert "build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.4.0 to 8.5.0 (#7258)" This reverts commit af378bb47e693c3b0a30498b0c6fc926d486fc05. --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 446c0cd..a277a0f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -54,8 +54,8 @@ "@types/chai": "^4.3.19", "@types/mocha": "^10.0.7", "@types/node": "^22.5.4", - "@typescript-eslint/eslint-plugin": "^8.5.0", - "@typescript-eslint/parser": "^8.5.0", + "@typescript-eslint/eslint-plugin": "^8.4.0", + "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", From 3804c9c70a7b9d0f6693cf4aeb319d7c0d680dca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:02:22 +0200 Subject: [PATCH 404/473] build(deps-dev): bump @types/mocha from 10.0.7 to 10.0.8 (#7275) Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 10.0.7 to 10.0.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha) --- updated-dependencies: - dependency-name: "@types/mocha" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a277a0f..83abcea 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -52,7 +52,7 @@ "devDependencies": { "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.19", - "@types/mocha": "^10.0.7", + "@types/mocha": "^10.0.8", "@types/node": "^22.5.4", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", From 6315c5247e81fc201137b692268f05a49390df48 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 00:38:23 +0800 Subject: [PATCH 405/473] build(deps-dev): bump @types/node from 22.5.4 to 22.5.5 (#7279) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.4 to 22.5.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 83abcea..e596a00 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.19", "@types/mocha": "^10.0.8", - "@types/node": "^22.5.4", + "@types/node": "^22.5.5", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From 40a0c8165c85cf68935f01ee8f023073415b483e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 12:55:31 +0200 Subject: [PATCH 406/473] build(deps-dev): bump @types/node from 22.5.5 to 22.6.1 (#7295) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.5 to 22.6.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e596a00..1a22e21 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.19", "@types/mocha": "^10.0.8", - "@types/node": "^22.5.5", + "@types/node": "^22.6.1", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From 241d79d40b0739382a16b38faa732c50268b3f80 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:51:44 +0200 Subject: [PATCH 407/473] build(deps-dev): bump @types/node from 22.6.1 to 22.7.0 (#7302) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.6.1 to 22.7.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1a22e21..e32aefb 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^4.3.19", "@types/mocha": "^10.0.8", - "@types/node": "^22.6.1", + "@types/node": "^22.7.0", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From 0fb22facc7f126bbe439f8ab3a856564ef6d1227 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:51:56 +0200 Subject: [PATCH 408/473] build(deps-dev): bump @types/chai from 4.3.19 to 5.0.0 (#7303) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.19 to 5.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e32aefb..d65948b 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -51,7 +51,7 @@ }, "devDependencies": { "@solana/web3.js": "^1.95.3", - "@types/chai": "^4.3.19", + "@types/chai": "^5.0.0", "@types/mocha": "^10.0.8", "@types/node": "^22.7.0", "@typescript-eslint/eslint-plugin": "^8.4.0", From efae268748aa01495e9aa6eea85a11d502bc1bd5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 00:19:47 -0400 Subject: [PATCH 409/473] build(deps-dev): bump @types/node from 22.7.0 to 22.7.2 (#7307) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.0 to 22.7.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index d65948b..aa975b4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.8", - "@types/node": "^22.7.0", + "@types/node": "^22.7.2", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From a2cd2ae5c80164ced2375b88a90bfe7aa75b014e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 10:45:46 -0400 Subject: [PATCH 410/473] build(deps-dev): bump @types/node from 22.7.2 to 22.7.4 (#7310) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.2 to 22.7.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index aa975b4..27df466 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.8", - "@types/node": "^22.7.2", + "@types/node": "^22.7.4", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From a7a769288a3b4982764561a478d8fae09e9c2761 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:39:12 -0400 Subject: [PATCH 411/473] build(deps-dev): bump typedoc from 0.26.7 to 0.26.8 (#7330) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.7 to 0.26.8. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.7...v0.26.8) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 27df466..3ff4823 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.7.0", - "typedoc": "^0.26.7", + "typedoc": "^0.26.8", "typescript": "^5.6.2" } } From fa33c1f44fab08ae99522b2624e62c53e90330f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:48:39 +0200 Subject: [PATCH 412/473] build(deps-dev): bump @types/mocha from 10.0.8 to 10.0.9 (#7338) Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 10.0.8 to 10.0.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha) --- updated-dependencies: - dependency-name: "@types/mocha" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 3ff4823..bfbf004 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -52,7 +52,7 @@ "devDependencies": { "@solana/web3.js": "^1.95.3", "@types/chai": "^5.0.0", - "@types/mocha": "^10.0.8", + "@types/mocha": "^10.0.9", "@types/node": "^22.7.4", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", From 46e07a1373cc4285e30e114c1883562f540b693e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:03:53 +0200 Subject: [PATCH 413/473] build(deps-dev): bump @types/node from 22.7.4 to 22.7.5 (#7337) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.4 to 22.7.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index bfbf004..752121f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.9", - "@types/node": "^22.7.4", + "@types/node": "^22.7.5", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From 1bcac2a90a05054841c5f8198e925ca951991ca5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 13:53:28 +0200 Subject: [PATCH 414/473] build(deps-dev): bump typescript from 5.6.2 to 5.6.3 (#7343) Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.6.2 to 5.6.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.2...v5.6.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 752121f..da42015 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -65,6 +65,6 @@ "ts-node": "^10.9.2", "tslib": "^2.7.0", "typedoc": "^0.26.8", - "typescript": "^5.6.2" + "typescript": "^5.6.3" } } From 2c61feeef38f4b33f10d778ba8e3b2eb3f0a4e00 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:38:01 +0200 Subject: [PATCH 415/473] build(deps-dev): bump gh-pages from 6.1.1 to 6.2.0 (#7344) Bumps [gh-pages](https://github.com/tschaub/gh-pages) from 6.1.1 to 6.2.0. - [Release notes](https://github.com/tschaub/gh-pages/releases) - [Changelog](https://github.com/tschaub/gh-pages/blob/main/changelog.md) - [Commits](https://github.com/tschaub/gh-pages/compare/v6.1.1...v6.2.0) --- updated-dependencies: - dependency-name: gh-pages dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index da42015..5a8fa3b 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -59,7 +59,7 @@ "chai": "^5.1.1", "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", - "gh-pages": "^6.1.1", + "gh-pages": "^6.2.0", "mocha": "^10.7.3", "shx": "^0.3.4", "ts-node": "^10.9.2", From 58765489deafeda08df609b884c33184ff5407f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 17:18:10 +0200 Subject: [PATCH 416/473] build(deps-dev): bump typedoc from 0.26.8 to 0.26.9 (#7346) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.8 to 0.26.9. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.8...v0.26.9) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 5a8fa3b..426a2eb 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.7.0", - "typedoc": "^0.26.8", + "typedoc": "^0.26.9", "typescript": "^5.6.3" } } From 6c046d33f93844f6612f2ddf305b2aef1d1dce39 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 13:06:12 +0200 Subject: [PATCH 417/473] build(deps-dev): bump typedoc from 0.26.9 to 0.26.10 (#7352) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.9 to 0.26.10. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.9...v0.26.10) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 426a2eb..37d5418 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.7.0", - "typedoc": "^0.26.9", + "typedoc": "^0.26.10", "typescript": "^5.6.3" } } From b17f40f052e4d23284d61fd1a47617c241a838e8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 13:31:35 +0200 Subject: [PATCH 418/473] build(deps-dev): bump tslib from 2.7.0 to 2.8.0 (#7353) Bumps [tslib](https://github.com/Microsoft/tslib) from 2.7.0 to 2.8.0. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](https://github.com/Microsoft/tslib/compare/v2.7.0...v2.8.0) --- updated-dependencies: - dependency-name: tslib dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 37d5418..ee747e6 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -63,7 +63,7 @@ "mocha": "^10.7.3", "shx": "^0.3.4", "ts-node": "^10.9.2", - "tslib": "^2.7.0", + "tslib": "^2.8.0", "typedoc": "^0.26.10", "typescript": "^5.6.3" } From af983d735f4a59721b54accd6713698ea418a2b4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 13:40:19 +0200 Subject: [PATCH 419/473] build(deps-dev): bump @types/node from 22.7.5 to 22.7.6 (#7362) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.5 to 22.7.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index ee747e6..82cad17 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.3", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.9", - "@types/node": "^22.7.5", + "@types/node": "^22.7.6", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From 247204b7f53996db353e91d54205054fa2b9b2ea Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Thu, 17 Oct 2024 09:57:55 -0700 Subject: [PATCH 420/473] Hardcode the discriminators so that you don't have to compute them at runtime (#7360) * Hardcode the discriminators so that you don't have to compute them at runtime * Don't run tests in libraries on Node older than v20 * Update versions --- clients/js-legacy/package.json | 6 ++--- clients/js-legacy/src/instruction.ts | 26 +++++++++++++++++----- clients/js-legacy/test/instruction.test.ts | 24 ++++++++++---------- 3 files changed, 35 insertions(+), 21 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 82cad17..809e0c2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -1,7 +1,7 @@ { "name": "@solana/spl-token-metadata", "description": "SPL Token Metadata Interface JS API", - "version": "0.1.5", + "version": "0.1.6", "author": "Solana Labs Maintainers ", "repository": "https://github.com/solana-labs/solana-program-library", "license": "Apache-2.0", @@ -46,10 +46,10 @@ "@solana/web3.js": "^1.95.3" }, "dependencies": { - "@solana/codecs": "2.0.0-rc.1", - "@solana/spl-type-length-value": "0.1.0" + "@solana/codecs": "2.0.0-rc.1" }, "devDependencies": { + "@solana/spl-type-length-value": "0.2.0", "@solana/web3.js": "^1.95.3", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.9", diff --git a/clients/js-legacy/src/instruction.ts b/clients/js-legacy/src/instruction.ts index 2afdb11..44fc4a3 100644 --- a/clients/js-legacy/src/instruction.ts +++ b/clients/js-legacy/src/instruction.ts @@ -14,7 +14,6 @@ import { transformEncoder, } from '@solana/codecs'; import type { VariableSizeEncoder } from '@solana/codecs'; -import { splDiscriminate } from '@solana/spl-type-length-value'; import type { PublicKey } from '@solana/web3.js'; import { SystemProgram, TransactionInstruction } from '@solana/web3.js'; @@ -66,7 +65,10 @@ export function createInitializeInstruction(args: InitializeInstructionArgs): Tr ], data: Buffer.from( getInstructionEncoder( - splDiscriminate('spl_token_metadata_interface:initialize_account'), + new Uint8Array([ + /* await splDiscriminate('spl_token_metadata_interface:initialize_account') */ + 210, 225, 30, 162, 88, 184, 77, 141, + ]), getStructEncoder([ ['name', getStringEncoder()], ['symbol', getStringEncoder()], @@ -99,7 +101,10 @@ export function createUpdateFieldInstruction(args: UpdateFieldInstruction): Tran ], data: Buffer.from( getInstructionEncoder( - splDiscriminate('spl_token_metadata_interface:updating_field'), + new Uint8Array([ + /* await splDiscriminate('spl_token_metadata_interface:updating_field') */ + 221, 233, 49, 45, 181, 202, 220, 200, + ]), getStructEncoder([ ['field', getDataEnumCodec(getFieldCodec())], ['value', getStringEncoder()], @@ -127,7 +132,10 @@ export function createRemoveKeyInstruction(args: RemoveKeyInstructionArgs) { ], data: Buffer.from( getInstructionEncoder( - splDiscriminate('spl_token_metadata_interface:remove_key_ix'), + new Uint8Array([ + /* await splDiscriminate('spl_token_metadata_interface:remove_key_ix') */ + 234, 18, 32, 56, 89, 141, 37, 181, + ]), getStructEncoder([ ['idempotent', getBooleanEncoder()], ['key', getStringEncoder()], @@ -155,7 +163,10 @@ export function createUpdateAuthorityInstruction(args: UpdateAuthorityInstructio ], data: Buffer.from( getInstructionEncoder( - splDiscriminate('spl_token_metadata_interface:update_the_authority'), + new Uint8Array([ + /* await splDiscriminate('spl_token_metadata_interface:update_the_authority') */ + 215, 228, 166, 228, 84, 100, 86, 123, + ]), getStructEncoder([['newAuthority', getPublicKeyEncoder()]]), ).encode({ newAuthority: newAuthority ?? SystemProgram.programId }), ), @@ -176,7 +187,10 @@ export function createEmitInstruction(args: EmitInstructionArgs): TransactionIns keys: [{ isSigner: false, isWritable: false, pubkey: metadata }], data: Buffer.from( getInstructionEncoder( - splDiscriminate('spl_token_metadata_interface:emitter'), + new Uint8Array([ + /* await splDiscriminate('spl_token_metadata_interface:emitter') */ + 250, 166, 180, 250, 13, 12, 184, 70, + ]), getStructEncoder([ ['start', getOptionEncoder(getU64Encoder())], ['end', getOptionEncoder(getU64Encoder())], diff --git a/clients/js-legacy/test/instruction.test.ts b/clients/js-legacy/test/instruction.test.ts index a9dded1..2641238 100644 --- a/clients/js-legacy/test/instruction.test.ts +++ b/clients/js-legacy/test/instruction.test.ts @@ -48,7 +48,7 @@ describe('Token Metadata Instructions', () => { const mint = new PublicKey('55555555555555555555555555555555555555555555'); const mintAuthority = new PublicKey('66666666666666666666666666666666666666666666'); - it('Can create Initialize Instruction', () => { + it('Can create Initialize Instruction', async () => { const name = 'My test token'; const symbol = 'TEST'; const uri = 'http://test.test'; @@ -63,7 +63,7 @@ describe('Token Metadata Instructions', () => { symbol, uri, }), - splDiscriminate('spl_token_metadata_interface:initialize_account'), + await splDiscriminate('spl_token_metadata_interface:initialize_account'), getStructDecoder([ ['name', getStringDecoder()], ['symbol', getStringDecoder()], @@ -73,7 +73,7 @@ describe('Token Metadata Instructions', () => { ); }); - it('Can create Update Field Instruction', () => { + it('Can create Update Field Instruction', async () => { const field = 'MyTestField'; const value = 'http://test.uri'; checkPackUnpack( @@ -84,7 +84,7 @@ describe('Token Metadata Instructions', () => { field, value, }), - splDiscriminate('spl_token_metadata_interface:updating_field'), + await splDiscriminate('spl_token_metadata_interface:updating_field'), getStructDecoder([ ['key', getDataEnumCodec(getFieldCodec())], ['value', getStringDecoder()], @@ -93,7 +93,7 @@ describe('Token Metadata Instructions', () => { ); }); - it('Can create Update Field Instruction with Field Enum', () => { + it('Can create Update Field Instruction with Field Enum', async () => { const field = 'Name'; const value = 'http://test.uri'; checkPackUnpack( @@ -104,7 +104,7 @@ describe('Token Metadata Instructions', () => { field, value, }), - splDiscriminate('spl_token_metadata_interface:updating_field'), + await splDiscriminate('spl_token_metadata_interface:updating_field'), getStructDecoder([ ['key', getDataEnumCodec(getFieldCodec())], ['value', getStringDecoder()], @@ -113,7 +113,7 @@ describe('Token Metadata Instructions', () => { ); }); - it('Can create Remove Key Instruction', () => { + it('Can create Remove Key Instruction', async () => { checkPackUnpack( createRemoveKeyInstruction({ programId, @@ -122,7 +122,7 @@ describe('Token Metadata Instructions', () => { key: 'MyTestField', idempotent: true, }), - splDiscriminate('spl_token_metadata_interface:remove_key_ix'), + await splDiscriminate('spl_token_metadata_interface:remove_key_ix'), getStructDecoder([ ['idempotent', getBooleanDecoder()], ['key', getStringDecoder()], @@ -131,7 +131,7 @@ describe('Token Metadata Instructions', () => { ); }); - it('Can create Update Authority Instruction', () => { + it('Can create Update Authority Instruction', async () => { const newAuthority = PublicKey.default; checkPackUnpack( createUpdateAuthorityInstruction({ @@ -140,13 +140,13 @@ describe('Token Metadata Instructions', () => { oldAuthority: updateAuthority, newAuthority, }), - splDiscriminate('spl_token_metadata_interface:update_the_authority'), + await splDiscriminate('spl_token_metadata_interface:update_the_authority'), getStructDecoder([['newAuthority', fixDecoderSize(getBytesDecoder(), 32)]]), { newAuthority: Uint8Array.from(newAuthority.toBuffer()) }, ); }); - it('Can create Emit Instruction', () => { + it('Can create Emit Instruction', async () => { const start: Option = some(0n); const end: Option = some(10n); checkPackUnpack( @@ -156,7 +156,7 @@ describe('Token Metadata Instructions', () => { start: 0n, end: 10n, }), - splDiscriminate('spl_token_metadata_interface:emitter'), + await splDiscriminate('spl_token_metadata_interface:emitter'), getStructDecoder([ ['start', getOptionDecoder(getU64Decoder())], ['end', getOptionDecoder(getU64Decoder())], From be2b82a769ba7e6172fff155a6981258a6f1053f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:40:30 +0200 Subject: [PATCH 421/473] build(deps): bump serde_json from 1.0.128 to 1.0.129 (#7364) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.128 to 1.0.129. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.129) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 103f718..55ce0e2 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.4.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.128" +serde_json = "1.0.129" [lib] crate-type = ["cdylib", "lib"] From 8ce8b24137c9114559ded39797509befbfe184e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:32:55 +0200 Subject: [PATCH 422/473] build(deps): bump @solana/web3.js from 1.95.3 to 1.95.4 (#7366) * build(deps): bump @solana/web3.js from 1.95.3 to 1.95.4 Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.95.3 to 1.95.4. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.95.3...v1.95.4) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update everywhere --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 809e0c2..fbe5e5d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -43,14 +43,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.95.3" + "@solana/web3.js": "^1.95.4" }, "dependencies": { "@solana/codecs": "2.0.0-rc.1" }, "devDependencies": { "@solana/spl-type-length-value": "0.2.0", - "@solana/web3.js": "^1.95.3", + "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.9", "@types/node": "^22.7.6", From cee5b9bc7e6b9bc3a7f6438c834e5a0861c94782 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:55:33 +0200 Subject: [PATCH 423/473] build(deps): bump serde_json from 1.0.129 to 1.0.132 (#7372) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.129 to 1.0.132. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/1.0.129...1.0.132) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 55ce0e2..f63312b 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ spl-pod = { version = "0.4.0", path = "../../libraries/pod", features = [ ] } [dev-dependencies] -serde_json = "1.0.129" +serde_json = "1.0.132" [lib] crate-type = ["cdylib", "lib"] From dd99dec6304112b7ee3bde5dfdec2dde4246c5b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 13:18:07 +0200 Subject: [PATCH 424/473] build(deps-dev): bump @types/node from 22.7.6 to 22.7.7 (#7373) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.6 to 22.7.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index fbe5e5d..976bc0d 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.9", - "@types/node": "^22.7.6", + "@types/node": "^22.7.7", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From 877f5fd31650c29362f8c0167bc0f20e4d02f875 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:52:40 +0200 Subject: [PATCH 425/473] build(deps): bump serde from 1.0.210 to 1.0.211 (#7380) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.210 to 1.0.211. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.211) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index f63312b..a6d65e8 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.210", optional = true } +serde = { version = "1.0.211", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From 04a975cd7abd6298d0de5b4f3f8d888ac7c7e99b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:53:26 +0200 Subject: [PATCH 426/473] build(deps-dev): bump @types/node from 22.7.7 to 22.7.8 (#7384) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.7 to 22.7.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 976bc0d..06f69d2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.9", - "@types/node": "^22.7.7", + "@types/node": "^22.7.8", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.1", From 9269bdc52288142b7baa8324d6f42951f51f44ef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:43:59 +0200 Subject: [PATCH 427/473] build(deps): bump serde from 1.0.211 to 1.0.213 (#7388) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.211 to 1.0.213. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.211...v1.0.213) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index a6d65e8..cd2fe6e 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.211", optional = true } +serde = { version = "1.0.213", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From 57712487148f00fc7553a3bc400c48efd60d3eb6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:44:11 +0200 Subject: [PATCH 428/473] build(deps-dev): bump chai from 5.1.1 to 5.1.2 (#7389) Bumps [chai](https://github.com/chaijs/chai) from 5.1.1 to 5.1.2. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](https://github.com/chaijs/chai/compare/v5.1.1...v5.1.2) --- updated-dependencies: - dependency-name: chai dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 06f69d2..b2e41e5 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -56,7 +56,7 @@ "@types/node": "^22.7.8", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", - "chai": "^5.1.1", + "chai": "^5.1.2", "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.2.0", From a1bcf9744675515c01d1585fa723696369a8ac34 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:44:23 +0200 Subject: [PATCH 429/473] build(deps-dev): bump @types/node from 22.7.8 to 22.7.9 (#7390) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.8 to 22.7.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b2e41e5..3761c2e 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.9", - "@types/node": "^22.7.8", + "@types/node": "^22.7.9", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From 3410f02143147c3c30ef142b4410a5817c3d9bdf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:07:08 +0100 Subject: [PATCH 430/473] build(deps-dev): bump @types/node from 22.7.9 to 22.8.1 (#7401) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.9 to 22.8.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 3761c2e..909651c 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.9", - "@types/node": "^22.7.9", + "@types/node": "^22.8.1", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From edea447674b2a171492844f763168d3834d7d295 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 11:36:21 +0100 Subject: [PATCH 431/473] build(deps): bump serde from 1.0.213 to 1.0.214 (#7405) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.213 to 1.0.214. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.213...v1.0.214) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index cd2fe6e..4771849 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" -serde = { version = "1.0.213", optional = true } +serde = { version = "1.0.214", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } From bb4c10e0f0c2473c0b92dd552f98340b1abae89c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 11:36:43 +0100 Subject: [PATCH 432/473] build(deps-dev): bump @types/node from 22.8.1 to 22.8.2 (#7407) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.8.1 to 22.8.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 909651c..2813ff9 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.0", "@types/mocha": "^10.0.9", - "@types/node": "^22.8.1", + "@types/node": "^22.8.2", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From 18fa2fd219424a6f0a9445943e88a07382c1d964 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 11:36:52 +0100 Subject: [PATCH 433/473] build(deps-dev): bump @types/chai from 5.0.0 to 5.0.1 (#7409) Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai) --- updated-dependencies: - dependency-name: "@types/chai" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2813ff9..b0a3e97 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -51,7 +51,7 @@ "devDependencies": { "@solana/spl-type-length-value": "0.2.0", "@solana/web3.js": "^1.95.4", - "@types/chai": "^5.0.0", + "@types/chai": "^5.0.1", "@types/mocha": "^10.0.9", "@types/node": "^22.8.2", "@typescript-eslint/eslint-plugin": "^8.4.0", From 4f072c215e73af0667e69444771660e254c336d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 12:09:51 +0100 Subject: [PATCH 434/473] build(deps-dev): bump mocha from 10.7.3 to 10.8.1 (#7413) Bumps [mocha](https://github.com/mochajs/mocha) from 10.7.3 to 10.8.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.7.3...v10.8.1) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b0a3e97..3dd2125 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.2.0", - "mocha": "^10.7.3", + "mocha": "^10.8.1", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.0", From f4f0f10ebd0d4d9c9c9558f04f9643ee5802f5e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 12:10:12 +0100 Subject: [PATCH 435/473] build(deps-dev): bump @types/node from 22.8.2 to 22.8.4 (#7411) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.8.2 to 22.8.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 3dd2125..18ec7c0 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.9", - "@types/node": "^22.8.2", + "@types/node": "^22.8.4", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From 3212ec36332dccd9904417b91bf4d634205b3746 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 12:13:32 +0100 Subject: [PATCH 436/473] build(deps-dev): bump mocha from 10.8.1 to 10.8.2 (#7422) Bumps [mocha](https://github.com/mochajs/mocha) from 10.8.1 to 10.8.2. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.8.1...v10.8.2) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 18ec7c0..b9413a2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.2.0", - "mocha": "^10.8.1", + "mocha": "^10.8.2", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.0", From 8cf841a0d8f8b4dcbfea882f19e99909688be68c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 12:13:40 +0100 Subject: [PATCH 437/473] build(deps-dev): bump @types/node from 22.8.4 to 22.8.5 (#7423) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.8.4 to 22.8.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index b9413a2..9c6f979 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.9", - "@types/node": "^22.8.4", + "@types/node": "^22.8.5", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From 1b52382c70b47d919b1904bd81ee43df02d65bbf Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 31 Oct 2024 12:25:30 +0100 Subject: [PATCH 438/473] CI: Update to Solana v2.1 crates (#7416) * Run update script, update curve25519-dalek dep, rust * Run clippy + fmt * Add workspace lints, start fixing doc comments * Update doc comments for clippy * Re-run cargo fmt after doc comment update * Update solana-version * Update CI jobs --- interface/Cargo.toml | 2 +- interface/src/instruction.rs | 5 ++--- program/Cargo.toml | 6 +++--- program/tests/initialize.rs | 4 ++-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 4771849..1e79738 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -13,7 +13,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" serde = { version = "1.0.214", optional = true } -solana-program = "2.0.3" +solana-program = "2.1.0" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index bcb606b..cfc6e62 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -104,10 +104,9 @@ pub enum TokenMetadataInstruction { /// By the end of the instruction, the metadata account must be properly /// resized based on the new size of the TLV entry. /// * If the new size is larger, the program must first reallocate to - /// avoid - /// overwriting other TLV entries. + /// avoid overwriting other TLV entries. /// * If the new size is smaller, the program must reallocate at the end - /// so that it's possible to iterate over TLV entries + /// so that it's possible to iterate over TLV entries /// /// Accounts expected by this instruction: /// diff --git a/program/Cargo.toml b/program/Cargo.toml index 11b6513..97deaac 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -12,15 +12,15 @@ no-entrypoint = [] test-sbf = [] [dependencies] -solana-program = "2.0.3" +solana-program = "2.1.0" spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.5.1", path = "../interface" } spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.4.0", path = "../../libraries/pod" } [dev-dependencies] -solana-program-test = "2.0.3" -solana-sdk = "2.0.3" +solana-program-test = "2.1.0" +solana-sdk = "2.1.0" spl-token-client = { version = "0.12.1", path = "../../token/client" } test-case = "3.3" diff --git a/program/tests/initialize.rs b/program/tests/initialize.rs index ccd5037..2dc28ef 100644 --- a/program/tests/initialize.rs +++ b/program/tests/initialize.rs @@ -131,7 +131,7 @@ async fn fail_without_authority_signature() { client.clone(), ) .await; - let mut context = context.lock().await; + let context = context.lock().await; let update_authority = Pubkey::new_unique(); let name = "MySuperCoolToken".to_string(); @@ -208,7 +208,7 @@ async fn fail_incorrect_authority() { client.clone(), ) .await; - let mut context = context.lock().await; + let context = context.lock().await; let update_authority = Pubkey::new_unique(); let name = "MySuperCoolToken".to_string(); From 421276a29ee3bba6fbe23e1538c0ddaae5b3d9d4 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 31 Oct 2024 15:27:43 +0100 Subject: [PATCH 439/473] js: Update libs from rc.1 to rc.2 (#7426) * js: Update libs from rc.1 to rc.2 * Remove account-compression/sdk from JS workspace --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 9c6f979..2418762 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -46,7 +46,7 @@ "@solana/web3.js": "^1.95.4" }, "dependencies": { - "@solana/codecs": "2.0.0-rc.1" + "@solana/codecs": "2.0.0-rc.2" }, "devDependencies": { "@solana/spl-type-length-value": "0.2.0", From 1f9d9860a61f9e1fd005bb7c9f7277f5d048bf53 Mon Sep 17 00:00:00 2001 From: Kevin Heavey Date: Thu, 31 Oct 2024 22:37:01 +0400 Subject: [PATCH 440/473] remove solana-program from token-metadata-interface (#7431) * remove solana-program from token-metadata-interface * finish removing solana-program --- interface/Cargo.toml | 12 ++++++-- interface/src/error.rs | 55 ++++++++++++++++++++++++++++++++++-- interface/src/instruction.rs | 20 ++++++------- interface/src/lib.rs | 4 ++- interface/src/state.rs | 12 ++++---- 5 files changed, 79 insertions(+), 24 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 1e79738..baee778 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -12,17 +12,25 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] borsh = "1.5.1" +num-derive = "0.4" +num-traits = "0.2" serde = { version = "1.0.214", optional = true } -solana-program = "2.1.0" +solana-borsh = "2.1.0" +solana-decode-error = "2.1.0" +solana-instruction = "2.1.0" +solana-msg = "2.1.0" +solana-program-error = "2.1.0" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } -spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" } +solana-pubkey = "2.1.0" spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.4.0", path = "../../libraries/pod", features = [ "borsh", ] } +thiserror = "1.0" [dev-dependencies] serde_json = "1.0.132" +solana-sha256-hasher = "2.1.0" [lib] crate-type = ["cdylib", "lib"] diff --git a/interface/src/error.rs b/interface/src/error.rs index 3f5b243..0ec2fa3 100644 --- a/interface/src/error.rs +++ b/interface/src/error.rs @@ -1,13 +1,18 @@ //! Interface error types -use spl_program_error::*; +use { + solana_decode_error::DecodeError, + solana_msg::msg, + solana_program_error::{PrintProgramError, ProgramError}, +}; /// Errors that may be returned by the interface. -#[spl_program_error(hash_error_code_start = 901_952_957)] +#[repr(u32)] +#[derive(Clone, Debug, Eq, thiserror::Error, num_derive::FromPrimitive, PartialEq)] pub enum TokenMetadataError { /// Incorrect account provided #[error("Incorrect account provided")] - IncorrectAccount, + IncorrectAccount = 901_952_957, /// Mint has no mint authority #[error("Mint has no mint authority")] MintHasNoMintAuthority, @@ -24,3 +29,47 @@ pub enum TokenMetadataError { #[error("Key not found in metadata account")] KeyNotFound, } + +impl From for ProgramError { + fn from(e: TokenMetadataError) -> Self { + ProgramError::Custom(e as u32) + } +} + +impl DecodeError for TokenMetadataError { + fn type_of() -> &'static str { + "TokenMetadataError" + } +} + +impl PrintProgramError for TokenMetadataError { + fn print(&self) + where + E: 'static + + std::error::Error + + DecodeError + + PrintProgramError + + num_traits::FromPrimitive, + { + match self { + TokenMetadataError::IncorrectAccount => { + msg!("Incorrect account provided") + } + TokenMetadataError::MintHasNoMintAuthority => { + msg!("Mint has no mint authority") + } + TokenMetadataError::IncorrectMintAuthority => { + msg!("Incorrect mint authority has signed the instruction",) + } + TokenMetadataError::IncorrectUpdateAuthority => { + msg!("Incorrect metadata update authority has signed the instruction",) + } + TokenMetadataError::ImmutableMetadata => { + msg!("Token metadata has no update authority") + } + TokenMetadataError::KeyNotFound => { + msg!("Key not found in metadata account") + } + } + } +} diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index cfc6e62..5fb27c6 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -5,11 +5,9 @@ use serde::{Deserialize, Serialize}; use { crate::state::Field, borsh::{BorshDeserialize, BorshSerialize}, - solana_program::{ - instruction::{AccountMeta, Instruction}, - program_error::ProgramError, - pubkey::Pubkey, - }, + solana_instruction::{AccountMeta, Instruction}, + solana_program_error::ProgramError, + solana_pubkey::Pubkey, spl_discriminator::{discriminator::ArrayDiscriminator, SplDiscriminate}, spl_pod::optional_keys::OptionalNonZeroPubkey, }; @@ -323,7 +321,7 @@ pub fn emit( mod test { #[cfg(feature = "serde-traits")] use std::str::FromStr; - use {super::*, crate::NAMESPACE, solana_program::hash}; + use {super::*, crate::NAMESPACE, solana_sha256_hasher::hashv}; fn check_pack_unpack( instruction: TokenMetadataInstruction, @@ -350,7 +348,7 @@ mod test { uri: uri.to_string(), }; let check = TokenMetadataInstruction::Initialize(data.clone()); - let preimage = hash::hashv(&[format!("{NAMESPACE}:initialize_account").as_bytes()]); + let preimage = hashv(&[format!("{NAMESPACE}:initialize_account").as_bytes()]); let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } @@ -364,7 +362,7 @@ mod test { value: value.to_string(), }; let check = TokenMetadataInstruction::UpdateField(data.clone()); - let preimage = hash::hashv(&[format!("{NAMESPACE}:updating_field").as_bytes()]); + let preimage = hashv(&[format!("{NAMESPACE}:updating_field").as_bytes()]); let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } @@ -376,7 +374,7 @@ mod test { idempotent: true, }; let check = TokenMetadataInstruction::RemoveKey(data.clone()); - let preimage = hash::hashv(&[format!("{NAMESPACE}:remove_key_ix").as_bytes()]); + let preimage = hashv(&[format!("{NAMESPACE}:remove_key_ix").as_bytes()]); let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } @@ -387,7 +385,7 @@ mod test { new_authority: OptionalNonZeroPubkey::default(), }; let check = TokenMetadataInstruction::UpdateAuthority(data.clone()); - let preimage = hash::hashv(&[format!("{NAMESPACE}:update_the_authority").as_bytes()]); + let preimage = hashv(&[format!("{NAMESPACE}:update_the_authority").as_bytes()]); let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } @@ -399,7 +397,7 @@ mod test { end: Some(10), }; let check = TokenMetadataInstruction::Emit(data.clone()); - let preimage = hash::hashv(&[format!("{NAMESPACE}:emitter").as_bytes()]); + let preimage = hashv(&[format!("{NAMESPACE}:emitter").as_bytes()]); let discriminator = &preimage.as_ref()[..ArrayDiscriminator::LENGTH]; check_pack_unpack(check, discriminator, data); } diff --git a/interface/src/lib.rs b/interface/src/lib.rs index a4329d6..26d4e21 100644 --- a/interface/src/lib.rs +++ b/interface/src/lib.rs @@ -10,7 +10,9 @@ pub mod state; // Export current sdk types for downstream users building with a different sdk // version Export borsh for downstream users -pub use {borsh, solana_program}; +pub use { + borsh, solana_borsh, solana_decode_error, solana_instruction, solana_msg, solana_program_error, +}; /// Namespace for all programs implementing token-metadata pub const NAMESPACE: &str = "spl_token_metadata_interface"; diff --git a/interface/src/state.rs b/interface/src/state.rs index 1b94dee..e1404d2 100644 --- a/interface/src/state.rs +++ b/interface/src/state.rs @@ -4,11 +4,9 @@ use serde::{Deserialize, Serialize}; use { borsh::{BorshDeserialize, BorshSchema, BorshSerialize}, - solana_program::{ - borsh1::{get_instance_packed_len, try_from_slice_unchecked}, - program_error::ProgramError, - pubkey::Pubkey, - }, + solana_borsh::v1::{get_instance_packed_len, try_from_slice_unchecked}, + solana_program_error::ProgramError, + solana_pubkey::Pubkey, spl_discriminator::{ArrayDiscriminator, SplDiscriminate}, spl_pod::optional_keys::OptionalNonZeroPubkey, spl_type_length_value::{ @@ -125,11 +123,11 @@ pub enum Field { #[cfg(test)] mod tests { - use {super::*, crate::NAMESPACE, solana_program::hash}; + use {super::*, crate::NAMESPACE, solana_sha256_hasher::hashv}; #[test] fn discriminator() { - let preimage = hash::hashv(&[format!("{NAMESPACE}:token_metadata").as_bytes()]); + let preimage = hashv(&[format!("{NAMESPACE}:token_metadata").as_bytes()]); let discriminator = ArrayDiscriminator::try_from(&preimage.as_ref()[..ArrayDiscriminator::LENGTH]).unwrap(); assert_eq!(TokenMetadata::SPL_DISCRIMINATOR, discriminator); From 4e47e9b55ee68182e870d55bc7ec6fbda57815d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 01:14:45 +0000 Subject: [PATCH 441/473] Publish spl-pod v0.5.0 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index baee778..19ba97d 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -23,7 +23,7 @@ solana-program-error = "2.1.0" spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } solana-pubkey = "2.1.0" spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.4.0", path = "../../libraries/pod", features = [ +spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = [ "borsh", ] } thiserror = "1.0" diff --git a/program/Cargo.toml b/program/Cargo.toml index 97deaac..aea9486 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -16,7 +16,7 @@ solana-program = "2.1.0" spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.5.1", path = "../interface" } spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.4.0", path = "../../libraries/pod" } +spl-pod = { version = "0.5.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "2.1.0" From 583c10a2b689f762901706204d04185155fe0bd5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:15:55 +0100 Subject: [PATCH 442/473] build(deps-dev): bump tslib from 2.8.0 to 2.8.1 (#7440) Bumps [tslib](https://github.com/Microsoft/tslib) from 2.8.0 to 2.8.1. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](https://github.com/Microsoft/tslib/compare/v2.8.0...v2.8.1) --- updated-dependencies: - dependency-name: tslib dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 2418762..3a740eb 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -63,7 +63,7 @@ "mocha": "^10.8.2", "shx": "^0.3.4", "ts-node": "^10.9.2", - "tslib": "^2.8.0", + "tslib": "^2.8.1", "typedoc": "^0.26.10", "typescript": "^5.6.3" } From c8adee1792636138558f966c1d8b4d334f69bb8b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:16:08 +0100 Subject: [PATCH 443/473] build(deps-dev): bump @types/node from 22.8.5 to 22.8.6 (#7439) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.8.5 to 22.8.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 3a740eb..664deab 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.9", - "@types/node": "^22.8.5", + "@types/node": "^22.8.6", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From bb169e56bef659ac7774a0dfab1228720a88cd46 Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Fri, 1 Nov 2024 04:17:32 -0700 Subject: [PATCH 444/473] Lock to web3.js 1.x for compatibility (#7419) --- clients/js-legacy/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/README.md b/clients/js-legacy/README.md index 851a95d..805d801 100644 --- a/clients/js-legacy/README.md +++ b/clients/js-legacy/README.md @@ -21,11 +21,11 @@ If you've found a bug or you'd like to request a feature, please ## Install ```shell -npm install --save @solana/spl-token-metadata @solana/web3.js +npm install --save @solana/spl-token-metadata @solana/web3.js@1 ``` _OR_ ```shell -yarn add @solana/spl-token-metadata @solana/web3.js +yarn add @solana/spl-token-metadata @solana/web3.js@1 ``` ## Build from Source From f5d72a81002a095f5b95b502fc409e7026c9aec2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 11:43:04 +0000 Subject: [PATCH 445/473] Publish spl-discriminator v0.4.0 --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 19ba97d..b9117f1 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -20,7 +20,7 @@ solana-decode-error = "2.1.0" solana-instruction = "2.1.0" solana-msg = "2.1.0" solana-program-error = "2.1.0" -spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } +spl-discriminator = { version = "0.4.0", path = "../../libraries/discriminator" } solana-pubkey = "2.1.0" spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = [ From 9428a5c62ab0315a3fecb314297929560f43a25b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:23:01 +0000 Subject: [PATCH 446/473] Publish spl-type-length-value v0.7.0 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index b9117f1..5abcf98 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -22,7 +22,7 @@ solana-msg = "2.1.0" solana-program-error = "2.1.0" spl-discriminator = { version = "0.4.0", path = "../../libraries/discriminator" } solana-pubkey = "2.1.0" -spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.7.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = [ "borsh", ] } diff --git a/program/Cargo.toml b/program/Cargo.toml index aea9486..391475f 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -15,7 +15,7 @@ test-sbf = [] solana-program = "2.1.0" spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.5.1", path = "../interface" } -spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } +spl-type-length-value = { version = "0.7.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.5.0", path = "../../libraries/pod" } [dev-dependencies] From 6ce824342ce7092069947a91cdda257ea2b7eebd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:20:45 +0000 Subject: [PATCH 447/473] Publish spl-token-metadata-interface v0.6.0 --- interface/Cargo.toml | 2 +- program/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 5abcf98..5b99a1f 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.5.1" +version = "0.6.0" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" diff --git a/program/Cargo.toml b/program/Cargo.toml index 391475f..febba30 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] solana-program = "2.1.0" spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } -spl-token-metadata-interface = { version = "0.5.1", path = "../interface" } +spl-token-metadata-interface = { version = "0.6.0", path = "../interface" } spl-type-length-value = { version = "0.7.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.5.0", path = "../../libraries/pod" } From 0c4b0a0c1e0f0a6eb0bee0c3e216debf8baef06c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:49:26 +0000 Subject: [PATCH 448/473] Publish spl-token-2022 v6.0.0 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index febba30..70a970c 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] solana-program = "2.1.0" -spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "6.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] } spl-token-metadata-interface = { version = "0.6.0", path = "../interface" } spl-type-length-value = { version = "0.7.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.5.0", path = "../../libraries/pod" } From 313c552b44612b7002d787a112fd6c25c5a031f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 12:45:49 +0100 Subject: [PATCH 449/473] build(deps-dev): bump typedoc from 0.26.10 to 0.26.11 (#7451) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.10 to 0.26.11. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.10...v0.26.11) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 664deab..a8f6e43 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.1", - "typedoc": "^0.26.10", + "typedoc": "^0.26.11", "typescript": "^5.6.3" } } From b74d593c8fae9574f2c41e994a357b98ff9a92a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:00:06 +0100 Subject: [PATCH 450/473] build(deps-dev): bump @types/node from 22.8.6 to 22.8.7 (#7452) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.8.6 to 22.8.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index a8f6e43..22d9cad 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.9", - "@types/node": "^22.8.6", + "@types/node": "^22.8.7", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From b541eb3d61b3dd7ddc25612b0681fe8e3549504e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:30:57 +0000 Subject: [PATCH 451/473] Publish spl-token-client v0.13.0 --- program/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Cargo.toml b/program/Cargo.toml index 70a970c..b6a4ef3 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -21,7 +21,7 @@ spl-pod = { version = "0.5.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "2.1.0" solana-sdk = "2.1.0" -spl-token-client = { version = "0.12.1", path = "../../token/client" } +spl-token-client = { version = "0.13.0", path = "../../token/client" } test-case = "3.3" [lib] From 77d7fd05e724b9bb28c27bb2f1a609855e6869ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:01:52 +0100 Subject: [PATCH 452/473] build(deps-dev): bump @types/node from 22.8.7 to 22.9.0 (#7459) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.8.7 to 22.9.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 22d9cad..816cf26 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.9", - "@types/node": "^22.8.7", + "@types/node": "^22.9.0", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From 47029ebc347a3243d3db5a618371def4179b88f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 11:44:32 +0100 Subject: [PATCH 453/473] build(deps): bump thiserror from 1.0.68 to 2.0.0 (#7462) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.68 to 2.0.0. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...2.0.0) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 5b99a1f..b079e10 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -26,7 +26,7 @@ spl-type-length-value = { version = "0.7.0", path = "../../libraries/type-length spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = [ "borsh", ] } -thiserror = "1.0" +thiserror = "2.0" [dev-dependencies] serde_json = "1.0.132" From 7725ac486886f4f1cb5c445776100966bcb9e836 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:45:20 +0100 Subject: [PATCH 454/473] build(deps): bump borsh from 1.5.1 to 1.5.2 (#7470) Bumps [borsh](https://github.com/near/borsh-rs) from 1.5.1 to 1.5.2. - [Release notes](https://github.com/near/borsh-rs/releases) - [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/near/borsh-rs/compare/borsh-v1.5.1...borsh-v1.5.2) --- updated-dependencies: - dependency-name: borsh dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index b079e10..b0b68a9 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] -borsh = "1.5.1" +borsh = "1.5.2" num-derive = "0.4" num-traits = "0.2" serde = { version = "1.0.214", optional = true } From 4a254214da1f6e83b2ce48c3f27b8213d4ddaaad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 13:02:33 +0100 Subject: [PATCH 455/473] build(deps): bump @solana/codecs from 2.0.0-rc.2 to 2.0.0 (#7473) Bumps [@solana/codecs](https://github.com/solana-labs/solana-web3.js) from 2.0.0-rc.2 to 2.0.0. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v2.0.0-rc.2...v2.0.0) --- updated-dependencies: - dependency-name: "@solana/codecs" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 816cf26..391c40b 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -46,7 +46,7 @@ "@solana/web3.js": "^1.95.4" }, "dependencies": { - "@solana/codecs": "2.0.0-rc.2" + "@solana/codecs": "2.0.0" }, "devDependencies": { "@solana/spl-type-length-value": "0.2.0", From 63efa8f2e2330683e9765c12586c7b029adcafb4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 11:41:55 +0100 Subject: [PATCH 456/473] build(deps): bump serde from 1.0.214 to 1.0.215 (#7485) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.214 to 1.0.215. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index b0b68a9..3d20519 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -14,7 +14,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] borsh = "1.5.2" num-derive = "0.4" num-traits = "0.2" -serde = { version = "1.0.214", optional = true } +serde = { version = "1.0.215", optional = true } solana-borsh = "2.1.0" solana-decode-error = "2.1.0" solana-instruction = "2.1.0" From 99c81291ac2f1756be82de7a1fed34bfa1fc85d2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 11:35:40 +0100 Subject: [PATCH 457/473] build(deps): bump borsh from 1.5.2 to 1.5.3 (#7491) Bumps [borsh](https://github.com/near/borsh-rs) from 1.5.2 to 1.5.3. - [Release notes](https://github.com/near/borsh-rs/releases) - [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/near/borsh-rs/compare/borsh-v1.5.2...borsh-v1.5.3) --- updated-dependencies: - dependency-name: borsh dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 3d20519..712cfb6 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" serde-traits = ["dep:serde", "spl-pod/serde-traits"] [dependencies] -borsh = "1.5.2" +borsh = "1.5.3" num-derive = "0.4" num-traits = "0.2" serde = { version = "1.0.215", optional = true } From 4f75da54815c122aa7d023f6031802cf061341b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:40:08 +0100 Subject: [PATCH 458/473] build(deps): bump serde_json from 1.0.132 to 1.0.133 (#7497) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.132 to 1.0.133. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.132...v1.0.133) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 712cfb6..53de81c 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -29,7 +29,7 @@ spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = [ thiserror = "2.0" [dev-dependencies] -serde_json = "1.0.132" +serde_json = "1.0.133" solana-sha256-hasher = "2.1.0" [lib] From 15924a73c21907251e2f7772e34f9b56c6350608 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 12:05:04 +0100 Subject: [PATCH 459/473] build(deps-dev): bump @types/node from 22.9.0 to 22.9.1 (#7508) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.0 to 22.9.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 391c40b..07612d1 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.9", - "@types/node": "^22.9.0", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From 5f4d058434c740c57e2e3cb83f4747b51cb20974 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:35:47 +0100 Subject: [PATCH 460/473] build(deps-dev): bump @types/mocha from 10.0.9 to 10.0.10 (#7513) Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 10.0.9 to 10.0.10. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha) --- updated-dependencies: - dependency-name: "@types/mocha" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 07612d1..cf74043 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -52,7 +52,7 @@ "@solana/spl-type-length-value": "0.2.0", "@solana/web3.js": "^1.95.4", "@types/chai": "^5.0.1", - "@types/mocha": "^10.0.9", + "@types/mocha": "^10.0.10", "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", From bf96d40d904d2b112a54e5cbe02577ca38aeabe4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:36:14 +0100 Subject: [PATCH 461/473] build(deps): bump @solana/web3.js from 1.95.4 to 1.95.5 (#7512) Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.95.4 to 1.95.5. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.95.4...v1.95.5) --- updated-dependencies: - dependency-name: "@solana/web3.js" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index cf74043..c7a58e2 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -43,14 +43,14 @@ "watch": "tsc --build --verbose --watch tsconfig.all.json" }, "peerDependencies": { - "@solana/web3.js": "^1.95.4" + "@solana/web3.js": "^1.95.5" }, "dependencies": { "@solana/codecs": "2.0.0" }, "devDependencies": { "@solana/spl-type-length-value": "0.2.0", - "@solana/web3.js": "^1.95.4", + "@solana/web3.js": "^1.95.5", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.10", "@types/node": "^22.9.1", From f683a7bfbe83d84b521e45b7014c26b0d4cfa05b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 14:32:12 +0100 Subject: [PATCH 462/473] build(deps-dev): bump @types/node from 22.9.1 to 22.9.3 (#7522) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.1 to 22.9.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index c7a58e2..4d91d80 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.5", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.10", - "@types/node": "^22.9.1", + "@types/node": "^22.9.3", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From 5f5748969b7a51540e8cff9b175751fb921ce529 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:34:45 +0100 Subject: [PATCH 463/473] build(deps-dev): bump typescript from 5.6.3 to 5.7.2 (#7521) * build(deps-dev): bump typescript from 5.6.3 to 5.7.2 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.6.3 to 5.7.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.7.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Fix build --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 4d91d80..13c7498 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -65,6 +65,6 @@ "ts-node": "^10.9.2", "tslib": "^2.8.1", "typedoc": "^0.26.11", - "typescript": "^5.6.3" + "typescript": "^5.7.2" } } From 401aa07c1a36742b901f0a536c79f1f21fcdf1b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:05:10 +0100 Subject: [PATCH 464/473] build(deps-dev): bump @types/node from 22.9.3 to 22.10.0 (#7534) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.3 to 22.10.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 13c7498..334de7f 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.5", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.10", - "@types/node": "^22.9.3", + "@types/node": "^22.10.0", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From e376defea593a85e2726715cbcef76c5611ab7d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Nov 2024 12:04:00 +0100 Subject: [PATCH 465/473] build(deps-dev): bump typedoc from 0.26.11 to 0.27.0 (#7536) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.11 to 0.27.0. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.11...v0.27.0) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 334de7f..0012fea 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.1", - "typedoc": "^0.26.11", + "typedoc": "^0.27.0", "typescript": "^5.7.2" } } From 602d2a6fd5c234ef8831e9731486ca424de1a43b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:53:44 +0100 Subject: [PATCH 466/473] build(deps-dev): bump @types/node from 22.10.0 to 22.10.1 (#7544) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.0 to 22.10.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 0012fea..aab2ecb 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.5", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.10", - "@types/node": "^22.10.0", + "@types/node": "^22.10.1", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2", From 679bb2b4f2ff93d537d8b0562ee4c26b62ff6a61 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:53:51 +0100 Subject: [PATCH 467/473] build(deps-dev): bump typedoc from 0.27.0 to 0.27.1 (#7545) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.27.0 to 0.27.1. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.27.0...v0.27.1) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index aab2ecb..e2c74f4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.1", - "typedoc": "^0.27.0", + "typedoc": "^0.27.1", "typescript": "^5.7.2" } } From 0b89a4c6a8b025b7b3f52fdc63a54cce85104dce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 13:14:57 +0100 Subject: [PATCH 468/473] build(deps-dev): bump typedoc from 0.27.1 to 0.27.2 (#7548) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.27.1 to 0.27.2. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.27.1...v0.27.2) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index e2c74f4..f334f03 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.1", - "typedoc": "^0.27.1", + "typedoc": "^0.27.2", "typescript": "^5.7.2" } } From 9752b379b34e41b3b594935773051b63638d1564 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 12:17:38 +0100 Subject: [PATCH 469/473] build(deps-dev): bump mocha from 10.8.2 to 11.0.1 (#7553) Bumps [mocha](https://github.com/mochajs/mocha) from 10.8.2 to 11.0.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.8.2...v11.0.1) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index f334f03..1170a91 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -60,7 +60,7 @@ "eslint": "^8.57.0", "eslint-plugin-require-extensions": "^0.1.1", "gh-pages": "^6.2.0", - "mocha": "^10.8.2", + "mocha": "^11.0.1", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.1", From 9ae001baf399aebeb4fd05aa9f97d3268e390fe7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:05:13 +0100 Subject: [PATCH 470/473] build(deps-dev): bump typedoc from 0.27.2 to 0.27.3 (#7558) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.27.2 to 0.27.3. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.27.2...v0.27.3) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1170a91..1128bfc 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.1", - "typedoc": "^0.27.2", + "typedoc": "^0.27.3", "typescript": "^5.7.2" } } From 84c2ecd62c52160e8f634c2550e6b732ca6a15a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:51:16 +0100 Subject: [PATCH 471/473] build(deps-dev): bump typedoc from 0.27.3 to 0.27.4 (#7567) Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.27.3 to 0.27.4. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.27.3...v0.27.4) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 1128bfc..519a136 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -64,7 +64,7 @@ "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.1", - "typedoc": "^0.27.3", + "typedoc": "^0.27.4", "typescript": "^5.7.2" } } From f88d85247b75722ac64e2a27bb8f7aa92893ae59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 11:31:06 +0100 Subject: [PATCH 472/473] build(deps): bump serde from 1.0.215 to 1.0.216 (#7576) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.215 to 1.0.216. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.215...v1.0.216) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- interface/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/Cargo.toml b/interface/Cargo.toml index 53de81c..66e2695 100644 --- a/interface/Cargo.toml +++ b/interface/Cargo.toml @@ -14,7 +14,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] borsh = "1.5.3" num-derive = "0.4" num-traits = "0.2" -serde = { version = "1.0.215", optional = true } +serde = { version = "1.0.216", optional = true } solana-borsh = "2.1.0" solana-decode-error = "2.1.0" solana-instruction = "2.1.0" From e9c4caa543477a74a7cfc8e6c3cdca27285a6023 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:20:38 +0100 Subject: [PATCH 473/473] build(deps-dev): bump @types/node from 22.10.1 to 22.10.2 (#7578) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.1 to 22.10.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/js-legacy/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 519a136..8d122b5 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -53,7 +53,7 @@ "@solana/web3.js": "^1.95.5", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.10", - "@types/node": "^22.10.1", + "@types/node": "^22.10.2", "@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/parser": "^8.4.0", "chai": "^5.1.2",