Skip to content

fix: correct license identifier to Apache-2.0 to match LICENSE file - #1344

Open
tahiraltundag wants to merge 1 commit into
dotintent:masterfrom
tahiraltundag:fix/license-apache2-mismatch
Open

tahiraltundag wants to merge 1 commit into
dotintent:masterfrom
tahiraltundag:fix/license-apache2-mismatch

Conversation

@tahiraltundag

Copy link
Copy Markdown

Summary

Fixes #1343

SPDX license identifier in package.json was MIT while LICENSE file is Apache-2.0 (Copyright 2016 Polidea, 2021 intent sp. z o.o.). License-compliance / SBOM tooling reports incorrect license.

Change

  • package.json:70 "license": "MIT" → "Apache-2.0"
  • react-native-ble-plx.podspec:11 reads package["license"] dynamically, no change needed

Testing

  • Verified with node /tmp/test-license.js → both Apache-2.0
  • yarn lint:plugin → pass
  • yarn test:package / test:plugin → same 5/1 failures as master (pre-existing, not worsened - verified via git stash)
  • tsc --noEmit same pre-existing error as master (example async-storage)

package.json declared MIT while LICENSE file is Apache-2.0 (Copyright 2016 Polidea, 2021 intent sp. z o.o.).
Update SPDX identifier to Apache-2.0 so SBOM/SCA tooling reports correctly.

Fixes dotintent#1343

Signed-off-by: tahiraltundag <tahiraltundag1@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

License mismatch: package.json declares MIT but LICENSE file is Apache-2.0

1 participant