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

@google-cloud/precise-date

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/precise-date - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

9

build/src/index.js

@@ -516,4 +516,3 @@ "use strict";

function isFullTime(time) {
return typeof time === 'bigint' ||
typeof time === 'string' && /^\d+$/.test(time);
return (typeof time === 'bigint' || (typeof time === 'string' && /^\d+$/.test(time)));
}

@@ -529,5 +528,5 @@ /**

function isStruct(time) {
return typeof time === 'object' &&
typeof time.seconds !== 'undefined' ||
typeof time.nanos === 'number';
return ((typeof time === 'object' &&
typeof time.seconds !== 'undefined') ||
typeof time.nanos === 'number');
}

@@ -534,0 +533,0 @@ /**

@@ -7,2 +7,14 @@ # Changelog

## [1.0.0](https://www.github.com/googleapis/nodejs-precise-date/compare/v0.1.0...v1.0.0) (2019-05-02)
### Build System
* upgrade engines field to >=8.10.0 ([#25](https://www.github.com/googleapis/nodejs-precise-date/issues/25)) ([10b9cc1](https://www.github.com/googleapis/nodejs-precise-date/commit/10b9cc1))
### BREAKING CHANGES
* upgrade engines field to >=8.10.0 (#25)
## v0.1.0

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

{
"name": "@google-cloud/precise-date",
"version": "0.1.0",
"description": "",
"version": "1.0.0",
"description": "A simple utility for precise-dateing functions and classes.",
"main": "build/src/index.js",

@@ -23,3 +23,8 @@ "types": "build/src/index.d.ts",

},
"keywords": [],
"keywords": [
"nano",
"date",
"time",
"precise"
],
"files": [

@@ -36,10 +41,13 @@ "build/src",

"codecov": "^3.0.4",
"gts": "^0.9.0",
"gts": "^1.0.0",
"intelli-espower-loader": "^1.0.1",
"mocha": "^5.2.0",
"nyc": "^13.0.0",
"mocha": "^6.0.0",
"nyc": "^14.0.0",
"sinon": "^7.2.3",
"source-map-support": "^0.5.6",
"typescript": "^3.0.0"
},
"engines": {
"node": ">=8.10.0"
}
}

@@ -6,11 +6,2 @@ <img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

Google Cloud Common node.js module contains stuff used by other Cloud API modules.
* [github.com/googlecloudplatform/google-cloud-node](https://github.com/googlecloudplatform/google-cloud-node)
Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
[explained]: https://cloud.google.com/apis/docs/client-libraries-explained
### Installing the package

@@ -170,10 +161,2 @@

This library is considered to be in **alpha**. This means it is still a
work-in-progress and under active development. Any release is subject to
backwards-incompatible changes at any time.
More Information: [Google Cloud Platform Launch Stages][launch_stages]
[launch_stages]: https://cloud.google.com/terms/launch-stages
## Contributing

@@ -180,0 +163,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