diff --git a/.flowconfig b/.flowconfig index 39d82f6..3447ed3 100644 --- a/.flowconfig +++ b/.flowconfig @@ -2,13 +2,15 @@ .*/node_modules/.* .*/dist/.* .*/test.js +.*/bessel.js .*/bits/.* .*/ctest/.* .*/misc/.* .*/perf/.* -.*/bessel.js +.*/demo/browser.js +.*/shim.js [include] bessel.flow.js diff --git a/.travis.yml b/.travis.yml index 8beb852..65ece8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,9 @@ language: node_js node_js: + - "7" - "6" - "5" - - "4.2" + - "4" - "0.12" - "0.10" - "0.8" diff --git a/LICENSE b/LICENSE index 93d22d9..56697e6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,9 +1,14 @@ -Copyright (C) 2013 SheetJS +Copyright (C) 2013-present SheetJS -The MIT License (MIT) + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at -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: + http://www.apache.org/licenses/LICENSE-2.0 -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. -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. diff --git a/README.md b/README.md index 39c667f..aefe29d 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ like Mathematica reverse the argument order. ## License Please consult the attached LICENSE file for details. All rights not explicitly -granted by the MIT License are reserved by the Original Author. +granted by the Apache 2.0 License are reserved by the Original Author. ## Badges @@ -91,4 +91,10 @@ granted by the MIT License are reserved by the Original Author. [![Coverage Status](http://img.shields.io/coveralls/SheetJS/bessel/master.svg)](https://coveralls.io/r/SheetJS/bessel?branch=master) +[![NPM Downloads](https://img.shields.io/npm/dt/bessel.svg)](https://npmjs.org/package/bessel) + +[![Dependencies Status](https://david-dm.org/sheetjs/bessel/status.svg)](https://david-dm.org/sheetjs/bessel) + +[![ghit.me](https://ghit.me/badge.svg?repo=sheetjs/bessel)](https://ghit.me/repo/sheetjs/bessel) + [![Analytics](https://ga-beacon.appspot.com/UA-36810333-1/SheetJS/bessel?pixel)](https://github.com/SheetJS/bessel) diff --git a/bessel.flow.js b/bessel.flow.js index 2336c91..822d844 100644 --- a/bessel.flow.js +++ b/bessel.flow.js @@ -23,7 +23,7 @@ var BESSEL; } /*jshint ignore:end */ }(function(BESSEL) { -BESSEL.version = '0.3.0'; +BESSEL.version = '1.0.0'; var M = Math; /*:: diff --git a/bessel.js b/bessel.js index c69f73e..6f0d04a 100644 --- a/bessel.js +++ b/bessel.js @@ -21,7 +21,7 @@ var BESSEL; } /*jshint ignore:end */ }(function(BESSEL) { -BESSEL.version = '0.3.0'; +BESSEL.version = '1.0.0'; var M = Math; function _horner(arr, v) { for(var i = 0, z = 0; i < arr.length; ++i) z = v * z + arr[i]; return z; } diff --git a/bits/01_version.js b/bits/01_version.js index 025a37a..148d3cb 100644 --- a/bits/01_version.js +++ b/bits/01_version.js @@ -1 +1 @@ -BESSEL.version = '0.3.0'; +BESSEL.version = '1.0.0'; diff --git a/ctest/bessel.js b/ctest/bessel.js index c69f73e..6f0d04a 100644 --- a/ctest/bessel.js +++ b/ctest/bessel.js @@ -21,7 +21,7 @@ var BESSEL; } /*jshint ignore:end */ }(function(BESSEL) { -BESSEL.version = '0.3.0'; +BESSEL.version = '1.0.0'; var M = Math; function _horner(arr, v) { for(var i = 0, z = 0; i < arr.length; ++i) z = v * z + arr[i]; return z; } diff --git a/package.json b/package.json index 6176285..f08babb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bessel", - "version": "0.3.0", + "version": "1.0.0", "author": "SheetJS", "description": "Pure-JS Bessel Functions", "keywords": [ "bessel", "math", "specfun" ], @@ -20,7 +20,8 @@ "pattern": "bessel.js" } }, + "homepage": "https://oss.sheetjs.com/bessel/", "bugs": { "url": "https://github.com/SheetJS/bessel/issues" }, - "license": "MIT", + "license": "Apache-2.0", "engines": { "node": ">=0.8" } }