60 Commits

Author SHA1 Message Date
Luke Bennett
7978c4c9a2 feat(image): add useOffsetWidth option for scaled images 2020-08-26 10:54:11 +08:00
Brett Zamir
3b93c122bb - Refactoring: Move let to closer/deeper scope 2020-08-26 10:52:19 +08:00
Brett Zamir
219125d3f1
Merge pull request #40 from flozz/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-17 05:47:25 +08:00
dependabot[bot]
e7a6f75b76
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 20:47:05 +00:00
Brett Zamir
67da8efc16 - npm: add to ignore v2.3.0 2020-05-10 20:08:45 +08:00
Brett Zamir
7a61eb3afd - npm: Change from deprecated rollup-plugin-babel to rollup/plugin-babel
and set `babelHelpers` explicitly to `bundled`
- npm: Update devDeps.
- npm: Bump to 2.3.0
2020-05-10 20:07:26 +08:00
Brett Zamir
484fb1c1fb - Lint hidden files 2020-04-04 11:23:54 +08:00
Brett Zamir
3aa0bebd5e - Linting (ESLint): As per latest ash-nazg
- Mainenance: Use `.json` extension on `.babelrc`
- npm: Add valid `engines` (pointing to minimum Node version until may confirm)
- npm: Change from mistaken use of `open-cli` as dep. to devDep.
- npm: Update devDeps
2020-04-04 10:59:35 +08:00
Brett Zamir
4474443e9c
Merge pull request #36 from Artoria2e5/patch-3
- Docs: Link to a description of the algorithm Mario likes more
2020-04-04 10:56:14 +08:00
Mingye Wang
aac93e6266
Link to a description of the algorithm Mario likes more
Sorry! https://twitter.com/quasimondo/status/1227528506067869698
2020-04-04 10:52:03 +08:00
Brett Zamir
887ae5d0a5
Merge pull request #34 from Artoria2e5/patch-1
- Docs: Link to Klingemann's picture with description of the algo
2020-04-04 10:38:13 +08:00
Mingye Wang
cffa787248
Link to Klingemann's picture with description of the algo 2020-04-04 10:34:26 +08:00
Brett Zamir
16ad976009
Merge pull request #33 from flozz/dependabot/npm_and_yarn/acorn-6.4.1
Bump acorn from 6.4.0 to 6.4.1
2020-03-14 08:02:48 +08:00
dependabot[bot]
b994321b8b
Bump acorn from 6.4.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-13 23:10:57 +00:00
Brett Zamir
70a7ff14dc - Linting (LGTM): Add lgtm.yml file to ignore dist 2020-02-12 12:07:10 +08:00
Brett Zamir
f4c090a317 - yarn: Update lock 2020-02-06 02:48:31 +08:00
Brett Zamir
b866452bed - Linting (ESLint): As per latest ash-nazg
- npm: Update devDeps.
2020-02-06 01:52:58 +08:00
Brett Zamir
1b6c7e822c - Refactoring: Remove unneeded capturing false flag 2020-01-31 08:08:49 +08:00
Brett Zamir
8a641b7cf4 - Remove relic from other project from .editorconfig 2019-12-05 13:42:09 +08:00
Brett Zamir
beeea4768c - Linting (ESLint): Switch to ash-nazg/sauron-node
- Linting (ESLint): Lint MD, HTML
- Linting (ESLint): Switch to 2 sp. indent, fix max-len
- Linting (ESLint): Prefer `document.querySelector` in demo
- Linting (ESLint): Add a recommended extension (js) to eslintrc
- Maintenance: Add `.editorconfig`
- npm: Avoid bundling `rollup.config.js`
2019-12-05 13:33:47 +08:00
Brett Zamir
b8a08ba25d - Build: Update build files per latest devDeps
- npm: Remove `package-lock.json` in favor of `yarn.lock`
- npm: Move from deprecated `opn-cli` to `open-cli`
- npm: Update devDeps (except jsdoc which seems to still have a problem with ESM exports: <https://github.com/jsdoc/jsdoc/issues/1644>)
2019-12-05 12:49:53 +08:00
Brett Zamir
36f2d76a81 - Build fix: Target 100% coverage; fixes #29
- Refactoring (minor): `x + x` -> `2 * x`
- Docs: Update docs
- npm Add prepublishOnly script for yarn
- npm: Update devDeps (no impact on build)
- npm: Bump to 2.2.0
v2.2.0
2018-12-13 09:30:42 +08:00
Brett Zamir
549af53f65 - npm: Bump to 2.1.0 v2.1.0 2018-11-25 20:59:06 +08:00
Brett Zamir
e3824557dc
Merge pull request #28 from peleteiro/typescript
Update typescript's definition
2018-11-21 18:57:18 +08:00
Jose Peleteiro
c9b7a2a2a5 Typescript definition updated 2018-11-21 08:40:36 -02:00
Brett Zamir
15e748421d - Docs: Document function's throwing types
- Update builds
2018-11-06 14:40:16 +08:00
Brett Zamir
e0c9920c6e - Enhancement: Throw descriptive TypeError rather than silently returning
upon `processCanvasRGB`/`processCanvasRGBA` methods not supplying proper
    canvas (dependent methods will throw anyways, so shouldn't be a
    breaking change)
2018-11-06 14:38:00 +08:00
Brett Zamir
5b399f5f73 - npm: Update CHANGES 2018-11-05 22:39:45 +08:00
Brett Zamir
af06af0c13 - Breaking change: Remove now deprecated Bower
- Fix: Duck type with image or canvas in place of `instanceof` check (and a broken one)
- Enhancement: Add JSDoc comments
- Linting (ESLint): Add ESLint with "standard" base
- Linting (Markdown): Add `.remarkrc`
- Linting (package.json): Add recommended properties
- Linting (HTML): Add empty favicon to suppress console
- License: Change MIT license file name to reflect license type (MIT)
- Docs: Move changelog to own file: `CHANGES.md`
- Demo: Move demo to own directory (with static server to avoid Chrome security problems reaching out of folder)
- Demo: Move JS and CSS to separate files for easier linting/examination
- Build: Move from Grunt to Rollup, supporting ES6 Modules distribution as well as UMD
- Build: Add npm-recommended `package-lock.json`
- npm: Add start, eslint, rollup, open-docs, docs scripts
- npm: Add `module` for ES6 module discovery and switch `main` to point to `dist`
- npm: Bump to 2.0.0
v2.0.0
2018-11-05 22:33:38 +08:00
Fabien LOISON
ae5f167093
v1.4.1 v1.4.1 2018-01-30 09:00:41 +01:00
Fabien LOISON
8602c3a0d3
Merge pull request #23 from jsg2021/patch-1
move grunt-cli to devDependencies
2018-01-30 08:58:11 +01:00
Jonathan Grimes
10d70bad21
move grunt-cli to devDependencies 2018-01-29 15:56:28 -06:00
Fabien LOISON
4ba430697e updates bower.json 2016-10-20 20:35:17 +02:00
Fabien LOISON
4a40e5213d 1.4.0 1.4.0 2016-10-20 20:32:50 +02:00
Fabien LOISON
35759d6c85 Merge pull request #15 from swhite24/master
node-canvas support
2016-10-20 20:26:33 +02:00
Steven White
c6ce56abc0 Add checks for HTMLCanvasElement && HTMLImageElement 2016-10-20 01:58:14 -04:00
Fabien LOISON
539ff3aad7 1.3.0 1.3.0 2016-10-16 22:19:45 +02:00
Fabien LOISON
024401b341 COPYING file renamed to LICENSE 2016-10-16 22:17:22 +02:00
Fabien LOISON
47eee7457e Merge pull request #13 from WatchBeam/typings
Add TypeScript typings
2016-10-16 22:14:39 +02:00
Connor Peet
acf64c7463
Add TypeScript typings 2016-10-16 11:53:27 -07:00
Fabien LOISON
f5ee94162a 1.2.1 1.2.1 2016-04-08 14:27:13 +02:00
Fabien LOISON
1bf41b056d Merge pull request #8 from dansullivan86/patch-1
Remove dist file from npmignore
2016-04-08 14:24:43 +02:00
Dan Sullivan
0436a00a0a Remove dist file from npmignore
Now NPM is being used for frontend packages it is useful to have compiled versions included.
2016-04-08 12:33:20 +01:00
Fabien LOISON
d693397cc3 1.2.0 1.2.0 2016-01-23 21:10:12 +01:00
Fabien LOISON
2417cec479 Merge pull request #6 from snorpey/master
Remove alerts and netscape.security.PrivilegeManager
2016-01-23 21:02:45 +01:00
Georg Fischer
7ad8af7b3a remove alerts and netscape.security.PrivilegeManager 2016-01-23 19:28:54 +01:00
Fabien LOISON
3eff531f70 Fixes wrong repository URL in README.md 2016-01-23 10:51:36 +01:00
Fabien LOISON
f2095d6c0b 1.1.0 1.1.0 2015-08-20 09:17:33 +02:00
Fabien LOISON
a3ba9b5faa Updates README 2015-08-20 09:14:18 +02:00
Fabien LOISON
b7cda5fabb Merge pull request #3 from WebSeed/master
Allow StackBlur to be applied to imageData directly (RGB and RGBA)
2015-08-20 08:55:10 +02:00