@jamesives/github-pages-deploy-action
Advanced tools
Comparing version 4.1.3 to 4.1.4
@@ -42,6 +42,7 @@ "use strict"; | ||
function stdout(data) { | ||
if (output.length < buffer_1.default.constants.MAX_STRING_LENGTH) { | ||
output += data.toString().trim(); | ||
const dataString = data.toString().trim(); | ||
if (output.length + dataString.length < buffer_1.default.constants.MAX_STRING_LENGTH) { | ||
output += dataString; | ||
} | ||
} | ||
exports.stdout = stdout; |
@@ -5,3 +5,3 @@ { | ||
"author": "James Ives <iam@jamesiv.es> (https://jamesiv.es)", | ||
"version": "4.1.3", | ||
"version": "4.1.4", | ||
"license": "MIT", | ||
@@ -37,5 +37,5 @@ "main": "lib/lib.js", | ||
"dependencies": { | ||
"@actions/core": "1.2.7", | ||
"@actions/core": "1.3.0", | ||
"@actions/exec": "1.0.4", | ||
"@actions/github": "4.0.0", | ||
"@actions/github": "5.0.0", | ||
"@actions/io": "1.1.0" | ||
@@ -45,6 +45,6 @@ }, | ||
"@types/jest": "26.0.23", | ||
"@types/node": "15.0.2", | ||
"@typescript-eslint/eslint-plugin": "4.23.0", | ||
"@typescript-eslint/parser": "4.23.0", | ||
"eslint": "7.26.0", | ||
"@types/node": "15.12.0", | ||
"@typescript-eslint/eslint-plugin": "4.26.0", | ||
"@typescript-eslint/parser": "4.26.0", | ||
"eslint": "7.27.0", | ||
"eslint-config-prettier": "8.3.0", | ||
@@ -54,8 +54,8 @@ "eslint-plugin-jest": "24.3.6", | ||
"jest": "26.6.3", | ||
"jest-circus": "26.6.3", | ||
"prettier": "2.2.1", | ||
"jest-circus": "27.0.4", | ||
"prettier": "2.3.0", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "26.5.6", | ||
"typescript": "4.2.4" | ||
"typescript": "4.3.2" | ||
} | ||
} |
@@ -63,3 +63,3 @@ <p align="center"> | ||
- name: Deploy π | ||
uses: JamesIves/github-pages-deploy-action@4.1.3 | ||
uses: JamesIves/github-pages-deploy-action@4.1.4 | ||
with: | ||
@@ -182,3 +182,3 @@ branch: gh-pages # The branch the action should deploy to. | ||
- name: Deploy π | ||
uses: JamesIves/github-pages-deploy-action@4.1.3 | ||
uses: JamesIves/github-pages-deploy-action@4.1.4 | ||
with: | ||
@@ -212,3 +212,3 @@ branch: gh-pages | ||
- name: Deploy π | ||
uses: JamesIves/github-pages-deploy-action@4.1.3 | ||
uses: JamesIves/github-pages-deploy-action@4.1.4 | ||
with: | ||
@@ -280,5 +280,4 @@ branch: gh-pages | ||
- name: Deploy π | ||
uses: JamesIves/github-pages-deploy-action@4.1.3 | ||
uses: JamesIves/github-pages-deploy-action@4.1.4 | ||
with: | ||
token: ${{ secrets.ACCESS_TOKEN }} | ||
branch: gh-pages | ||
@@ -303,3 +302,3 @@ folder: 'site' # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here. | ||
- name: Deploy π | ||
uses: JamesIves/github-pages-deploy-action@4.1.3 | ||
uses: JamesIves/github-pages-deploy-action@4.1.4 | ||
``` | ||
@@ -335,3 +334,3 @@ | ||
- name: Deploy π | ||
uses: JamesIves/github-pages-deploy-action@4.1.3 | ||
uses: JamesIves/github-pages-deploy-action@4.1.4 | ||
with: | ||
@@ -357,2 +356,2 @@ branch: gh-pages | ||
<!-- sponsors --><!-- sponsors --> | ||
<!-- sponsors --><a href="https://github.com/MattWillFlood"><img src="https://github.com/MattWillFlood.png" width="50px" alt="" /></a><!-- sponsors --> |
@@ -33,5 +33,6 @@ import {exec} from '@actions/exec' | ||
export function stdout(data: Buffer | string): void { | ||
if (output.length < buffer.constants.MAX_STRING_LENGTH) { | ||
output += data.toString().trim() | ||
const dataString = data.toString().trim() | ||
if (output.length + dataString.length < buffer.constants.MAX_STRING_LENGTH) { | ||
output += dataString | ||
} | ||
} |
@@ -29,5 +29,4 @@ import {exportVariable, info} from '@actions/core' | ||
agentOutput.map(line => { | ||
const exportableVariables = /^(SSH_AUTH_SOCK|SSH_AGENT_PID)=(.*); export \1/.exec( | ||
line | ||
) | ||
const exportableVariables = | ||
/^(SSH_AUTH_SOCK|SSH_AGENT_PID)=(.*); export \1/.exec(line) | ||
@@ -34,0 +33,0 @@ if (exportableVariables && exportableVariables.length) { |
@@ -82,5 +82,5 @@ import {isDebug} from '@actions/core' | ||
const orderedByLength = ([action.token, action.repositoryPath].filter( | ||
Boolean | ||
) as string[]).sort((a, b) => b.length - a.length) | ||
const orderedByLength = ( | ||
[action.token, action.repositoryPath].filter(Boolean) as string[] | ||
).sort((a, b) => b.length - a.length) | ||
@@ -87,0 +87,0 @@ for (const find of orderedByLength) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1676970
2583
351
+ Added@actions/core@1.3.0(transitive)
+ Added@actions/github@5.0.0(transitive)
+ Added@octokit/plugin-rest-endpoint-methods@5.16.2(transitive)
- Removed@actions/core@1.2.7(transitive)
- Removed@actions/github@4.0.0(transitive)
- Removed@octokit/plugin-rest-endpoint-methods@4.15.1(transitive)
Updated@actions/core@1.3.0
Updated@actions/github@5.0.0