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

@internetarchive/search-service

Package Overview
Dependencies
Maintainers
12
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internetarchive/search-service - npm Package Compare versions

Comparing version 0.0.1-alpha.20 to 0.0.1-alpha.21

7

dist/src/models/metadata.d.ts

@@ -124,2 +124,9 @@ import { BooleanField } from './metadata-fields/field-types/boolean';

notes?: StringField;
/**
* The number of users that have favorited the item
*
* @type {NumberField}
* @memberof Metadata
*/
num_favorites?: NumberField;
num_reviews?: NumberField;

@@ -126,0 +133,0 @@ page_progression?: PageProgressionField;

3

dist/src/models/metadata.js

@@ -76,2 +76,5 @@ /* eslint-disable @typescript-eslint/camelcase */

this.notes = json.notes ? new StringField(json.notes) : undefined;
this.num_favorites = json.num_favorites
? new NumberField(json.num_favorites)
: undefined;
this.num_reviews = json.num_reviews

@@ -78,0 +81,0 @@ ? new NumberField(json.num_reviews)

4

package.json
{
"name": "@internetarchive/search-service",
"version": "0.0.1-alpha.20",
"version": "0.0.1-alpha.21",
"description": "A search service for the Internet Archive",

@@ -15,3 +15,3 @@ "license": "AGPL-3.0-only",

"tsc:watch": "tsc --watch",
"prepublish": "tsc",
"prepare": "tsc",
"lint:eslint": "eslint --ext .ts,.html . --ignore-path .gitignore",

@@ -18,0 +18,0 @@ "format:eslint": "eslint --ext .ts,.html . --fix --ignore-path .gitignore",

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