@crossbind/port-zlib 2.0.0-beta.53 → 2.0.0-beta.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build.mjs +2 -1
  2. package/package.json +1 -1
package/build.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  export default {
2
2
  sha256: 'bb329a0a2cd0274d05519d61c667c062e06990d72e125ee2dfa8de64f0119d16', // zlib-1.3.2.tar.gz
3
- getURL: (version) => `https://zlib.net/zlib-${version}.tar.gz`,
3
+ // zlib.net drops superseded releases and its edge occasionally serves other bytes; the GitHub asset is stable.
4
+ getURL: (version) => `https://github.com/madler/zlib/releases/download/v${version}/zlib-${version}.tar.gz`,
4
5
  buildType: 'cmake',
5
6
  getBuildParams: (target) => [
6
7
  target.platform === 'android' ? '-DZLIB_BUILD_STATIC=OFF' : '-DZLIB_BUILD_SHARED=OFF',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossbind/port-zlib",
3
- "version": "2.0.0-beta.53",
3
+ "version": "2.0.0-beta.56",
4
4
  "nativeVersion": "1.3.2",
5
5
  "description": "This package provides the precompiled zlib library, built using crossbind, for easy integration into JavaScript, WebAssembly and React Native projects. It offers compression and decompression functionalities through the zlib API, ensuring high performance and cross-platform compatibility. Ideal for use in web and mobile applications.",
6
6
  "homepage": "https://github.com/crossbind/crossbind/tree/main/ports/zlib#readme",