Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency gulp-sass to v6.0.1 - autoclosed #2136

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@
"gulp-dest": "0.2.3",
"gulp-header": "2.0.9",
"gulp-rename": "2.0.0",
"gulp-sass": "6.0.0",
"gulp-sass": "6.0.1",
"gulp-size": "4.0.1",
"gulp-sourcemaps": "3.0.0",
"gulp-template": "5.0.0",

Unchanged files with check annotations Beta

/* global _: true, config: true, templates: true, github: true */
const article = (function () {

Check warning on line 2 in src/scripts/article.js

GitHub Actions / Lint

'article' is assigned a value but never used
const ARTICLES_STORAGE_KEY = 'articles'
const expireTime = ((config.cache && config.cache.article) || 0) * 1000
const render = templates.article
return data || fetch(id)
})
.then(function (data) {
return _.markdown(data.data.body).then(function (html) {

Check warning on line 81 in src/scripts/article.js

GitHub Actions / Lint

Avoid nesting promises
data.data.html = html
return data
})
/* global config: true, _: true */
const github = (function () {

Check warning on line 2 in src/scripts/github-api.js

GitHub Actions / Lint

'github' is assigned a value but never used
const head = document.head || document.getElementsByTagName('head')[0]
const ANONYMOUS_TOKEN_LIMIT = 60
const ASSUME_TOKEN_LIMIT = 5000
const timeDiff = 0

Check warning on line 6 in src/scripts/github-api.js

GitHub Actions / Lint

'timeDiff' is assigned a value but never used
const anonymousToken = newToken('')
const tokens = _.map(config.accessTokens, function (token) {
if (_.isArray(token)) {
/* global config: true, _: true, templates: true, github: true, article: true */
const index = (function () {

Check warning on line 2 in src/scripts/index.js

GitHub Actions / Lint

'index' is assigned a value but never used
const INDEX_STORAGE_KEY = 'index'
const expireTime = ((config.cache && config.cache.index) || 0) * 1000
const render = templates.index
/* global config: true, _: true, article: true, index: true */
const app = (function () {

Check warning on line 2 in src/scripts/main.js

GitHub Actions / Lint

'app' is assigned a value but never used
const container = document.getElementById('js-app')
function showHTML(html) {
if (query.id) {
promise = showArticle(query.id)
} else if (query.label) {
alert('暂时不支持标签')

Check warning on line 42 in src/scripts/main.js

GitHub Actions / Lint

Unexpected alert
window.history.go(-1)
return
} else {
function afterPromised() {
callback(function (module_) {
return new Promise(function (resolve, reject) {

Check warning on line 13 in src/scripts/polyfill-promise.js

GitHub Actions / Lint

'reject' is defined but never used
require([module_], function (module_) {
resolve(module_)
})
const _ = (function () {

Check warning on line 1 in src/scripts/utils.js

GitHub Actions / Lint

'_' is assigned a value but never used
const _ = global._ || (global._ = {})
_.now =