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

alaska-settings

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alaska-settings - npm Package Compare versions

Comparing version 0.11.22 to 0.11.23

5

index.js
// @flow
import { Service } from 'alaska';
import Settings from './models/Settings';

@@ -24,4 +25,2 @@ const debug = require('debug')('alaska-settings');

async register(data: Object) {
const Settings = this.model('Settings');
const id = data.id || data._id;

@@ -46,3 +45,2 @@ // $Flow

async get(id: string|number) {
const Settings = this.model('Settings');
// $Flow

@@ -63,3 +61,2 @@ let record = await Settings.findById(id);

debug('set', id, '=>', value);
const Settings = this.model('Settings');
// $Flow

@@ -66,0 +63,0 @@ let record = await Settings.findById(id);

2

package.json
{
"name": "alaska-settings",
"version": "0.11.22",
"version": "0.11.23",
"description": "Alaska settings service",

@@ -5,0 +5,0 @@ "keywords": [

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