use directories for structure
This commit is contained in:
8
node_modules/w3c-hr-time/CHANGELOG.md
generated
vendored
8
node_modules/w3c-hr-time/CHANGELOG.md
generated
vendored
@@ -1,5 +1,11 @@
|
||||
# Change log
|
||||
|
||||
## 1.0.2 (2020-03-05)
|
||||
|
||||
* Do not allow infinite loops when calculating `hrtime()`'s offset relative to UNIX time. ([#9])
|
||||
* Add a LICENSE file. ([#3])
|
||||
* Add Tidelift sponsorship link to README.
|
||||
|
||||
## 1.0.1 (2018-01-03)
|
||||
|
||||
* Make `performance.toJSON()` return an object with `timeOrigin` property, per [clarifications from specification authors][heycam/webidl#505].
|
||||
@@ -9,3 +15,5 @@
|
||||
* Initial release.
|
||||
|
||||
[heycam/webidl#505]: https://github.com/heycam/webidl/pull/505
|
||||
[#3]: https://github.com/jsdom/w3c-hr-time/issues/3
|
||||
[#9]: https://github.com/jsdom/w3c-hr-time/issues/9
|
||||
|
21
node_modules/w3c-hr-time/LICENSE.md
generated
vendored
Normal file
21
node_modules/w3c-hr-time/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 Tiancheng "Timothy" Gu and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
11
node_modules/w3c-hr-time/README.md
generated
vendored
11
node_modules/w3c-hr-time/README.md
generated
vendored
@@ -98,6 +98,17 @@ For example, if `performance.now()` returns 1000, it is guaranteed that the time
|
||||
|
||||
On the other hand, `performance.timeOrigin` returns the *[Unix time][]* at which the `Performance` object is constructed and relies on the current time exposed through `Date.now()`. That means that it is susceptible to clock drifts that has occurred before the `Performance` object was constructed.
|
||||
|
||||
## Supporting w3c-hr-time
|
||||
|
||||
The jsdom project (including w3c-hr-time) is a community-driven project maintained by a team of [volunteers](https://github.com/orgs/jsdom/people). You could support us by:
|
||||
|
||||
- [Getting professional support for w3c-hr-time](https://tidelift.com/subscription/pkg/npm-w3c-hr-time?utm_source=npm-w3c-hr-time&utm_medium=referral&utm_campaign=readme) as part of a Tidelift subscription. Tidelift helps making open source sustainable for us while giving teams assurances for maintenance, licensing, and security.
|
||||
- Contributing directly to the project.
|
||||
|
||||
## License
|
||||
|
||||
This software is licensed under the MIT license. See LICENSE.md file for more detail.
|
||||
|
||||
[HR-TIME]: https://w3c.github.io/hr-time/
|
||||
[NAVIGATION-TIMING]: https://w3c.github.io/navigation-timing/
|
||||
[PERFORMANCE-TIMELINE]: https://w3c.github.io/performance-timeline/
|
||||
|
4
node_modules/w3c-hr-time/lib/calculate-clock-offset.js
generated
vendored
4
node_modules/w3c-hr-time/lib/calculate-clock-offset.js
generated
vendored
@@ -14,7 +14,9 @@ const clockIsAccurate = require("./clock-is-accurate");
|
||||
function calculateClockOffset() {
|
||||
const start = Date.now();
|
||||
let cur = start;
|
||||
while (cur === start) {
|
||||
// Limit the iterations, just in case we're running in an environment where Date.now() has been mocked and is
|
||||
// constant.
|
||||
for (let i = 0; i < 1e6 && cur === start; i++) {
|
||||
cur = Date.now();
|
||||
}
|
||||
|
||||
|
16
node_modules/w3c-hr-time/package.json
generated
vendored
16
node_modules/w3c-hr-time/package.json
generated
vendored
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"_from": "w3c-hr-time@^1.0.1",
|
||||
"_id": "w3c-hr-time@1.0.1",
|
||||
"_id": "w3c-hr-time@1.0.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-gqwr/2PZUOqeMYmlimViX+3xkEU=",
|
||||
"_integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==",
|
||||
"_location": "/w3c-hr-time",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
@@ -18,10 +18,10 @@
|
||||
"_requiredBy": [
|
||||
"/jsdom"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz",
|
||||
"_shasum": "82ac2bff63d950ea9e3189a58a65625fedf19045",
|
||||
"_resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz",
|
||||
"_shasum": "0a89cdf5cc15822df9c360543676963e0cc308cd",
|
||||
"_spec": "w3c-hr-time@^1.0.1",
|
||||
"_where": "F:\\projects\\vanillajs-seed\\node_modules\\jsdom",
|
||||
"_where": "D:\\Projects\\siag\\vanillajs-seed\\node_modules\\jsdom",
|
||||
"author": {
|
||||
"name": "Timothy Gu",
|
||||
"email": "timothygu99@gmail.com"
|
||||
@@ -31,14 +31,14 @@
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"browser-process-hrtime": "^0.1.2"
|
||||
"browser-process-hrtime": "^1.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "An implementation of the W3C High Resolution Time Level 2 specification.",
|
||||
"devDependencies": {
|
||||
"eslint": "^4.14.0",
|
||||
"eslint-plugin-jest": "^21.5.0",
|
||||
"jest": "^22.0.4"
|
||||
"jest": "^24.1.0"
|
||||
},
|
||||
"files": [
|
||||
"lib",
|
||||
@@ -57,5 +57,5 @@
|
||||
"lint": "eslint .",
|
||||
"test": "jest"
|
||||
},
|
||||
"version": "1.0.1"
|
||||
"version": "1.0.2"
|
||||
}
|
||||
|
Reference in New Issue
Block a user