Skip to content

Commit

Permalink
attempt to fix native node module test suite with a different node-ma…
Browse files Browse the repository at this point in the history
…c-permissions test dep
  • Loading branch information
mmaietta committed Nov 4, 2023
1 parent 1af7447 commit 1c1f273
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/test-app-two-native-modules/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"debug": "4.1.1"
},
"optionalDependencies": {
"node-mac-permissions": "2.3.0"
"node-mac-permissions": "2.2.1"
}
}
8 changes: 4 additions & 4 deletions test/fixtures/test-app-two-native-modules/app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ node-addon-api@^3.0.2:
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161"
integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==

node-mac-permissions@2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/node-mac-permissions/-/node-mac-permissions-2.3.0.tgz#17b2d9b8c155b6abd43cce51fedc19d34537a333"
integrity sha512-kZ/bUeXv+Xp6+VLS77ShgSfS8df9HB13SnS1ql+d3Cd5ry0uZkOgNh434cAhZBHiagYQWykPqgY7n9jd7t74Fw==
node-mac-permissions@2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/node-mac-permissions/-/node-mac-permissions-2.2.1.tgz#69497a08a47ebed336d794a005eb3b8949793f87"
integrity sha512-lmSuexF/XcAvtanSReDDrr61Bz4FveSmVl1wHY0Be6RV0+QpCK1RMpjWxtKG0ALqX4p+k2cJ/u7GBV8dkUeLeA==
dependencies:
bindings "^1.5.0"
node-addon-api "^3.0.2"
21 changes: 13 additions & 8 deletions test/snapshots/mac/macPackagerTest.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ Array [
Object {
"content": "{
\\"name\\": \\"node-mac-permissions\\",
\\"version\\": \\"2.3.0\\",
\\"version\\": \\"2.2.1\\",
\\"description\\": \\"A native node module to manage system permissions on macOS\\",
\\"main\\": \\"index.js\\",
\\"types\\": \\"index.d.ts\\",
Expand All @@ -605,13 +605,18 @@ Array [
\\"node-addon-api\\": \\"^3.0.2\\"
},
\\"devDependencies\\": {
\\"chai\\": \\"^4.3.6\\",
\\"clang-format\\": \\"1.8.0\\",
\\"husky\\": \\"^8.0.1\\",
\\"lint-staged\\": \\"^12.4.1\\",
\\"mocha\\": \\"^10.0.0\\",
\\"node-gyp\\": \\"^9.0.0\\",
\\"prettier\\": \\"^2.6.2\\"
\\"chai\\": \\"^4.2.0\\",
\\"clang-format\\": \\"^1.4.0\\",
\\"husky\\": \\"^4.3.0\\",
\\"lint-staged\\": \\"^10.5.3\\",
\\"mocha\\": \\"^8.2.1\\",
\\"node-gyp\\": \\"^7.1.2\\",
\\"prettier\\": \\"^2.2.1\\"
},
\\"husky\\": {
\\"hooks\\": {
\\"pre-commit\\": \\"lint-staged\\"
}
},
\\"lint-staged\\": {
\\"*.js\\": [
Expand Down

0 comments on commit 1c1f273

Please sign in to comment.