Initial import from local backup (Documents-Playground/pakerpale)

This commit is contained in:
jeonghwa
2026-07-03 05:27:29 +09:00
commit d918e2eddc
2971 changed files with 264195 additions and 0 deletions

6
node_modules/safe-json-stringify/.idea/misc.xml generated vendored Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>

8
node_modules/safe-json-stringify/.idea/modules.xml generated vendored Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/safe-json-stringify.iml" filepath="$PROJECT_DIR$/.idea/safe-json-stringify.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
node_modules/safe-json-stringify/.idea/vcs.xml generated vendored Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

313
node_modules/safe-json-stringify/.idea/workspace.xml generated vendored Normal file
View File

@@ -0,0 +1,313 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="BuildServerSettings">
<option name="LOGIN" value="" />
<option name="SERVER_URL" value="http://buildserver" />
<option name="REMEMBER_ME" value="true" />
<option name="USE_IDEA_PROXY_SETTINGS" value="true" />
<option name="INSPECTIONS_BUILD_TYPE_IDS" />
<option name="DUPLICATES_BUILD_TYPE_IDS" />
<option name="COVERAGE_SETTINGS" />
<option name="TEST_STATUS_ENABLED" value="true" />
<option name="TEST_STATUS_SHOW_SUCCESSFUL" value="false" />
<option name="ARTIFACTS_BUILD_TYPE_IDS" />
<option name="PERFORM_COMMIT_IF_SUCCESSFUL" value="true" />
<option name="PERFORM_COMMIT_IF_NO_NEW_FAILED_TESTS" value="false" />
<option name="REQUEST_CONFIRMATON" value="false" />
<option name="PRE_TESTED_COMMIT" value="true" />
<option name="FILTER_BY_STATUS" value="false" />
<option name="FILTER_MARKED_AS_FIXED" value="false" />
<option name="SHOW_CLOSE_PROMPT" value="true" />
<option name="TOOL_WINDOW_SELECTED_CONTENT_INDEX" value="0" />
<option name="FILTER_BY_CURRENT_PROJECT" value="true" />
</component>
<component name="ChangeListManager">
<list default="true" id="ecc266b8-fc08-477c-bf7a-ad9bc0961ed6" name="Default" comment="">
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
</list>
<ignored path="$PROJECT_DIR$/.tmp/" />
<ignored path="$PROJECT_DIR$/temp/" />
<ignored path="$PROJECT_DIR$/tmp/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileEditorManager">
<leaf>
<file leaf-file-name="safe-json-stringify-test.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/test/safe-json-stringify-test.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="195">
<caret line="13" column="27" lean-forward="true" selection-start-line="13" selection-start-column="27" selection-end-line="13" selection-end-column="27" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="package.json" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="15" column="29" lean-forward="true" selection-start-line="15" selection-start-column="29" selection-end-line="15" selection-end-column="29" />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="Git.Settings">
<option name="UPDATE_TYPE" value="REBASE" />
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/test/safe-json-stringify-test.js" />
<option value="$PROJECT_DIR$/package.json" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER">
<package-json value="$PROJECT_DIR$/package.json" />
</component>
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="NodeModulesDirectoryManager">
<handled-path value="$PROJECT_DIR$/node_modules" />
</component>
<component name="NodePackageJsonFileManager">
<packageJsonPaths>
<path value="$PROJECT_DIR$/package.json" />
</packageJsonPaths>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="width" value="1920" />
<option name="height" value="1080" />
</component>
<component name="ProjectLevelVcsManager">
<OptionsSetting value="false" id="Update" />
</component>
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="safe-json-stringify" type="b2602c69:ProjectViewProjectNode" />
<item name="safe-json-stringify" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="safe-json-stringify" type="b2602c69:ProjectViewProjectNode" />
<item name="safe-json-stringify" type="462c0819:PsiDirectoryNode" />
<item name="test" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="nodejs_package_manager_path" value="npm" />
</component>
<component name="RestoreUpdateTree" date="Moments ago" ActionInfo="_Update">
<UpdatedFiles>
<FILE-GROUP>
<option name="myUpdateName" value="Updated from server" />
<option name="myStatusName" value="Changed on server" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="CHANGED_ON_SERVER" />
<FILE-GROUP>
<option name="myUpdateName" value="Updated" />
<option name="myStatusName" value="Changed" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="UPDATED" />
<PATH vcs="Git" revision="">$PROJECT_DIR$/index.js</PATH>
<PATH vcs="Git" revision="">$PROJECT_DIR$/test/safe-json-stringify-test.js</PATH>
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Created" />
<option name="myStatusName" value="Created" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="CREATED" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Deleted" />
<option name="myStatusName" value="Deleted" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="true" />
<option name="myId" value="REMOVED_FROM_REPOSITORY" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Restored" />
<option name="myStatusName" value="Will be restored" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="RESTORED" />
</FILE-GROUP>
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Modified" />
<option name="myStatusName" value="Modified" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="MODIFIED" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Skipped" />
<option name="myStatusName" value="Skipped" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="SKIPPED" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Merged with conflicts" />
<option name="myStatusName" value="Will be merged with conflicts" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="MERGED_WITH_CONFLICTS" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Merged with tree conflicts" />
<option name="myStatusName" value="Merged with tree conflicts" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="MERGED_WITH_TREE_CONFLICT" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Merged with property conflicts" />
<option name="myStatusName" value="Will be merged with property conflicts" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="MERGED_WITH_PROPERTY_CONFLICT" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Merged" />
<option name="myStatusName" value="Will be merged" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="MERGED" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Not in repository" />
<option name="myStatusName" value="Not in repository" />
<option name="mySupportsDeletion" value="true" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="UNKNOWN" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Locally added" />
<option name="myStatusName" value="Locally added" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="LOCALLY_ADDED" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Locally removed" />
<option name="myStatusName" value="Locally removed" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="LOCALLY_REMOVED" />
</FILE-GROUP>
<FILE-GROUP>
<option name="myUpdateName" value="Switched" />
<option name="myStatusName" value="Switched" />
<option name="mySupportsDeletion" value="false" />
<option name="myCanBeAbsent" value="false" />
<option name="myId" value="SWITCHED" />
</FILE-GROUP>
</UpdatedFiles>
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="ecc266b8-fc08-477c-bf7a-ad9bc0961ed6" name="Default" comment="" />
<created>1527158017113</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1527158017113</updated>
<workItem from="1527158018419" duration="151000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="151000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="22" width="1920" height="1013" extended-state="6" />
<editor active="true" />
<layout>
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Event Log" side_tool="true" />
<window_info anchor="bottom" id="Run" order="2" />
<window_info anchor="bottom" id="Version Control" />
<window_info id="npm" order="0" side_tool="true" />
<window_info anchor="right" id="Mongo Explorer" order="0" />
<window_info anchor="bottom" id="Terminal" visible="true" weight="0.32922733" />
<window_info active="true" anchor="right" content_ui="combo" id="Project" order="4" visible="true" weight="0.24973376" />
<window_info anchor="bottom" id="Docker" show_stripe_button="false" />
<window_info anchor="bottom" id="TeamCity" />
<window_info id="Structure" order="2" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
<window_info id="Favorites" order="1" side_tool="true" />
<window_info anchor="bottom" id="Find" order="1" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="3" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="2" weight="0.25" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/test/safe-json-stringify-test.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="195">
<caret line="13" column="27" lean-forward="true" selection-start-line="13" selection-start-column="27" selection-end-line="13" selection-end-column="27" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="15" column="29" lean-forward="true" selection-start-line="15" selection-start-column="29" selection-end-line="15" selection-end-column="29" />
</state>
</provider>
</entry>
</component>
</project>

8
node_modules/safe-json-stringify/.travis.yml generated vendored Normal file
View File

@@ -0,0 +1,8 @@
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"

105
node_modules/safe-json-stringify/README.md generated vendored Normal file
View File

@@ -0,0 +1,105 @@
# Safe JSON Stringify
[![Build Status](https://travis-ci.org/debitoor/safe-json-stringify.svg?branch=master)](https://travis-ci.org/debitoor/safe-json-stringify)
[![NPM Version](https://img.shields.io/npm/v/safe-json-stringify.svg)](https://www.npmjs.com/package/safe-json-stringify)
A wrapper for `JSON.stringify` that handles circular references and prevents defined getters from throwing errors.
Circular references are handled by returning `[Circular]` when a circular reference is spotted.
Defined getters that throw errors are handled by returning `[Throws]`.
Usage
-----
Install it using NPM
```sh
npm install safe-json-stringify
```
And require it into your Node project.
```js
const safeJsonStringify = require('safe-json-stringify');
const data = {foo: 'bar'}
console.log(safeJsonStringify(data));
```
All the parameters of `JSON.stringify` are accepted, try e.g. the following for a nicely formatted output:
```js
console.log(safeJsonStringify(data, null, 2));
```
An `ensureProperties` function is exposed too, which returns a safe object without the stringify step. Usage: `safeJsonStringify.ensureProperties(data);`.
Why?
----
The `stringify` function on the JavaScript JSON object will take any data and return a string representation of said data. If this data contains an object literal it will attempt to return the values of any enumerable property set on this object. This can be dangerous because JavaScript supports a couple of ways to define property getters on objects.
The old, non-standard, and now deprecated `Object.prototype.__defineGetter__()` will define a named property which value is the return of a given function.
```js
// Never ever do this in your code. Please.
var obj = {};
obj.__defineGetter__('foo', function() { return 'bar'; });
JSON.stringify(obj); // {"foo":"bar"}
```
This is kinda bad because we could make that function throw an error.
```js
// Never ever do this in your code. Please.
var obj = {};
obj.__defineGetter__('foo', function() { throw new Error('ouch!'); });
JSON.stringify(obj); // error thrown
```
This property is created as an enumerable on the object, so the object from the previous example would make any function that iterates choke and throw an error. This is bad because one would never expect a simple property get to throw an error and bring down a system.
`JSON.stringify` will blindly trust any object property, and will throw an error if it hits a defined property that throws an error. This could potentially take down your program.
The slightly better `Object.defineProperty()` does the same thing, but has the common courtesy to not define the getter as enumerable--that is per default. The following example would bring us in the same situation as with `__defineGetter__`.
```js
// Never ever do this in your code. Please.
var obj = {};
Object.defineProperty(obj, 'foo', {
get: function() { throw new Error('ouch!'); },
enumerable: true // enumerable is false by default
});
JSON.stringify(obj); // error thrown
```
So, we can not trust any of them. One could argue that they should never be used, and we can, and should, apply that principle to our own software, but we cannot trust code from third-party modules. If data from third-party modules are to be stringified by JSON we should take these situations into considerations. This module attempt to do that by spotting defined getters and return "[Throws]" if said getter throws an error.
```js
var safeJsonStringify = require('safe-json-stringify');
// Never ever do this in your code. Please.
var obj = {};
Object.defineProperty(obj, 'foo', {
get: function() { throw new Error('ouch!'); },
enumerable: true
});
safeJsonStringify(obj); // '{"foo":"[Throws]"}'
```
And it attempts to handle circular references too. It returns "[Circular]" if it spots one.
License
-------
The MIT License (MIT)
Copyright (c) 2014-2017 [Debitoor](https://debitoor.com/)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 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.

65
node_modules/safe-json-stringify/index.js generated vendored Normal file
View File

@@ -0,0 +1,65 @@
var hasProp = Object.prototype.hasOwnProperty;
function throwsMessage(err) {
return '[Throws: ' + (err ? err.message : '?') + ']';
}
function safeGetValueFromPropertyOnObject(obj, property) {
if (hasProp.call(obj, property)) {
try {
return obj[property];
}
catch (err) {
return throwsMessage(err);
}
}
return obj[property];
}
function ensureProperties(obj) {
var seen = [ ]; // store references to objects we have seen before
function visit(obj) {
if (obj === null || typeof obj !== 'object') {
return obj;
}
if (seen.indexOf(obj) !== -1) {
return '[Circular]';
}
seen.push(obj);
if (typeof obj.toJSON === 'function') {
try {
var fResult = visit(obj.toJSON());
seen.pop();
return fResult;
} catch(err) {
return throwsMessage(err);
}
}
if (Array.isArray(obj)) {
var aResult = obj.map(visit);
seen.pop();
return aResult;
}
var result = Object.keys(obj).reduce(function(result, prop) {
// prevent faulty defined getter properties
result[prop] = visit(safeGetValueFromPropertyOnObject(obj, prop));
return result;
}, {});
seen.pop();
return result;
};
return visit(obj);
}
module.exports = function(data, replacer, space) {
return JSON.stringify(ensureProperties(data), replacer, space);
}
module.exports.ensureProperties = ensureProperties;

51
node_modules/safe-json-stringify/package.json generated vendored Normal file
View File

@@ -0,0 +1,51 @@
{
"_from": "safe-json-stringify@^1.2.0",
"_id": "safe-json-stringify@1.2.0",
"_inBundle": false,
"_integrity": "sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg==",
"_location": "/safe-json-stringify",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "safe-json-stringify@^1.2.0",
"name": "safe-json-stringify",
"escapedName": "safe-json-stringify",
"rawSpec": "^1.2.0",
"saveSpec": null,
"fetchSpec": "^1.2.0"
},
"_requiredBy": [
"/logops"
],
"_resolved": "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz",
"_shasum": "356e44bc98f1f93ce45df14bcd7c01cda86e0afd",
"_spec": "safe-json-stringify@^1.2.0",
"_where": "D:\\dev\\crossmap\\backend-services\\cm-app-crawlspider\\node_modules\\logops",
"author": {
"name": "Debitoor"
},
"bugs": {
"url": "https://github.com/debitoor/safe-json-stringify/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Prevent defined property getters from throwing errors",
"devDependencies": {
"tape": "4.6.3"
},
"homepage": "https://github.com/debitoor/safe-json-stringify",
"license": "MIT",
"main": "index.js",
"name": "safe-json-stringify",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/debitoor/safe-json-stringify.git"
},
"scripts": {
"postversion": "git push && git push --tags",
"preversion": "npm test",
"test": "tape test/safe-json-stringify-test.js"
},
"version": "1.2.0"
}