@cpp.js/package-zlib 1.0.0-beta.26 → 1.0.0-beta.27

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.
package/README.md CHANGED
@@ -4,6 +4,9 @@
4
4
  <a href="https://www.npmjs.com/package/@cpp.js/package-zlib">
5
5
  <img alt="NPM version" src="https://img.shields.io/npm/v/@cpp.js/package-zlib?style=for-the-badge" />
6
6
  </a>
7
+ <a href="https://zlib.net/">
8
+ <img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Funpkg.com%2F%40cpp.js%2Fpackage-zlib%2Fpackage.json&query=%24.nativeVersion&style=for-the-badge&label=zlib" />
9
+ </a>
7
10
  <a href="https://zlib.net/zlib_license.html">
8
11
  <img alt="License" src="https://img.shields.io/npm/l/%40cpp.js%2Fpackage-zlib?style=for-the-badge" />
9
12
  </a>
@@ -9,7 +9,7 @@ if(ANDROID)
9
9
  set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/${PACKAGE_HOST}/lib")
10
10
  elseif(APPLE)
11
11
  if (CMAKE_SYSTEM_NAME STREQUAL "iOS")
12
- set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}")
12
+ set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/../..")
13
13
  else()
14
14
  set(PACKAGE_HOST "${CMAKE_SYSTEM_NAME}-${CMAKE_HOST_SYSTEM_PROCESSOR}")
15
15
  set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/${PACKAGE_HOST}/lib")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpp.js/package-zlib",
3
- "version": "1.0.0-beta.26",
3
+ "version": "1.0.0-beta.27",
4
4
  "nativeVersion": "1.3.1",
5
5
  "description": "This package provides the precompiled zlib library, built using cpp.js, 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/bugra9/cpp.js/tree/main/packages/cppjs-package-zlib#readme",
@@ -8,7 +8,7 @@
8
8
  "license": "Zlib",
9
9
  "type": "module",
10
10
  "devDependencies": {
11
- "cpp.js": "1.0.0-beta.26"
11
+ "cpp.js": "^1.0.0-beta.28"
12
12
  },
13
13
  "keywords": [
14
14
  "z",
@@ -23,7 +23,6 @@
23
23
  "build:wasm": "cppjs build -p WebAssembly",
24
24
  "build:android": "cppjs build -p Android",
25
25
  "build:ios": "cppjs build -p iOS",
26
- "clear": "rm -rf .cppjs dist *.xcframework",
27
- "postinstall": "cppjs postinstall"
26
+ "clear": "rm -rf .cppjs dist *.xcframework"
28
27
  }
29
28
  }
index a25e528..a009cd4 100644
Binary file