diff --git a/.github/stale.yml b/.github/stale.yml index a1113d9bef..b8c7b7ffe4 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -12,7 +12,7 @@ exemptLabels: - Feature - Enhancement - Bug - - NHN + - NHN Cloud # Label to use when marking as stale staleLabel: inactive @@ -24,4 +24,4 @@ markComment: > # Comment to post when closing a stale Issue or Pull Request. closeComment: > - This issue will be closed due to inactivity. Thanks for your contribution! \ No newline at end of file + This issue will be closed due to inactivity. Thanks for your contribution! diff --git a/LICENSE b/LICENSE index 26b9ee8225..dcb10d8418 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 NHN Corp. +Copyright (c) 2020 NHN Cloud Corp. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file +THE SOFTWARE. diff --git a/README.md b/README.md index efca5cb421..c0f75728e5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ > GFM Markdown and WYSIWYG Editor - Productive and Extensible -[![github release version](https://img.shields.io/github/v/release/nhn/tui.editor.svg?include_prereleases)](https://github.com/nhn/tui.editor/releases/latest) [![npm version](https://img.shields.io/npm/v/@toast-ui/editor.svg)](https://www.npmjs.com/package/@toast-ui/editor) [![license](https://img.shields.io/github/license/nhn/tui.editor.svg)](https://github.com/nhn/tui.editor/blob/master/LICENSE) [![PRs welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg)](https://github.com/nhn/tui.editor/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) [![code with hearth by NHN](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-NHN-ff1414.svg)](https://github.com/nhn) +[![github release version](https://img.shields.io/github/v/release/nhn/tui.editor.svg?include_prereleases)](https://github.com/nhn/tui.editor/releases/latest) [![npm version](https://img.shields.io/npm/v/@toast-ui/editor.svg)](https://www.npmjs.com/package/@toast-ui/editor) [![license](https://img.shields.io/github/license/nhn/tui.editor.svg)](https://github.com/nhn/tui.editor/blob/master/LICENSE) [![PRs welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg)](https://github.com/nhn/tui.editor/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) [![code with hearth by NHN Cloud](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-NHN_Cloud-ff1414.svg)](https://github.com/nhn) @@ -192,4 +192,4 @@ For more information on PR's steps, please see links in the Contributing section ## 📜 License -This software is licensed under the [MIT](https://github.com/nhn/tui.editor/blob/master/LICENSE) © [NHN](https://github.com/nhn). +This software is licensed under the [MIT](https://github.com/nhn/tui.editor/blob/master/LICENSE) © [NHN Cloud](https://github.com/nhn). diff --git a/apps/editor/package.json b/apps/editor/package.json index bd823183fa..8869345fcb 100644 --- a/apps/editor/package.json +++ b/apps/editor/package.json @@ -4,6 +4,7 @@ "description": "GFM Markdown Wysiwyg Editor - Productive and Extensible", "keywords": [ "nhn", + "nhn cloud", "toast", "toastui", "toast-ui", @@ -47,7 +48,7 @@ "dist/i18n", "types" ], - "author": "NHN FE Development Lab ", + "author": "NHN Cloud FE Development Lab ", "license": "MIT", "repository": { "type": "git", diff --git a/apps/editor/src/i18n/en-us.ts b/apps/editor/src/i18n/en-us.ts index 0ea1510750..b51f5ef090 100644 --- a/apps/editor/src/i18n/en-us.ts +++ b/apps/editor/src/i18n/en-us.ts @@ -1,6 +1,6 @@ /** * @fileoverview I18N for English - * @author NHN FE Development Lab + * @author NHN Cloud FE Development Lab */ import Editor from '../editorCore'; diff --git a/apps/editor/src/i18n/i18n.ts b/apps/editor/src/i18n/i18n.ts index a73c68d1c7..92888be44d 100644 --- a/apps/editor/src/i18n/i18n.ts +++ b/apps/editor/src/i18n/i18n.ts @@ -1,6 +1,6 @@ /** * @fileoverview Implements i18n - * @author NHN FE Development Lab + * @author NHN Cloud FE Development Lab */ import extend from 'tui-code-snippet/object/extend'; import Map from '../utils/map'; diff --git a/apps/editor/src/i18n/ja-jp.ts b/apps/editor/src/i18n/ja-jp.ts index 2acd5f5982..6b7e5fbe43 100644 --- a/apps/editor/src/i18n/ja-jp.ts +++ b/apps/editor/src/i18n/ja-jp.ts @@ -1,6 +1,6 @@ /** * @fileoverview I18N for Japanese - * @author NHN FE Development Lab + * @author NHN Cloud FE Development Lab */ import Editor from '../editorCore'; diff --git a/apps/editor/src/i18n/ko-kr.ts b/apps/editor/src/i18n/ko-kr.ts index c0f0bc50b3..ebd486db5f 100644 --- a/apps/editor/src/i18n/ko-kr.ts +++ b/apps/editor/src/i18n/ko-kr.ts @@ -1,6 +1,6 @@ /** * @fileoverview I18N for Korean - * @author NHN FE Development Lab + * @author NHN Cloud FE Development Lab */ import Editor from '../editorCore'; diff --git a/apps/editor/src/i18n/nl-nl.ts b/apps/editor/src/i18n/nl-nl.ts index 4859a867bb..87cf8dd6a6 100644 --- a/apps/editor/src/i18n/nl-nl.ts +++ b/apps/editor/src/i18n/nl-nl.ts @@ -1,6 +1,6 @@ /** * @fileoverview I18N for Dutch - * @author NHN FE Development Lab + * @author NHN Cloud FE Development Lab */ import Editor from '../editorCore'; diff --git a/apps/editor/src/i18n/zh-cn.ts b/apps/editor/src/i18n/zh-cn.ts index d6231b2dae..c316b3c739 100644 --- a/apps/editor/src/i18n/zh-cn.ts +++ b/apps/editor/src/i18n/zh-cn.ts @@ -1,6 +1,6 @@ /** * @fileoverview I18N for Chinese - * @author NHN FE Development Lab + * @author NHN Cloud FE Development Lab */ import Editor from '../editorCore'; diff --git a/apps/editor/tuidoc.config.json b/apps/editor/tuidoc.config.json index 221b49fda9..bdb240a946 100644 --- a/apps/editor/tuidoc.config.json +++ b/apps/editor/tuidoc.config.json @@ -12,7 +12,7 @@ }, "footer": [ { - "title": "NHN", + "title": "NHN Cloud", "linkUrl": "https://github.com/nhn" }, { diff --git a/apps/react-editor/package.json b/apps/react-editor/package.json index 3987a1be76..d15cc233d1 100644 --- a/apps/react-editor/package.json +++ b/apps/react-editor/package.json @@ -18,7 +18,7 @@ "bugs": { "url": "https://github.com/nhn/tui.editor/issues" }, - "author": "NHN. FE Development Lab ", + "author": "NHN Cloud FE Development Lab ", "repository": { "type": "git", "url": "https://github.com/nhn/tui.editor.git", diff --git a/apps/vue-editor/package.json b/apps/vue-editor/package.json index 77675b5cc4..6f804cde23 100644 --- a/apps/vue-editor/package.json +++ b/apps/vue-editor/package.json @@ -17,7 +17,7 @@ "bugs": { "url": "https://github.com/nhn/tui.editor/issues" }, - "author": "NHN. FE Development Lab ", + "author": "NHN Cloud FE Development Lab ", "repository": { "type": "git", "url": "https://github.com/nhn/tui.editor.git", diff --git a/plugins/chart/package.json b/plugins/chart/package.json index e9914dbc1f..1ca3a3fa91 100644 --- a/plugins/chart/package.json +++ b/plugins/chart/package.json @@ -4,6 +4,7 @@ "description": "TOAST UI Editor : Chart Plugin", "keywords": [ "nhn", + "nhn cloud", "toast", "toastui", "toast-ui", @@ -18,7 +19,7 @@ "types/index.d.ts" ], "browserslist": "last 2 versions, not ie <= 10", - "author": "NHN FE Development Lab ", + "author": "NHN Cloud FE Development Lab ", "license": "MIT", "repository": { "type": "git", diff --git a/plugins/chart/src/csv.js b/plugins/chart/src/csv.js index 4032751f7a..91e106664b 100644 --- a/plugins/chart/src/csv.js +++ b/plugins/chart/src/csv.js @@ -22,7 +22,7 @@ Author Greg Kindel (twitter @gkindel), 2014 */ /** - * @modifier NHN FE Development Lab + * @modifier NHN Cloud FE Development Lab */ 'use strict'; @@ -83,7 +83,7 @@ var PRE_TOKEN = 0, * }); * @see http://www.ietf.org/rfc/rfc4180.txt */ -CSV.parse = function(str) { +CSV.parse = function (str) { var result = (CSV.result = []); CSV.COLUMN_SEPARATOR = CSV.COLUMN_SEPARATOR instanceof RegExp @@ -197,18 +197,18 @@ CSV.parse = function(str) { * node -e "c=require('CSV-JS');require('fs').createReadStream('csv.txt').pipe(c.stream()).pipe(c.stream.json()).pipe(process.stdout)" * @ignore */ -CSV.stream = function() { +CSV.stream = function () { var stream = require('stream'); var s = new stream.Transform({ objectMode: true }); s.EOL = '\n'; s.prior = ''; - s.emitter = (function(s) { - return function(e) { + s.emitter = (function (s) { + return function (e) { s.push(CSV.parse(e + s.EOL)); }; })(s); - s._transform = function(chunk, encoding, done) { + s._transform = function (chunk, encoding, done) { var lines = this.prior == '' ? chunk.toString().split(this.EOL) @@ -218,7 +218,7 @@ CSV.stream = function() { done(); }; - s._flush = function(done) { + s._flush = function (done) { if (this.prior != '') { this.emitter(this.prior); this.prior = ''; @@ -228,7 +228,7 @@ CSV.stream = function() { return s; }; -CSV.test_regex_separator = function(str) { +CSV.test_regex_separator = function (str) { if (!(CSV.COLUMN_SEPARATOR instanceof RegExp)) { return false; } @@ -243,18 +243,18 @@ CSV.test_regex_separator = function(str) { return match !== null; }; -CSV.stream.json = function() { +CSV.stream.json = function () { var os = require('os'); var stream = require('stream'); var s = new streamTransform({ objectMode: true }); - s._transform = function(chunk, encoding, done) { + s._transform = function (chunk, encoding, done) { s.push(JSON.stringify(chunk.toString()) + os.EOL); done(); }; return s; }; -CSV.reset = function() { +CSV.reset = function () { CSV.state = null; CSV.token = null; CSV.escaped = null; @@ -264,7 +264,7 @@ CSV.reset = function() { CSV.str = null; }; -CSV.next_nonspace = function() { +CSV.next_nonspace = function () { var i = CSV.offset; var c; while (i < CSV.str.length) { @@ -276,14 +276,14 @@ CSV.next_nonspace = function() { return null; }; -CSV.record_begin = function() { +CSV.record_begin = function () { CSV.escaped = false; CSV.record = []; CSV.token_begin(); CSV.debug('record_begin'); }; -CSV.record_end = function() { +CSV.record_end = function () { CSV.state = POST_RECORD; if ( !(CSV.IGNORE_RECORD_LENGTH || CSV.RELAXED) && @@ -297,7 +297,7 @@ CSV.record_end = function() { CSV.record = null; }; -CSV.resolve_type = function(token) { +CSV.resolve_type = function (token) { if (token.match(/^[-+]?[0-9]+(\.[0-9]+)?([eE][-+]?[0-9]+)?$/)) { token = parseFloat(token); } else if (token.match(/^(true|false)$/i)) { @@ -310,13 +310,13 @@ CSV.resolve_type = function(token) { return token; }; -CSV.token_begin = function() { +CSV.token_begin = function () { CSV.state = PRE_TOKEN; // considered using array, but http://www.sitepen.com/blog/2008/05/09/string-performance-an-analysis/ CSV.token = ''; }; -CSV.token_end = function() { +CSV.token_end = function () { if (CSV.DETECT_TYPES) { CSV.token = CSV.resolve_type(CSV.token); } @@ -325,11 +325,11 @@ CSV.token_end = function() { CSV.token_begin(); }; -CSV.debug = function() { +CSV.debug = function () { if (CSV.DEBUG) console.log(arguments); }; -CSV.dump = function(msg) { +CSV.dump = function (msg) { return [ msg, 'at char', @@ -339,17 +339,17 @@ CSV.dump = function(msg) { .substr(CSV.offset - 50, 50) .replace(/\r/gm, '\\r') .replace(/\n/gm, '\\n') - .replace(/\t/gm, '\\t') + .replace(/\t/gm, '\\t'), ].join(' '); }; -CSV.error = function(err) { +CSV.error = function (err) { var msg = CSV.dump(err); CSV.reset(); throw msg; }; -CSV.warn = function(err) { +CSV.warn = function (err) { if (!CSV.DEBUG) { return; } @@ -365,4 +365,4 @@ CSV.warn = function(err) { } catch (e) {} }; -export default CSV \ No newline at end of file +export default CSV; diff --git a/plugins/code-syntax-highlight/package.json b/plugins/code-syntax-highlight/package.json index dc5e241692..62a37d6e72 100644 --- a/plugins/code-syntax-highlight/package.json +++ b/plugins/code-syntax-highlight/package.json @@ -4,6 +4,7 @@ "description": "TOAST UI Editor : Code Syntax Highlight Plugin", "keywords": [ "nhn", + "nhn cloud", "toast", "toastui", "toast-ui", @@ -19,7 +20,7 @@ "dist/*.css", "types/index.d.ts" ], - "author": "NHN FE Development Lab ", + "author": "NHN Cloud FE Development Lab ", "license": "MIT", "repository": { "type": "git", diff --git a/plugins/color-syntax/package.json b/plugins/color-syntax/package.json index 862cd101de..86460a3ab2 100644 --- a/plugins/color-syntax/package.json +++ b/plugins/color-syntax/package.json @@ -4,6 +4,7 @@ "description": "TOAST UI Editor : Color Syntax Plugin", "keywords": [ "nhn", + "nhn cloud", "toast", "toastui", "toast-ui", @@ -19,7 +20,7 @@ "types/index.d.ts" ], "types": "types/index.d.ts", - "author": "NHN FE Development Lab ", + "author": "NHN Cloud FE Development Lab ", "license": "MIT", "repository": { "type": "git", diff --git a/plugins/table-merged-cell/package.json b/plugins/table-merged-cell/package.json index ef4aa43b2e..04f81d5d73 100644 --- a/plugins/table-merged-cell/package.json +++ b/plugins/table-merged-cell/package.json @@ -4,6 +4,7 @@ "description": "TOAST UI Editor : Table Merged Cell Plugin", "keywords": [ "nhn", + "nhn cloud", "toast", "toastui", "toast-ui", @@ -19,7 +20,7 @@ "types/index.d.ts" ], "types": "types/index.d.ts", - "author": "NHN FE Development Lab ", + "author": "NHN Cloud FE Development Lab ", "license": "MIT", "repository": { "type": "git", diff --git a/plugins/uml/package.json b/plugins/uml/package.json index d9a0d0bac0..0c083855dd 100644 --- a/plugins/uml/package.json +++ b/plugins/uml/package.json @@ -4,6 +4,7 @@ "description": "TOAST UI Editor : UML Plugin", "keywords": [ "nhn", + "nhn cloud", "toast", "toastui", "toast-ui", @@ -17,7 +18,7 @@ "dist/*.js", "index.d.ts" ], - "author": "NHN FE Development Lab ", + "author": "NHN Cloud FE Development Lab ", "license": "MIT", "repository": { "type": "git",