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

postgres-interval

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postgres-interval - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

index.js

@@ -15,4 +15,5 @@ 'use strict'

PostgresInterval.prototype.toPostgres = function () {
return properties
.filter(this.hasOwnProperty, this)
var filtered = properties.filter(this.hasOwnProperty, this)
if (filtered.length === 0) return '0'
return filtered
.map(function (property) {

@@ -19,0 +20,0 @@ return this[property] + ' ' + property

2

package.json
{
"name": "postgres-interval",
"main": "index.js",
"version": "1.0.0",
"version": "1.0.1",
"description": "Parse Postgres interval columns",

@@ -6,0 +6,0 @@ "license": "MIT",

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