diff --git a/binding.gyp b/binding.gyp index 9512a78..e14c5c5 100644 --- a/binding.gyp +++ b/binding.gyp @@ -9,10 +9,10 @@ '-Winline', '-Wbad-function-cast', '-Wdisabled-optimization', - '-std=c++17' + '-std=c++20' ], 'cflags_cc': [ - '-std=c++17' + '-std=c++20' ], 'conditions': [ ['OS == "mac"', { @@ -39,7 +39,7 @@ 'src/win/hidecursor.cc' ], 'msvs_settings': { - 'VCCLCompilerTool': { "ExceptionHandling": 1, 'AdditionalOptions': [ '-std:c++17' ] } + 'VCCLCompilerTool': { "ExceptionHandling": 1, 'AdditionalOptions': [ '-std:c++20' ] } } }], ['OS == "linux"', { diff --git a/package-lock.json b/package-lock.json index 64e7495..56fc75e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hide-cursor", - "version": "0.0.2", + "version": "0.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hide-cursor", - "version": "0.0.2", + "version": "0.0.4", "license": "MIT", "devDependencies": { "rimraf": "^5.0.5" diff --git a/package.json b/package.json index 6fb95ab..4e13454 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hide-cursor", - "version": "0.0.3", + "version": "0.0.4", "author": "Colin Mitchell (http://muffinlabs.com)", "homepage": "https://github.com/muffinista/hide-cursor/", "description": "Hide the mouse cursor",