New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

azurlane

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azurlane - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.nojekyll

6

lib/base.ts

@@ -1,2 +0,2 @@

export interface BaseResponse {
export interface IBaseResponse {
statusCode: number;

@@ -7,3 +7,3 @@ statusMessage: string;

export interface ErrorResponse extends BaseResponse {
export interface IErrorResponse extends IBaseResponse {
error?: string | undefined;

@@ -18,3 +18,3 @@ }

constructor(errorResponse: ErrorResponse) {
constructor(errorResponse: IErrorResponse) {
super(errorResponse.message);

@@ -21,0 +21,0 @@

@@ -1,4 +0,4 @@

import { BaseResponse } from "./base";
import { IBaseResponse } from "./base";
export interface Construction {
export interface IConstruction {
time: string;

@@ -8,4 +8,4 @@ ships: string[];

export interface BuildResponse extends BaseResponse {
construction: Construction;
export interface IBuildResponse extends IBaseResponse {
construction: IConstruction;
}

@@ -1,4 +0,4 @@

import { BaseResponse } from "./base";
import { IBaseResponse } from "./base";
export interface Names {
export interface INames {
full: string | null;

@@ -10,3 +10,3 @@ en: string | null;

export interface Skins {
export interface ISkins {
title: string | null;

@@ -16,3 +16,3 @@ image: string | null;

export interface Stars {
export interface IStars {
value: string | null;

@@ -22,10 +22,10 @@ count: number;

export interface Ship {
export interface IShip {
id: string | null;
names: Names;
names: INames;
thumbnail: string;
skins: Skins;
skins: ISkins;
buildTime: string | null;
rarity: string | null;
stars: Stars;
stars: IStars;
class: string | null;

@@ -36,4 +36,4 @@ nationality: string | null;

export interface ShipResponse extends BaseResponse {
ship: Ship;
export interface IShipResponse extends IBaseResponse {
ship: IShip;
}
{
"name": "azurlane",
"version": "0.0.2",
"version": "0.0.3",
"description": "Api wrapper for the azur lane api",
"main": "build/index.js",
"homepage": "https://github.com/KurozeroPB/AzurLane#readme",
"main": "dist/lib/index.js",
"types": "dist/lib/*.d.js",
"homepage": "https://kurozeropb.github.io/AzurLane/docs/index.html",
"repository": {
"type": "git",
"url": "https://github.com/KurozeroPB/AzurLane.git"
"url": "git+https://github.com/KurozeroPB/AzurLane.git"
},

@@ -24,5 +25,8 @@ "bugs": {

"publish": "npm publish",
"prepare": "yarn compile",
"compile": "yarn check && yarn clean && tsc -p .",
"test": "node test/index.js",
"prepare": "yarn build",
"build": "yarn check && yarn clean && tsc",
"example": "node test/example.js",
"test": "mocha",
"pretest": "yarn build",
"docs": "typedoc --out ./docs ./lib --readme ./README.md",
"check": "gts check",

@@ -37,5 +41,8 @@ "clean": "gts clean",

"@types/node": "^11.12.2",
"gh-pages": "^2.0.1",
"gts": "^0.9.0",
"mocha": "^6.0.2",
"typedoc": "^0.14.2",
"typescript": "^3.4.1"
}
}

@@ -6,3 +6,3 @@ # AzurLane

```js
const { AzurLane } = require("azurlane");
const AzurLane = require("azurlane");
const al = new AzurLane();

@@ -9,0 +9,0 @@

@@ -10,15 +10,9 @@ {

"moduleResolution": "node",
"sourceMap": true,
"noImplicitReturns": false,
"sourceMap": false,
"noImplicitReturns": true,
"resolveJsonModule": true,
"declaration": true,
"outDir": "build",
"paths": {
"*": [
"node_modules/*"
]
}
"outDir": "./dist"
},
"include": [
"*.ts",
"lib/**/*"

@@ -25,0 +19,0 @@ ]

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