diff --git a/.github/workflows/npm_downloads.yml b/.github/workflows/npm_downloads.yml index 7ca169ca..879bbcf1 100644 --- a/.github/workflows/npm_downloads.yml +++ b/.github/workflows/npm_downloads.yml @@ -24,7 +24,7 @@ on: # Run this workflow weekly: schedule: # cron: ' ' - - cron: '0 8 * * 6' + - cron: '10 10 * * 4' # Allow the workflow to be manually run: workflow_dispatch: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db4c5e79..520be8fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ on: # Run workflow on a weekly schedule: schedule: # * is a special character in YAML so you have to quote this string - - cron: '30 1 * * 6' + - cron: '10 10 * * 4' # Allow the workflow to be manually run: workflow_dispatch: diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index 98999086..fd373134 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -24,7 +24,7 @@ on: # Run workflow on a weekly schedule: schedule: # * is a special character in YAML so you have to quote this string - - cron: '30 1 * * 6' + - cron: '10 10 * * 4' # Run workflow upon completion of `publish` workflow run: workflow_run: diff --git a/remove-utf8-bom/test/test.js b/remove-utf8-bom/test/test.js index 112c3b14..69a23424 100644 --- a/remove-utf8-bom/test/test.js +++ b/remove-utf8-bom/test/test.js @@ -21,7 +21,7 @@ // MODULES // var tape = require( 'tape' ); -var Buffer = require( '@stdlib/buffer/ctor' ); +var string2buffer = require( '@stdlib/buffer/from-string' ); var removeUTF8BOM = require( './../lib' ); @@ -66,7 +66,7 @@ tape( 'the function removes a UTF-8 byte order mark (BOM) from the beginning of str = removeUTF8BOM( '\ufeffbeep' ); t.equal( str, 'beep', 'returns beep' ); - str = (new Buffer( '\ufeffboop' )).toString(); + str = string2buffer( '\ufeffboop' ).toString(); str = removeUTF8BOM( str ); t.equal( str, 'boop', 'returns boop' );