+156
-156
@@ -80,6 +80,6 @@ // prettier-ignore | ||
| const bindingPackageVersion = require('node-tpm2-android-arm64/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -89,6 +89,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -98,4 +98,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -115,6 +115,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-android-arm-eabi/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -124,6 +124,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -133,4 +133,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -155,6 +155,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-win32-x64-gnu/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -164,6 +164,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -173,4 +173,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -190,6 +190,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-windows-x64-msvc/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -199,6 +199,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -208,4 +208,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -226,6 +226,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-win32-ia32-msvc/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -235,6 +235,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -244,4 +244,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -261,6 +261,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-windows-arm64-msvc/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -270,6 +270,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -279,4 +279,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -299,6 +299,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-darwin-universal/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -308,6 +308,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -317,4 +317,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -334,6 +334,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-darwin-x64/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -343,6 +343,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -352,4 +352,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -369,6 +369,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-darwin-arm64/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -378,6 +378,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -387,4 +387,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -408,6 +408,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-freebsd-x64/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -417,6 +417,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -426,4 +426,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -443,6 +443,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-freebsd-arm64/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -452,6 +452,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -461,4 +461,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -483,6 +483,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-x64-musl/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -492,6 +492,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -501,4 +501,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -518,6 +518,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-x64-gnu/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -527,6 +527,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -536,4 +536,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -555,6 +555,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-arm64-musl/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -564,6 +564,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -573,4 +573,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -590,6 +590,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-arm64-gnu/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -599,6 +599,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -608,4 +608,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -627,6 +627,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-arm-musleabihf/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -636,6 +636,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -645,4 +645,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -662,6 +662,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-arm-gnueabihf/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -671,6 +671,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -680,4 +680,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -699,6 +699,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-loong64-musl/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -708,6 +708,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -717,4 +717,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -734,6 +734,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-loong64-gnu/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -743,6 +743,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -752,4 +752,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -771,6 +771,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-riscv64-musl/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -780,6 +780,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -789,4 +789,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -806,6 +806,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-riscv64-gnu/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -815,6 +815,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -824,4 +824,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -842,6 +842,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-ppc64-gnu/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -851,6 +851,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -860,4 +860,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -877,6 +877,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-linux-s390x-gnu/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -886,6 +886,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -895,4 +895,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -916,6 +916,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-openharmony-arm64/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -925,6 +925,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -934,4 +934,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -951,6 +951,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-openharmony-x64/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -960,6 +960,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -969,4 +969,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -986,6 +986,6 @@ return binding | ||
| const bindingPackageVersion = require('node-tpm2-openharmony-arm/package.json').version | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -995,6 +995,6 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3') { | ||
| if (bindingPackageVersion !== '0.0.9') { | ||
| if (typeof process !== 'undefined' && process.emitWarning) { | ||
| process.emitWarning( | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9-beta.3; run npm install or npm run build`, | ||
| `[node-tpm2] optional binding version ${bindingPackageVersion} !== 0.0.9; run npm install or npm run build`, | ||
| { type: 'node-tpm2', code: 'NATIVE_BINDING_VERSION' }, | ||
@@ -1004,4 +1004,4 @@ ) | ||
| } | ||
| if (bindingPackageVersion !== '0.0.9-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| if (bindingPackageVersion !== '0.0.9' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { | ||
| throw new Error(`Native binding package version mismatch, expected 0.0.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) | ||
| } | ||
@@ -1008,0 +1008,0 @@ return binding |
+10
-10
| { | ||
| "name": "node-tpm2", | ||
| "version": "0.0.9-beta.3", | ||
| "version": "0.0.9", | ||
| "description": "TPM 2.0 attestation for Node.js — prebuilt native bindings, PCR quotes, and fleet-ready Windows PCP keys. No tpm2-tools.", | ||
@@ -97,12 +97,12 @@ "type": "module", | ||
| "optionalDependencies": { | ||
| "node-tpm2-windows-x64-msvc": "0.0.9-beta.3", | ||
| "node-tpm2-windows-arm64-msvc": "0.0.9-beta.3", | ||
| "node-tpm2-linux-x64-gnu": "0.0.9-beta.3", | ||
| "node-tpm2-linux-arm64-gnu": "0.0.9-beta.3", | ||
| "node-tpm2-linux-x64-musl": "0.0.9-beta.3", | ||
| "node-tpm2-linux-arm64-musl": "0.0.9-beta.3", | ||
| "node-tpm2-darwin-arm64": "0.0.9-beta.3", | ||
| "node-tpm2-win32-x64-msvc": "0.0.9-beta.3", | ||
| "node-tpm2-win32-arm64-msvc": "0.0.9-beta.3" | ||
| "node-tpm2-windows-x64-msvc": "0.0.9", | ||
| "node-tpm2-windows-arm64-msvc": "0.0.9", | ||
| "node-tpm2-linux-x64-gnu": "0.0.9", | ||
| "node-tpm2-linux-arm64-gnu": "0.0.9", | ||
| "node-tpm2-linux-x64-musl": "0.0.9", | ||
| "node-tpm2-linux-arm64-musl": "0.0.9", | ||
| "node-tpm2-darwin-arm64": "0.0.9", | ||
| "node-tpm2-win32-x64-msvc": "0.0.9", | ||
| "node-tpm2-win32-arm64-msvc": "0.0.9" | ||
| } | ||
| } |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
63
-1.56%177704
-0.65%