@amazon-devices/react-native-worklets 1.0.0 → 1.0.1
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/Common/cpp/worklets/Registries/EventHandlerRegistry.h +5 -3
- package/Common/cpp/worklets/RunLoop/AsyncQueueImpl.cpp +5 -6
- package/Common/cpp/worklets/RunLoop/EventLoop.cpp +6 -6
- package/Common/cpp/worklets/SharedItems/Serializable.h +9 -8
- package/Common/cpp/worklets/Tools/JSISerializer.h +4 -4
- package/Common/cpp/worklets/Tools/JSScheduler.h +5 -3
- package/Common/cpp/worklets/Tools/SingleInstanceChecker.h +3 -2
- package/Common/cpp/worklets/Tools/UIScheduler.h +4 -4
- package/Common/cpp/worklets/Tools/VersionUtils.h +1 -4
- package/Common/cpp/worklets/Tools/WorkletsSystraceSection.h +0 -25
- package/SystemModules/amzn__react-native-worklets-1.private.modules.txt +57 -33
- package/kepler-compatibility.json +2 -1
- package/oss-attribution/attribution.txt +2262 -0
- package/oss-attribution/licenseInfos.json +585 -0
- package/package.json +1 -153
- package/SystemBundles/cc12deac6e91c435b76698c8445aed85612f2f88e733218d14f88a35d06fb0f4.bundle +0 -10512
- package/SystemBundles/cc12deac6e91c435b76698c8445aed85612f2f88e733218d14f88a35d06fb0f4.map +0 -3771
package/package.json
CHANGED
|
@@ -1,153 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"//": "amzn_mod - update package name and build with yarn",
|
|
3
|
-
"name": "@amazon-devices/react-native-worklets",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"description": "The React Native multithreading library",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"react-native",
|
|
8
|
-
"react",
|
|
9
|
-
"native",
|
|
10
|
-
"worklets"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "yarn workspace @amazon-devices/babel-plugin-worklets build && bob build && yarn build:unpackers",
|
|
14
|
-
"build:unpackers": "node ./scripts/export-unpackers.js",
|
|
15
|
-
"circular-dependency-check": "yarn madge --extensions js,jsx --circular lib",
|
|
16
|
-
"find-unused-code:js": "knip",
|
|
17
|
-
"format": "yarn format:js && yarn format:plugin && yarn format:common && yarn format:android && yarn format:apple",
|
|
18
|
-
"format:android": "yarn format:android:java && yarn format:android:cpp && yarn format:android:cmake",
|
|
19
|
-
"format:android:cpp": "find android/src -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
|
20
|
-
"format:android:cmake": "find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/format-cmake.sh",
|
|
21
|
-
"format:android:java": "node ../../scripts/format-java.js",
|
|
22
|
-
"format:apple": "find apple -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.mm\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
|
23
|
-
"format:common": "find Common -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
|
24
|
-
"format:js": "prettier --write --list-different src",
|
|
25
|
-
"format:plugin": "yarn workspace babel-plugin-worklets format",
|
|
26
|
-
"lint": "yarn lint:js && yarn lint:common && yarn lint:plugin && yarn lint:android && yarn lint:apple",
|
|
27
|
-
"lint:android": "../../scripts/validate-android.sh && ./android/gradlew -p android spotlessCheck -q && ../../scripts/cpplint.sh android/src && yarn format:android:cpp --dry-run -Werror && yarn lint:cmake",
|
|
28
|
-
"lint:apple": "../../scripts/validate-apple.sh && yarn format:apple --dry-run -Werror",
|
|
29
|
-
"lint:common": "../../scripts/validate-common.sh && ../../scripts/cpplint.sh Common && yarn format:common --dry-run -Werror",
|
|
30
|
-
"lint:cmake": "find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/lint-cmake.sh",
|
|
31
|
-
"lint:clang-tidy": "find Common -iname \"*.h\" -o -iname \"*.cpp\" | xargs ../../scripts/clang-tidy-lint.sh",
|
|
32
|
-
"lint:js": "eslint src && yarn prettier --check src",
|
|
33
|
-
"lint:plugin": "yarn workspace babel-plugin-worklets lint",
|
|
34
|
-
"test": "jest",
|
|
35
|
-
"type:check": "yarn type:check:src && yarn type:check:plugin && yarn type:check:app && yarn type:check:tests",
|
|
36
|
-
"type:check:src": "yarn tsc --noEmit",
|
|
37
|
-
"type:check:app": "yarn workspace common-app type:check",
|
|
38
|
-
"type:check:plugin": "yarn workspace babel-plugin-worklets type:check",
|
|
39
|
-
"type:check:tests": "../../scripts/test-ts.sh __typetests__",
|
|
40
|
-
"use-strict-check": "node ../../scripts/validate-use-strict.js"
|
|
41
|
-
},
|
|
42
|
-
"repository": {
|
|
43
|
-
"type": "git",
|
|
44
|
-
"url": "git+https://github.com/software-mansion/react-native-reanimated.git",
|
|
45
|
-
"directory": "packages/react-native-worklets"
|
|
46
|
-
},
|
|
47
|
-
"license": "See license in LICENSE",
|
|
48
|
-
"readmeFilename": "README.md",
|
|
49
|
-
"bugs": {
|
|
50
|
-
"url": "https://github.com/software-mansion/react-native-reanimated/issues"
|
|
51
|
-
},
|
|
52
|
-
"homepage": "https://docs.swmansion.com/react-native-worklets",
|
|
53
|
-
"peerDependencies": {
|
|
54
|
-
"@babel/core": "^7.0.0-0",
|
|
55
|
-
"react": "*",
|
|
56
|
-
"react-native": "*"
|
|
57
|
-
},
|
|
58
|
-
"dependencies": {
|
|
59
|
-
"@babel/plugin-transform-arrow-functions": "^7.0.0-0",
|
|
60
|
-
"@babel/plugin-transform-class-properties": "^7.0.0-0",
|
|
61
|
-
"@babel/plugin-transform-classes": "^7.0.0-0",
|
|
62
|
-
"@babel/plugin-transform-nullish-coalescing-operator": "^7.0.0-0",
|
|
63
|
-
"@babel/plugin-transform-optional-chaining": "^7.0.0-0",
|
|
64
|
-
"@babel/plugin-transform-shorthand-properties": "^7.0.0-0",
|
|
65
|
-
"@babel/plugin-transform-template-literals": "^7.0.0-0",
|
|
66
|
-
"@babel/plugin-transform-unicode-regex": "^7.0.0-0",
|
|
67
|
-
"@babel/preset-typescript": "^7.16.7",
|
|
68
|
-
"convert-source-map": "^2.0.0",
|
|
69
|
-
"semver": "7.7.2"
|
|
70
|
-
},
|
|
71
|
-
"devDependencies": {
|
|
72
|
-
"@babel/cli": "^7.20.0",
|
|
73
|
-
"@babel/core": "^7.25.2",
|
|
74
|
-
"@react-native-community/cli": "20.0.0",
|
|
75
|
-
"@react-native/eslint-config": "0.81.0",
|
|
76
|
-
"@types/jest": "^29.5.5",
|
|
77
|
-
"@types/react": "^19.1.0",
|
|
78
|
-
"clang-format-node": "^1.3.1",
|
|
79
|
-
"eslint": "^9.29.0",
|
|
80
|
-
"jest": "^29.0.0",
|
|
81
|
-
"knip": "^5.61.3",
|
|
82
|
-
"madge": "^5.0.1",
|
|
83
|
-
"prettier": "^3.3.3",
|
|
84
|
-
"react": "19.1.0",
|
|
85
|
-
"react-native": "0.81.5",
|
|
86
|
-
"react-native-builder-bob": "0.40.13",
|
|
87
|
-
"@react-native/babel-preset": "0.81.0",
|
|
88
|
-
"typescript": "5.8.3"
|
|
89
|
-
},
|
|
90
|
-
"main": "./lib/module/index",
|
|
91
|
-
"module": "./lib/module/index",
|
|
92
|
-
"react-native": "./src/index",
|
|
93
|
-
"source": "./src/index",
|
|
94
|
-
"types": "lib/typescript/index.d.ts",
|
|
95
|
-
"files": [
|
|
96
|
-
"src",
|
|
97
|
-
"lib",
|
|
98
|
-
"android",
|
|
99
|
-
"apple",
|
|
100
|
-
"Common",
|
|
101
|
-
"compatibility.json",
|
|
102
|
-
"bundleMode/index.js",
|
|
103
|
-
"bundleMode/index.d.ts",
|
|
104
|
-
"scripts/worklets_utils.rb",
|
|
105
|
-
"scripts/validate-react-native-version.js",
|
|
106
|
-
"SystemModules",
|
|
107
|
-
"SystemBundles",
|
|
108
|
-
"plugin/index.js",
|
|
109
|
-
"*.podspec",
|
|
110
|
-
"react-native.config.js",
|
|
111
|
-
"kepler-compatibility.json",
|
|
112
|
-
"!apple/build",
|
|
113
|
-
"!android/build",
|
|
114
|
-
"!android/gradle",
|
|
115
|
-
"!android/gradlew",
|
|
116
|
-
"!android/gradlew.bat",
|
|
117
|
-
"!android/local.properties",
|
|
118
|
-
"!**/__tests__",
|
|
119
|
-
"!**/__fixtures__",
|
|
120
|
-
"!**/__mocks__",
|
|
121
|
-
"!**/.*",
|
|
122
|
-
"kepler-transformed-package-info.json"
|
|
123
|
-
],
|
|
124
|
-
"react-native-builder-bob": {
|
|
125
|
-
"source": "src",
|
|
126
|
-
"output": "lib",
|
|
127
|
-
"targets": [
|
|
128
|
-
[
|
|
129
|
-
"module",
|
|
130
|
-
{
|
|
131
|
-
"esm": false,
|
|
132
|
-
"jsxRuntime": "automatic"
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"typescript"
|
|
136
|
-
]
|
|
137
|
-
},
|
|
138
|
-
"codegenConfig": {
|
|
139
|
-
"name": "rnworklets",
|
|
140
|
-
"type": "modules",
|
|
141
|
-
"jsSrcsDir": "src/specs",
|
|
142
|
-
"android": {
|
|
143
|
-
"javaPackageName": "com.swmansion.worklets"
|
|
144
|
-
},
|
|
145
|
-
"ios": {
|
|
146
|
-
"modulesConformingToProtocol": {
|
|
147
|
-
"RCTBundleConsumer": [
|
|
148
|
-
"WorkletsModule"
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
1
|
+
{"//": "amzn_mod - update package name and build with yarn", "name": "@amazon-devices/react-native-worklets", "version": "1.0.1+0.6.0", "description": "The React Native multithreading library", "keywords": ["react-native", "react", "native", "worklets"], "scripts": {"build": "yarn workspace @amazon-devices/babel-plugin-worklets build && bob build && yarn build:unpackers", "build:unpackers": "node ./scripts/export-unpackers.js", "circular-dependency-check": "yarn madge --extensions js,jsx --circular lib", "find-unused-code:js": "knip", "format": "yarn format:js && yarn format:plugin && yarn format:common && yarn format:android && yarn format:apple", "format:android": "yarn format:android:java && yarn format:android:cpp && yarn format:android:cmake", "format:android:cpp": "find android/src -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i", "format:android:cmake": "find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/format-cmake.sh", "format:android:java": "node ../../scripts/format-java.js", "format:apple": "find apple -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.mm\" -o -iname \"*.cpp\" | xargs clang-format -i", "format:common": "find Common -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i", "format:js": "prettier --write --list-different src", "format:plugin": "yarn workspace babel-plugin-worklets format", "lint": "yarn lint:js && yarn lint:common && yarn lint:plugin && yarn lint:android && yarn lint:apple", "lint:android": "../../scripts/validate-android.sh && ./android/gradlew -p android spotlessCheck -q && ../../scripts/cpplint.sh android/src && yarn format:android:cpp --dry-run -Werror && yarn lint:cmake", "lint:apple": "../../scripts/validate-apple.sh && yarn format:apple --dry-run -Werror", "lint:common": "../../scripts/validate-common.sh && ../../scripts/cpplint.sh Common && yarn format:common --dry-run -Werror", "lint:cmake": "find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/lint-cmake.sh", "lint:clang-tidy": "find Common -iname \"*.h\" -o -iname \"*.cpp\" | xargs ../../scripts/clang-tidy-lint.sh", "lint:js": "eslint src && yarn prettier --check src", "lint:plugin": "yarn workspace babel-plugin-worklets lint", "test": "jest", "type:check": "yarn type:check:src && yarn type:check:plugin && yarn type:check:app && yarn type:check:tests", "type:check:src": "yarn tsc --noEmit", "type:check:app": "yarn workspace common-app type:check", "type:check:plugin": "yarn workspace babel-plugin-worklets type:check", "type:check:tests": "../../scripts/test-ts.sh __typetests__", "use-strict-check": "node ../../scripts/validate-use-strict.js"}, "repository": {"type": "git", "url": "git+https://github.com/software-mansion/react-native-reanimated.git", "directory": "packages/react-native-worklets"}, "license": "See license in LICENSE", "readmeFilename": "README.md", "bugs": {"url": "https://github.com/software-mansion/react-native-reanimated/issues"}, "homepage": "https://docs.swmansion.com/react-native-worklets", "peerDependencies": {"@babel/core": "^7.0.0-0", "react": "*", "react-native": "*"}, "dependencies": {"@babel/plugin-transform-arrow-functions": "^7.0.0-0", "@babel/plugin-transform-class-properties": "^7.0.0-0", "@babel/plugin-transform-classes": "^7.0.0-0", "@babel/plugin-transform-nullish-coalescing-operator": "^7.0.0-0", "@babel/plugin-transform-optional-chaining": "^7.0.0-0", "@babel/plugin-transform-shorthand-properties": "^7.0.0-0", "@babel/plugin-transform-template-literals": "^7.0.0-0", "@babel/plugin-transform-unicode-regex": "^7.0.0-0", "@babel/preset-typescript": "^7.16.7", "convert-source-map": "^2.0.0", "semver": "7.7.2"}, "devDependencies": {"@babel/cli": "^7.20.0", "@babel/core": "^7.25.2", "@react-native-community/cli": "20.0.0", "@react-native/eslint-config": "0.81.0", "@types/jest": "^29.5.5", "@types/react": "^19.1.0", "clang-format-node": "^1.3.1", "eslint": "^9.29.0", "jest": "^29.0.0", "knip": "^5.61.3", "madge": "^5.0.1", "prettier": "^3.3.3", "react": "19.1.0", "react-native": "0.81.5", "react-native-builder-bob": "0.40.13", "@react-native/babel-preset": "0.81.0", "typescript": "5.8.3"}, "main": "./lib/module/index", "module": "./lib/module/index", "react-native": "./src/index", "source": "./src/index", "types": "lib/typescript/index.d.ts", "files": ["src", "lib", "android", "apple", "Common", "compatibility.json", "bundleMode/index.js", "bundleMode/index.d.ts", "scripts/worklets_utils.rb", "scripts/validate-react-native-version.js", "SystemModules", "SystemBundles", "plugin/index.js", "*.podspec", "react-native.config.js", "kepler-compatibility.json", "oss-attribution", "!apple/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*", "kepler-transformed-package-info.json"], "react-native-builder-bob": {"source": "src", "output": "lib", "targets": [["module", {"esm": false, "jsxRuntime": "automatic"}], "typescript"]}, "interfaceOnly": {"keep": ["plugin"]}, "codegenConfig": {"name": "rnworklets", "type": "modules", "jsSrcsDir": "src/specs", "android": {"javaPackageName": "com.swmansion.worklets"}, "ios": {"modulesConformingToProtocol": {"RCTBundleConsumer": ["WorkletsModule"]}}}}
|