Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pkmn/data

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pkmn/data - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

build/index.d.ts

@@ -123,3 +123,3 @@ import { AbilityName, Condition, Data, Dex, EggGroup, EvoType, FormeName, GenderName, GenerationNum, ID, ItemName, MoveCategory, MoveName, Nature, Nonstandard, Species as DexSpecies, SpeciesAbility, SpeciesName, StatName, StatsTable, Tier, Type as DexType, TypeName } from '@pkmn/dex-types';

constructor(dex: Dex, exists: ExistsFn);
get(name: string): Condition | import("@pkmn/dex-types").Ability | import("@pkmn/dex-types").Item | import("@pkmn/dex-types").Move | undefined;
get(name: string): import("@pkmn/dex-types").Ability | import("@pkmn/dex-types").Item | import("@pkmn/dex-types").Move | Condition | undefined;
}

@@ -126,0 +126,0 @@ export declare class Natures {

@@ -198,3 +198,3 @@ "use strict";

expect(Array.from(gen.moves))
.toHaveLength(gen.num === 8 ? 624 + 41 - 33 : (total += COUNTS[gen.num - 1]));
.toHaveLength(gen.num === 8 ? 623 + 41 - 33 : (total += COUNTS[gen.num - 1]));
}

@@ -201,0 +201,0 @@ });

@@ -202,3 +202,3 @@ import {GenerationNum, Generations, StatsTable, Dex as DexT, ItemName} from './index';

expect(Array.from(gen.moves))
.toHaveLength(gen.num === 8 ? 624 + 41 - 33 : (total += COUNTS[gen.num - 1]));
.toHaveLength(gen.num === 8 ? 623 + 41 - 33 : (total += COUNTS[gen.num - 1]));
}

@@ -205,0 +205,0 @@ });

{
"name": "@pkmn/data",
"version": "0.2.2",
"version": "0.2.3",
"main": "build/index.js",
"types": "build/index.d.ts",
"unpkg": "build/production.min.js",
"description": "A forked implementation of the Pokémon Showdown client's data layer",

@@ -13,7 +14,7 @@ "repository": "github:pkmn/ps",

"dependencies": {
"@pkmn/dex-types": "^0.2.2"
"@pkmn/dex-types": "^0.2.3"
},
"devDependencies": {
"@pkmn/dex": "^0.2.2",
"@pkmn/sim": "^0.2.2",
"@pkmn/dex": "^0.2.3",
"@pkmn/sim": "^0.2.3",
"@smogon/calc": "^0.5.0"

@@ -20,0 +21,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc