@node-red/editor-client
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -18,2 +18,13 @@ { | ||
"cont": "Continue" | ||
}, | ||
"type": { | ||
"string": "string", | ||
"number": "number", | ||
"boolean": "boolean", | ||
"array": "array", | ||
"buffer": "buffer", | ||
"object": "object", | ||
"jsonString": "JSON string", | ||
"undefined": "undefined", | ||
"null": "null" | ||
} | ||
@@ -796,6 +807,10 @@ }, | ||
"collapseItems": "Collapse items", | ||
"duplicate": "Duplicate" | ||
"duplicate": "Duplicate", | ||
"error": { | ||
"invalidJSON": "Invalid JSON: " | ||
} | ||
}, | ||
"markdownEditor": { | ||
"title": "Markdown editor", | ||
"expand": "Expand", | ||
"format": "Formatted with markdown", | ||
@@ -802,0 +817,0 @@ "heading1": "Heading 1", |
{ | ||
"$string": { | ||
"args": "arg", | ||
"desc": "Casts the *arg* parameter to a string using the following casting rules:\n\n - Strings are unchanged\n - Functions are converted to an empty string\n - Numeric infinity and NaN throw an error because they cannot be represented as a JSON number\n - All other values are converted to a JSON string using the `JSON.stringify` function" | ||
"args": "arg[, prettify]", | ||
"desc": "Casts the `arg` parameter to a string using the following casting rules:\n\n - Strings are unchanged\n - Functions are converted to an empty string\n - Numeric infinity and NaN throw an error because they cannot be represented as a JSON number\n - All other values are converted to a JSON string using the `JSON.stringify` function. If `prettify` is true, then \"prettified\" JSON is produced. i.e One line per field and lines will be indented based on the field depth." | ||
}, | ||
@@ -188,3 +188,3 @@ "$length": { | ||
"args":"array, function [, init]", | ||
"desc":"Returns an aggregated value derived from applying the `function` parameter successively to each value in `array` in combination with the result of the previous application of the function.\n\nThe function must accept two arguments, and behaves like an infix operator between each value within the `array`.\n\nThe optional `init` parameter is used as the initial value in the aggregation." | ||
"desc":"Returns an aggregated value derived from applying the `function` parameter successively to each value in `array` in combination with the result of the previous application of the function.\n\nThe function must accept two arguments, and behaves like an infix operator between each value within the `array`. The signature of `function` must be of the form: `myfunc($accumulator, $value[, $index[, $array]])`\n\nThe optional `init` parameter is used as the initial value in the aggregation." | ||
}, | ||
@@ -234,4 +234,35 @@ "$flowContext": { | ||
"desc": "Parses the contents of the `string` parameter to an integer (as a JSON number) using the format specified by the `picture` string. The `picture` string parameter has the same format as `$formatInteger`." | ||
}, | ||
"$error": { | ||
"args": "[str]", | ||
"desc": "Throws an error with a message. The optional `str` will replace the default message of `$error() function evaluated`" | ||
}, | ||
"$assert": { | ||
"args": "arg, str", | ||
"desc": "If `arg` is true the function returns undefined. If `arg` is false an exception is thrown with `str` as the message of the exception." | ||
}, | ||
"$single": { | ||
"args": "array, function", | ||
"desc": "Returns the one and only value in the `array` parameter that satisfies the `function` predicate (i.e. the `function` returns Boolean `true` when passed the value). Throws an exception if the number of matching values is not exactly one.\n\nThe function should be supplied in the following signature: `function(value [, index [, array]])` where value is each input of the array, index is the position of that value and the whole array is passed as the third argument" | ||
}, | ||
"$encodeUrl": { | ||
"args": "str", | ||
"desc": "Encodes a Uniform Resource Locator (URL) component by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character.\n\nExample: `$encodeUrlComponent(\"?x=test\")` => `\"%3Fx%3Dtest\"`" | ||
}, | ||
"$encodeUrlComponent": { | ||
"args": "str", | ||
"desc": "Encodes a Uniform Resource Locator (URL) by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character. \n\nExample: `$encodeUrl(\"https://mozilla.org/?x=шеллы\")` => `\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\"`" | ||
}, | ||
"$decodeUrl": { | ||
"args": "str", | ||
"desc": "Decodes a Uniform Resource Locator (URL) component previously created by encodeUrlComponent. \n\nExample: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" | ||
}, | ||
"$decodeUrlComponent": { | ||
"args": "str", | ||
"desc": "Decodes a Uniform Resource Locator (URL) previously created by encodeUrl. \n\nExample: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" | ||
}, | ||
"$distinct": { | ||
"args": "array", | ||
"desc": "Returns an array with duplicate values removed from `array`" | ||
} | ||
} |
@@ -18,2 +18,13 @@ { | ||
"cont": "続ける" | ||
}, | ||
"type": { | ||
"string": "文字列", | ||
"number": "数値", | ||
"boolean": "真偽値", | ||
"array": "配列", | ||
"buffer": "バッファ", | ||
"object": "オブジェクト", | ||
"jsonString": "JSON文字列", | ||
"undefined": "undefined", | ||
"null": "null" | ||
} | ||
@@ -795,6 +806,10 @@ }, | ||
"collapseItems": "要素を折り畳む", | ||
"duplicate": "複製" | ||
"duplicate": "複製", | ||
"error": { | ||
"invalidJSON": "不正なJSON: " | ||
} | ||
}, | ||
"markdownEditor": { | ||
"title": "マークダウンエディタ", | ||
"expand": "拡大", | ||
"format": "マークダウン形式で記述", | ||
@@ -801,0 +816,0 @@ "heading1": "見出しレベル1", |
{ | ||
"$string": { | ||
"args": "arg", | ||
"desc": "以下の型変換ルールを用いて、引数 *arg* を文字列へ型変換します。:\n\n - 文字列は変換しません。\n - 関数は空の文字列に変換します。\n - JSONの数値として表現できないため、無限大やNaNはエラーになります。\n - 他の値は `JSON.stringify` 関数を用いて、JSONの文字列へ変換します。" | ||
"args": "arg[, prettify]", | ||
"desc": "以下の型変換ルールを用いて、引数 *arg* を文字列へ型変換します。:\n\n - 文字列は変換しません。\n - 関数は空の文字列に変換します。\n - JSONの数値として表現できないため、無限大やNaNはエラーになります。\n - 他の値は `JSON.stringify` 関数を用いて、JSONの文字列へ変換します。`prettify`が真の場合、JSONを整形出力します。フィールドを1行毎に出力。フィールドのネスト深さによってインデントを行います。" | ||
}, | ||
@@ -188,3 +188,3 @@ "$length": { | ||
"args": "array, function [, init]", | ||
"desc": "配列の各要素値に関数 `function` を連続的に適用して得られる集約値を返します。 `function` の適用の際には、直前の `function` の適用結果と要素値が引数として与えられます。\n\n関数 `function` は引数を2つ取り、配列の各要素の間に配置する中置演算子のように作用しなくてはなりません。\n\n任意の引数 `init` には、集約時の初期値を設定します。" | ||
"desc": "配列の各要素値に関数 `function` を連続的に適用して得られる集約値を返します。 `function` の適用の際には、直前の `function` の適用結果と要素値が引数として与えられます。\n\n関数 `function` は引数を2つ取り、配列の各要素の間に配置する中置演算子のように作用しなくてはなりません。関数`function`のシグネチャは`myfunc($accumulator, $value[, $index[, $array]])`という形式でなければなりません。\n\n任意の引数 `init` には、集約時の初期値を設定します。" | ||
}, | ||
@@ -234,3 +234,35 @@ "$flowContext": { | ||
"desc": "`picture`文字列の指定に従って、`string`パラメータを整数(JSON数値)に変換します。`picture`文字列は`$formatInteger`と同じ形式です。" | ||
}, | ||
"$error": { | ||
"args": "[str]", | ||
"desc": "メッセージを指定して例外を送出します。メッセージ`str`を省略した場合は`$error() function evaluated`をメッセージとします。" | ||
}, | ||
"$assert": { | ||
"args": "arg, str", | ||
"desc": "`arg`が真の場合、undefinedを返します。偽の場合、`str`をメッセージとする例外を送出します。" | ||
}, | ||
"$single": { | ||
"args": "array, function", | ||
"desc": "`array`の要素のうち、条件判定関数`function`を満たす(`function`に与えた場合に真偽値`true`を返す)要素が1つのみである場合、それを返します。マッチする要素が1つのみでない場合、例外を送出します。\n\n指定する関数は`function(value [, index [, array]])`というシグネチャでなければなりません。ここで、`value`は`array`の要素値、`index`は要素の添字、第三引数には配列全体を渡します。" | ||
}, | ||
"$encodeUrl": { | ||
"args": "str", | ||
"desc": "Uniform Resource Locator (URL)を構成する文字を1、2、3、もしくは、4文字エスケープシーケンスのUTF-8文字エンコーディングで置換します。\n\n例: `$encodeUrlComponent(\"?x=test\")` => `\"%3Fx%3Dtest\"`" | ||
}, | ||
"$encodeUrlComponent": { | ||
"args": "str", | ||
"desc": "Uniform Resource Locator (URL)要素を構成する文字を1、2、3、もしくは、4文字エスケープシーケンスのUTF-8文字エンコーディングで置換します。\n\n例: `$encodeUrl(\"https://mozilla.org/?x=шеллы\")` => `\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\"`" | ||
}, | ||
"$decodeUrl": { | ||
"args": "str", | ||
"desc": "encodeUrlComponentで置換したUniform Resource Locator (URL)をデコードします。\n\n例: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" | ||
}, | ||
"$decodeUrlComponent": { | ||
"args": "str", | ||
"desc": "encodeUrlで置換したUniform Resource Locator (URL)要素をデコードします。 \n\n例: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" | ||
}, | ||
"$distinct": { | ||
"args": "array", | ||
"desc": "配列`array`から重複要素を削除した配列を返します。" | ||
} | ||
} |
{ | ||
"name": "@node-red/editor-client", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
6949485
51706