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

@rentspree/lightship

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rentspree/lightship - npm Package Compare versions

Comparing version 0.1.0 to 0.1.2

11

dist/index.js
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

@@ -8,3 +10,3 @@

});
exports["default"] = void 0;
exports["default"] = exports.createLightship = void 0;

@@ -15,3 +17,3 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));

var _lightship = require("lightship");
var Lightship = _interopRequireWildcard(require("lightship"));

@@ -22,2 +24,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

var createLightShipInstance = Lightship.createLightship;
var DEFAULT_PORT = 13000;

@@ -46,3 +49,3 @@

var lightship = (0, _lightship.createLightship)(_objectSpread({}, detectKubernetes && {
var lightship = createLightShipInstance(_objectSpread({}, detectKubernetes && {
detectKubernetes: detectKubernetes

@@ -111,4 +114,6 @@ }, {}, port && {

var createLightship = create;
exports.createLightship = createLightship;
var _default = create;
exports["default"] = _default;
//# sourceMappingURL=index.js.map
{
"name": "@rentspree/lightship",
"version": "0.1.0",
"version": "0.1.2",
"description": "liveness and readiness wrapper using lightship for node.js",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,3 +0,5 @@

import { createLightship } from "lightship"
import * as Lightship from "lightship"
const { createLightship: createLightShipInstance } = Lightship
const DEFAULT_PORT = 13000

@@ -22,3 +24,3 @@

}
const lightship = createLightship({
const lightship = createLightShipInstance({
...(detectKubernetes && { detectKubernetes }),

@@ -76,2 +78,4 @@ ...(port && { port }),

export const createLightship = create
export default create

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