@google-cloud/precise-date
Advanced tools
Comparing version 0.1.0 to 1.0.0
@@ -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 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
50655
920
169
1