Comparing version 3.0.0 to 4.0.0-next.1589162591.e835af418f80c6b7f4cacc9b2494fd2e3a9d81a2
@@ -1,1 +0,1 @@ | ||
export default 86400000; | ||
export default 86400000 |
@@ -1,3 +0,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = 86400000; | ||
'use strict' | ||
Object.defineProperty(exports, '__esModule', { value: true }) | ||
exports.default = 86400000 |
# History | ||
## v4.0.0 2020 May 11 | ||
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation) | ||
- Minimum required node version changed from `node: >=8` to `node: >=10` to keep up with mandatory ecosystem changes | ||
## v3.0.0 2019 December 18 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "oneday", | ||
"version": "3.0.0", | ||
"version": "4.0.0-next.1589162591.e835af418f80c6b7f4cacc9b2494fd2e3a9d81a2", | ||
"description": "The number of milliseconds in one day", | ||
@@ -14,2 +14,3 @@ "homepage": "https://github.com/bevry/oneday", | ||
"module", | ||
"node", | ||
"typed", | ||
@@ -47,3 +48,7 @@ "types", | ||
"wishlistURL": "https://bevry.me/wishlist", | ||
"travisTLD": "com" | ||
"travisTLD": "com", | ||
"githubUsername": "bevry", | ||
"githubRepository": "oneday", | ||
"githubSlug": "bevry/oneday", | ||
"npmPackageName": "oneday" | ||
} | ||
@@ -54,8 +59,10 @@ }, | ||
"maintainers": [ | ||
"Benjamin Lupton <b@lupton.cc> (http://balupton.com)" | ||
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)" | ||
], | ||
"contributors": [ | ||
"Benjamin Lupton <b@lupton.cc> (http://balupton.com)", | ||
"Dom Christie (domchristie.co.uk)", | ||
"Dominic Tarr (http://protozoa.nz)" | ||
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)", | ||
"Dom Christie (https://github.com/domchristie)", | ||
"Dominic Tarr (http://protozoa.nz)", | ||
"Dominic Tarr (https://github.com/dominictarr)", | ||
"Dom Christie (domchristie.co.uk)" | ||
], | ||
@@ -70,3 +77,3 @@ "bugs": { | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=10" | ||
}, | ||
@@ -85,26 +92,26 @@ "editions": [ | ||
{ | ||
"description": "TypeScript compiled against ESNext for web browsers with Import for modules", | ||
"directory": "edition-browsers", | ||
"description": "TypeScript compiled against ESNext for Node.js with Require for modules", | ||
"directory": "edition-esnext", | ||
"entry": "index.js", | ||
"tags": [ | ||
"javascript", | ||
"import" | ||
"esnext", | ||
"require" | ||
], | ||
"engines": { | ||
"node": false, | ||
"browsers": "defaults" | ||
"node": "10 || 12 || 13 || 14", | ||
"browsers": false | ||
} | ||
}, | ||
{ | ||
"description": "TypeScript compiled against ESNext for Node.js with Require for modules", | ||
"directory": "edition-esnext", | ||
"description": "TypeScript compiled against ES2019 for web browsers with Import for modules", | ||
"directory": "edition-browsers", | ||
"entry": "index.js", | ||
"tags": [ | ||
"javascript", | ||
"esnext", | ||
"require" | ||
"import" | ||
], | ||
"engines": { | ||
"node": "8 || 10 || 12 || 13", | ||
"browsers": false | ||
"node": false, | ||
"browsers": "defaults" | ||
} | ||
@@ -119,15 +126,16 @@ } | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^2.12.0", | ||
"@typescript-eslint/parser": "^2.12.0", | ||
"assert-helpers": "^5.8.0", | ||
"eslint": "^6.7.2", | ||
"eslint-config-bevry": "^2.3.0", | ||
"eslint-config-prettier": "^6.7.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"kava": "^4.4.0", | ||
"prettier": "^1.19.1", | ||
"projectz": "^1.19.0", | ||
"@bevry/update-contributors": "^1.2.0", | ||
"@typescript-eslint/eslint-plugin": "^2.31.0", | ||
"@typescript-eslint/parser": "^2.31.0", | ||
"assert-helpers": "^6.2.0", | ||
"eslint": "^7.0.0", | ||
"eslint-config-bevry": "^3.4.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"kava": "^5.0.0", | ||
"prettier": "^2.0.5", | ||
"projectz": "^2.0.0", | ||
"surge": "^0.21.3", | ||
"typedoc": "^0.15.5", | ||
"typescript": "^3.7.3", | ||
"typedoc": "^0.17.6", | ||
"typescript": "^3.8.3", | ||
"valid-directory": "^1.6.0", | ||
@@ -139,9 +147,10 @@ "valid-module": "^1.0.0" | ||
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-esnext", | ||
"our:compile:edition-browsers": "tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true", | ||
"our:compile:edition-browsers": "tsc --module ESNext --target ES2019 --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true", | ||
"our:compile:edition-esnext": "tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true", | ||
"our:deploy": "echo no need for this project", | ||
"our:meta": "npm run our:meta:docs && npm run our:meta:projectz", | ||
"our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz", | ||
"our:meta:contributors": "npx @bevry/update-contributors", | ||
"our:meta:docs": "npm run our:meta:docs:typedoc", | ||
"our:meta:docs:typedoc": "rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source", | ||
"our:meta:projectz": "projectz compile", | ||
"our:meta:docs:typedoc": "rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source", | ||
"our:meta:projectz": "npx projectz compile", | ||
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push", | ||
@@ -157,7 +166,7 @@ "our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)", | ||
"our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript", | ||
"our:verify:directory": "valid-directory", | ||
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source", | ||
"our:verify:module": "valid-module", | ||
"our:verify:prettier": "prettier --write ./source/**", | ||
"our:verify:typescript": "tsc --noEmit --project tsconfig.json", | ||
"our:verify:directory": "npx valid-directory", | ||
"our:verify:eslint": "npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source", | ||
"our:verify:module": "npx valid-module", | ||
"our:verify:prettier": "npx prettier --write .", | ||
"our:verify:typescript": "npx tsc --noEmit --project tsconfig.json", | ||
"test": "node ./edition-esnext/test.js" | ||
@@ -164,0 +173,0 @@ }, |
@@ -38,5 +38,7 @@ <!-- TITLE/ --> | ||
[Complete API Documentation.](http://master.oneday.bevry.surge.sh/docs/globals.html) | ||
```javascript | ||
import oneday from 'oneday' | ||
setInterval(function() { | ||
setInterval(function () { | ||
console.log('this occurred 24 hours later') | ||
@@ -46,4 +48,2 @@ }, oneday) | ||
<!-- INSTALL/ --> | ||
@@ -64,3 +64,3 @@ | ||
<script type="module"> | ||
import pkg from '//cdn.pika.dev/oneday/^3.0.0' | ||
import pkg from '//cdn.pika.dev/oneday/^4.0.0' | ||
</script> | ||
@@ -73,3 +73,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//unpkg.com/oneday@^3.0.0' | ||
import pkg from '//unpkg.com/oneday@^4.0.0' | ||
</script> | ||
@@ -82,3 +82,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//dev.jspm.io/oneday@3.0.0' | ||
import pkg from '//dev.jspm.io/oneday@4.0.0' | ||
</script> | ||
@@ -92,5 +92,5 @@ ``` | ||
<ul><li><code>oneday/source/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>oneday/edition-browsers/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> for web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>oneday</code> aliases <code>oneday/edition-esnext/index.js</code></li> | ||
<li><code>oneday/edition-esnext/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li></ul> | ||
<li><code>oneday/edition-esnext/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>oneday/edition-browsers/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019" title="ECMAScript ES2019">ES2019</a> for web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul> | ||
@@ -126,3 +126,3 @@ <!-- /INSTALL --> | ||
<ul><li><a href="http://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/oneday/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/oneday">view contributions</a></li></ul> | ||
<ul><li><a href="https://github.com/balupton">Benjamin Lupton</a> — <a href="https://github.com/bevry/oneday/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/oneday">view contributions</a></li></ul> | ||
@@ -147,6 +147,7 @@ <h3>Sponsors</h3> | ||
<ul><li><a href="http://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/oneday/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/oneday">view contributions</a></li> | ||
<li><a href="domchristie.co.uk">Dom Christie</a> — <a href="https://github.com/bevry/oneday/commits?author=domchristie" title="View the GitHub contributions of Dom Christie on repository bevry/oneday">view contributions</a></li> | ||
<li><a href="http://protozoa.nz">Dominic Tarr</a> — <a href="https://github.com/bevry/oneday/commits?author=dominictarr" title="View the GitHub contributions of Dominic Tarr on repository bevry/oneday">view contributions</a></li> | ||
<li><a href="http://github.com/apps/dependabot-preview">dependabot-preview[bot]</a> — <a href="https://github.com/bevry/oneday/commits?author=dependabot-preview[bot]" title="View the GitHub contributions of dependabot-preview[bot] on repository bevry/oneday">view contributions</a></li></ul> | ||
<ul><li><a href="https://github.com/balupton">Benjamin Lupton</a> — <a href="https://github.com/bevry/oneday/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/oneday">view contributions</a></li> | ||
<li><a href="https://github.com/domchristie">Dom Christie</a> — <a href="https://github.com/bevry/oneday/commits?author=domchristie" title="View the GitHub contributions of Dom Christie on repository bevry/oneday">view contributions</a></li> | ||
<li><a href="http://protozoa.nz">Dominic Tarr</a></li> | ||
<li><a href="https://github.com/dominictarr">Dominic Tarr</a> — <a href="https://github.com/bevry/oneday/commits?author=dominictarr" title="View the GitHub contributions of Dominic Tarr on repository bevry/oneday">view contributions</a></li> | ||
<li><a href="domchristie.co.uk">Dom Christie</a></li></ul> | ||
@@ -153,0 +154,0 @@ <a href="https://github.com/bevry/oneday/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a> |
@@ -7,9 +7,8 @@ { | ||
"maxNodeModuleJsDepth": 5, | ||
"moduleResolution": "node", | ||
"moduleResolution": "Node", | ||
"strict": true, | ||
"target": "esnext" | ||
"target": "ESNext", | ||
"lib": [] | ||
}, | ||
"include": [ | ||
"source" | ||
] | ||
"include": ["source"] | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
21209
164
16
18
1