Lovell Fuller
ab8a4ed532
Tests: expand expected range of flaky text test
...
Cross-platform font discovery is complex
2023-11-04 21:34:45 +00:00
Lovell Fuller
12fd512b83
CI: simplify npm package smoke tests by using import
2023-11-04 21:15:18 +00:00
Lovell Fuller
239435a6dc
Allow empty lib dir when populating npm packages
2023-11-04 20:08:17 +00:00
Lovell Fuller
7c1551bdc9
Tests: expect ranges for flaky text test
v0.33.0-alpha.10
2023-11-04 17:22:08 +00:00
Lovell Fuller
bdcf02695f
Prerelease v0.33.0-alpha.10
2023-11-04 15:54:19 +00:00
Lovell Fuller
d206fd5392
Tests: allow range for text image dimensions
2023-11-04 14:20:53 +00:00
Lovell Fuller
0bd1715f36
Options for trim op must be an Object, add lineArt #2363
2023-11-04 14:09:50 +00:00
Lovell Fuller
2e7c60675b
Upgrade to libvips 8.15.0-rc2
2023-11-04 11:36:18 +00:00
Lovell Fuller
7caaa8e22b
Tests: add debug to flaky text test
2023-11-03 11:42:57 +00:00
Lovell Fuller
839c92bf3d
Docs: changelog and credit for #3812
2023-11-03 11:30:42 +00:00
Dennis Beatty
28aa176957
Add support for miniswhite when using TIFF output
2023-11-03 11:27:49 +00:00
Lovell Fuller
0f24f0f214
Add infrastructure (CI, npm) for sharp-linux-s390x package
2023-11-02 14:41:59 +00:00
Lovell Fuller
655da113c8
Ensure multi-page extract remains sequential #3837
2023-11-01 13:54:33 +00:00
Lovell Fuller
159b986cdd
Tests: remove use of SVG fixture from median tests
2023-10-31 21:32:33 +00:00
Lovell Fuller
069d1786f5
The value of library_dirs is now common for all platforms
2023-10-20 11:15:23 +01:00
Lovell Fuller
f43829a16a
Use Call semantics for C++ to JS callbacks
...
Reverts 4ec883e as no longer required
2023-10-19 16:14:21 +01:00
Lovell Fuller
65e61ad001
Tests: ensure SVG is well-formed, detect lack of pango
2023-10-19 16:08:34 +01:00
Lovell Fuller
0107a4de81
Docs: compatible with Node-API v9 runtimes
2023-10-14 15:46:02 +01:00
Lovell Fuller
337ce7b1c2
Docs: changelog entry for #3823
2023-10-14 09:19:53 +01:00
Lovell Fuller
3719f79065
Docs: simply language around failOn options
2023-10-14 09:19:28 +01:00
Lovell Fuller
8d1747aa6a
Add rpath to match Deno package cache layout
2023-10-13 18:54:37 +01:00
Lovell Fuller
de9bdcba0a
Prerelease 0.33.0-alpha.9
v0.33.0-alpha.9
2023-10-13 14:32:21 +01:00
Lovell Fuller
f8b6cb6d5b
Update package names to use 'img' npm organisation
2023-10-12 17:03:37 +01:00
Thomas
e6942805b4
TypeScript: withMetadata accepts boolean ( #3823 )
2023-10-11 20:38:13 +01:00
Lovell Fuller
47e76c9981
Ensure all Error objects contain a stack prop #3653
2023-10-11 14:59:21 +01:00
Lovell Fuller
68fa84ef6f
Remove unused gitattributes
2023-10-11 14:48:40 +01:00
Lovell Fuller
ff2fb18c76
Remove extranous quote from help text
2023-10-11 10:03:07 +01:00
Lovell Fuller
28a9b1e9fa
CI: Split npm package smoke tests into a matrix
2023-10-11 10:02:20 +01:00
Lovell Fuller
6377d5a73a
Prerelease 0.33.0-alpha.8
v0.33.0-alpha.8
2023-10-10 20:24:07 +01:00
Lovell Fuller
80e4707af1
Revert "Package managers cannot handle nested optionalDependencies"
...
This partially reverts commit 51e56f994ce1332f77daf625e23820a895de074d.
Ignoring plug'n'play, it looks like yarn and pnpm do get the
filesystem layout right for this scenario, which is good news.
It also looks like npm 10 will get it right too.
2023-10-10 19:34:36 +01:00
Lovell Fuller
ab00e34d0d
Prerelease 0.33.0-alpha.7
v0.33.0-alpha.7
2023-10-10 14:47:13 +01:00
Lovell Fuller
7c2f883b67
CI: add pnpm and yarn to npm smoke tests
2023-10-10 11:15:55 +01:00
Lovell Fuller
9b5eecba8f
Yarn pnp unsupported, use alternative nodeLinker
2023-10-10 11:14:39 +01:00
Lovell Fuller
4b028edfe9
Revert "Remove extraneous rpath"
...
This reverts commit 3f54ef7525ed357ce64bf375ef7ce3d70a52ba61.
The filesystem layout used by pnpm means that a nesting of 2
directories deep is used in the wild and must remain.
2023-10-10 09:56:07 +01:00
Lovell Fuller
7e25dd7be1
Ensure versions prop detects use of global libvips
2023-10-10 09:18:25 +01:00
Lovell Fuller
09460d7af4
CI: use correct version of write-file action
2023-10-09 13:36:03 +01:00
Lovell Fuller
3b22640077
Use std::snprintf to concat libvips version parts
2023-10-09 13:35:20 +01:00
Lovell Fuller
946976ba8f
Prerelease 0.33.0-alpha.6
v0.33.0-alpha.6
2023-10-09 10:46:16 +01:00
Lovell Fuller
29a83250a4
CI: Add smoke test for npm-published package
...
These tests will fail on their first run as a tag will exist but
the matching packages will not yet have been published.
The workflow can be manually re-run after publishing to npm.
Eventually, when there's some form of automated publishing, this
logic can become part of the post-publish checks.
2023-10-09 07:59:47 +01:00
Lovell Fuller
3f54ef7525
Remove extraneous rpath
...
The sharp.node shared library should now always end up being
nested either 3 subdirectories deep into the package root or exist
within same namespace of the node_modules tree.
2023-10-09 07:58:14 +01:00
Lovell Fuller
4dc2467f49
CI: simplify prebuild file copying
2023-10-08 23:07:02 +01:00
Lovell Fuller
f54ceb0973
CI: create prebuilds in src directory
2023-10-08 21:49:58 +01:00
Lovell Fuller
8d033ae341
Prerelease 0.33.0-alpha.5
v0.33.0-alpha.5
2023-10-08 20:27:42 +01:00
Lovell Fuller
f7da2e5970
Building from source now requires node-addon-api in dependencies
...
If you want to build sharp from source against a globally-installed
libvips then you will now need to add both node-addon-api and
node-gyp to the dependencies section of your package.json file.
The binding.gyp file is "hidden" inside the src directory to
prevent various build and package manager tooling from assuming
that everyone is going to build from source every time.
2023-10-08 15:39:02 +01:00
Lovell Fuller
51e56f994c
Package managers cannot handle nested optionalDependencies
2023-10-07 11:09:45 +01:00
Lovell Fuller
68ac12292c
Prerelease 0.33.0-alpha.4
v0.33.0-alpha.4
2023-10-06 15:02:19 +01:00
Lovell Fuller
a9aa7339ce
Prerelease 0.33.0-alpha.3
v0.33.0-alpha.3
2023-10-06 09:48:44 +01:00
Lovell Fuller
08108f5fad
Use std::once for vips_init call
2023-10-06 09:44:57 +01:00
Lovell Fuller
58e3c4c70e
Ensure all package files make use of commonjs explicit
2023-10-05 20:00:32 +01:00
Lovell Fuller
f8cf25ca56
Ensure correct interp of 16-bit raw input #3808
2023-10-05 14:05:36 +01:00