fuse-importer 0.40.1 → 0.40.2-staging.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -31
- package/lib/esm/index.js +3 -6
- package/lib/esm/index.js.map +1 -1
- package/lib/main.js +1 -1
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<div>
|
|
2
2
|
<center>
|
|
3
|
-
<a href="https://fuse.
|
|
4
|
-
<img alt="
|
|
3
|
+
<a href="https://fuse.swovo.com/users/sign-up?utm_source=npmjs&utm_medium=Fuse+importer+logo&utm_campaign=NPM">
|
|
4
|
+
<img alt="Swovo Fuse" src="https://wp.swovo.com/wp-content/uploads/2026/08/swovo-fuse.png">
|
|
5
5
|
</a>
|
|
6
6
|
</center>
|
|
7
7
|
<br>
|
|
8
8
|
<br>
|
|
9
9
|
<p>
|
|
10
|
-
|
|
10
|
+
Swovo Fuse is a customizable and powerful CSV Importer that works with all front-end languages.
|
|
11
11
|
</p>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -47,40 +47,37 @@ yarn add fuse-importer
|
|
|
47
47
|
Install with CDN:
|
|
48
48
|
|
|
49
49
|
```html
|
|
50
|
-
<script
|
|
51
|
-
type="text/javascript"
|
|
52
|
-
src="https://unpkg.com/fuse-importer@latest.js"
|
|
53
|
-
></script>
|
|
50
|
+
<script type="text/javascript" src="https://unpkg.com/fuse-importer@latest.js"></script>
|
|
54
51
|
```
|
|
55
52
|
|
|
56
53
|
## Introduction
|
|
57
54
|
|
|
58
|
-
|
|
55
|
+
Swovo Fuse is our solution to the inevitable difficulties of getting customer data into your solution. We provide a white-labeled, customizable CSV and Spreadsheet import experience that is above all effective and flexible. Not only do we save you the time and effort of developing your own import solution, but we also ensure that setup and integration with your systems are a breeze.
|
|
59
56
|
|
|
60
|
-
To get started with our solution, you're going to need a free account and to create a template on our platform: [
|
|
57
|
+
To get started with our solution, you're going to need a free account and to create a template on our platform: [Swovo Fuse](https://fuse.swovo.com/users/sign-up?utm_source=npmjs&utm_medium=Swovo+Fuse+Get+Started&utm_campaign=NPM)
|
|
61
58
|
|
|
62
59
|
To use the importer you will need two keys:
|
|
63
60
|
|
|
64
61
|
- Your **Organization's API key**: You can find this at the top of the [Templates page](#create-your-first-template).
|
|
65
62
|
- Your **Importer's ID**: You can find this in the table on the [Templates page](#create-your-first-template).
|
|
66
63
|
|
|
67
|
-
For more information see our [full documentation.](https://fuse-docs.
|
|
64
|
+
For more information see our [full documentation.](https://fuse-docs.swovo.com?utm_source=npmjs&utm_medium=Fuse+importer+Full+Documentation&utm_campaign=NPM)
|
|
68
65
|
|
|
69
66
|
Check it out in action:
|
|
70
67
|
|
|
71
68
|
<div>
|
|
72
69
|
<center>
|
|
73
|
-
<img alt="Check it out in action" src="https://wp.
|
|
70
|
+
<img alt="Check it out in action" src="https://wp.swovo.com/wp-content/uploads/2022/07/ezgif-1-242e10926e.gif">
|
|
74
71
|
</center>
|
|
75
72
|
</div>
|
|
76
73
|
|
|
77
74
|
## Registration
|
|
78
75
|
|
|
79
|
-
If you don't have an account yet, you can go over the [Registration](https://fuse-docs.
|
|
76
|
+
If you don't have an account yet, you can go over the [Registration](https://fuse-docs.swovo.com/getting-started/registration?utm_source=npmjs&utm_medium=Registration&utm_campaign=NPM).
|
|
80
77
|
|
|
81
78
|
## Create Your First Importer
|
|
82
79
|
|
|
83
|
-
If you don’t have an Importer yet, you can go over [Create Your First Importer](https://fuse-docs.
|
|
80
|
+
If you don’t have an Importer yet, you can go over [Create Your First Importer](https://fuse-docs.swovo.com/getting-started/create-your-first-template?utm_source=npmjs&utm_medium=Create+Your+First+Template&utm_campaign=NPM). Importer represents the fields and validations that your own system accepts, also known as your data schema.
|
|
84
81
|
|
|
85
82
|
## Getting started
|
|
86
83
|
|
|
@@ -88,10 +85,7 @@ If you don’t have an Importer yet, you can go over [Create Your First Importer
|
|
|
88
85
|
<!DOCTYPE html>
|
|
89
86
|
<html>
|
|
90
87
|
<head>
|
|
91
|
-
<script
|
|
92
|
-
type="text/javascript"
|
|
93
|
-
src="https://unpkg.com/fuse-importer@latest"
|
|
94
|
-
></script>
|
|
88
|
+
<script type="text/javascript" src="https://unpkg.com/fuse-importer@latest"></script>
|
|
95
89
|
<script type="text/javascript">
|
|
96
90
|
const organizationApiKey = "YOUR ORGANIZATIONS API KEY";
|
|
97
91
|
const importerId = "YOUR IMPORTER ID";
|
|
@@ -114,13 +108,8 @@ If you don’t have an Importer yet, you can go over [Create Your First Importer
|
|
|
114
108
|
};
|
|
115
109
|
|
|
116
110
|
window.showFuseImporter = () => {
|
|
117
|
-
if (
|
|
118
|
-
|
|
119
|
-
importerId.indexOf("YOUR") !== -1
|
|
120
|
-
) {
|
|
121
|
-
window.confirm(
|
|
122
|
-
"You need to configure your organization api key and Importer id."
|
|
123
|
-
);
|
|
111
|
+
if (organizationApiKey.indexOf("YOUR") !== -1 || importerId.indexOf("YOUR") !== -1) {
|
|
112
|
+
window.confirm("You need to configure your organization api key and Importer id.");
|
|
124
113
|
return;
|
|
125
114
|
}
|
|
126
115
|
importer.show();
|
|
@@ -136,10 +125,10 @@ If you don’t have an Importer yet, you can go over [Create Your First Importer
|
|
|
136
125
|
|
|
137
126
|
## More Examples
|
|
138
127
|
|
|
139
|
-
- [Quickstart Examples](https://fuse-docs.
|
|
140
|
-
- [React.js](https://fuse-docs.
|
|
141
|
-
- [Angular](https://fuse-docs.
|
|
142
|
-
- [Vue.js](https://fuse-docs.
|
|
128
|
+
- [Quickstart Examples](https://fuse-docs.swovo.com/installation/quickstart-examples?utm_source=npmjs&utm_medium=More+Examples+Quickstart+Examples&utm_campaign=NPM)
|
|
129
|
+
- [React.js](https://fuse-docs.swovo.com/use-cases/react.js-csv-importer?utm_source=npmjs&utm_medium=More+Examples+React&utm_campaign=NPM)
|
|
130
|
+
- [Angular](https://fuse-docs.swovo.com/use-cases/angular-csv-importer?utm_source=npmjs&utm_medium=More+Examples+Angular&utm_campaign=NPM)
|
|
131
|
+
- [Vue.js](https://fuse-docs.swovo.com/use-cases/vue.js-csv-importer?utm_source=npmjs&utm_medium=More+Examples+Vue&utm_campaign=NPM)
|
|
143
132
|
|
|
144
133
|
## Usage
|
|
145
134
|
|
|
@@ -228,9 +217,7 @@ importer.formatRecord = async (record) => {
|
|
|
228
217
|
|
|
229
218
|
// capitalize first letter in first_name
|
|
230
219
|
if (typeof newRecord.first_name === "string") {
|
|
231
|
-
newRecord.first_name =
|
|
232
|
-
newRecord.first_name.charAt(0).toUpperCase() +
|
|
233
|
-
newRecord.first_name.slice(1);
|
|
220
|
+
newRecord.first_name = newRecord.first_name.charAt(0).toUpperCase() + newRecord.first_name.slice(1);
|
|
234
221
|
}
|
|
235
222
|
|
|
236
223
|
return newRecord;
|
package/lib/esm/index.js
CHANGED
|
@@ -48,7 +48,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
export var fuseImporterId = "fuse-importer-root";
|
|
49
49
|
export var FUSE_INIT = "fuse_init";
|
|
50
50
|
export var IFRAME_READY = "iframe_ready";
|
|
51
|
-
var defaultImporterHost = "https://embed-staging.
|
|
51
|
+
var defaultImporterHost = "https://embed-staging.swovo.com";
|
|
52
52
|
var isBrowser = typeof window !== "undefined";
|
|
53
53
|
var originalWarn = console.warn.bind(console.warn);
|
|
54
54
|
console.warn = function (msg) {
|
|
@@ -60,9 +60,7 @@ console.warn = function (msg) {
|
|
|
60
60
|
};
|
|
61
61
|
export var getFuseClientSideToken = function (_a) {
|
|
62
62
|
var importer_slug = _a.importer_slug, api_key = _a.api_key, _b = _a.metadata, metadata = _b === void 0 ? {} : _b;
|
|
63
|
-
var baseUrl = process.env.REACT_APP_CYPRESS === "true"
|
|
64
|
-
? "http://localhost:3000"
|
|
65
|
-
: "https://staging-fuse-aws.flatirons.com";
|
|
63
|
+
var baseUrl = process.env.REACT_APP_CYPRESS === "true" ? "http://localhost:3000" : "https://staging-fuse-aws.swovo.com" || "https://staging-fuse-aws.swovo.com";
|
|
66
64
|
return function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
67
65
|
var response, data, error_1;
|
|
68
66
|
return __generator(this, function (_a) {
|
|
@@ -169,8 +167,7 @@ var FuseImporter = /** @class */ (function () {
|
|
|
169
167
|
return [2 /*return*/];
|
|
170
168
|
iframe = document.createElement("iframe");
|
|
171
169
|
iframe.setAttribute("id", fuseImporterId);
|
|
172
|
-
iframe.style.cssText =
|
|
173
|
-
"border: none; width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 1000;";
|
|
170
|
+
iframe.style.cssText = "border: none; width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 1000;";
|
|
174
171
|
iframe.setAttribute("allow", "clipboard-write");
|
|
175
172
|
iframe.src = "".concat(this.options.host);
|
|
176
173
|
spinner = document.createElement("div");
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAM,CAAC,IAAM,cAAc,GAAG,oBAAoB,CAAC;AACnD,MAAM,CAAC,IAAM,SAAS,GAAG,WAAW,CAAC;AACrC,MAAM,CAAC,IAAM,YAAY,GAAG,cAAc,CAAC;AAC3C,IAAM,mBAAmB,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAM,CAAC,IAAM,cAAc,GAAG,oBAAoB,CAAC;AACnD,MAAM,CAAC,IAAM,SAAS,GAAG,WAAW,CAAC;AACrC,MAAM,CAAC,IAAM,YAAY,GAAG,cAAc,CAAC;AAC3C,IAAM,mBAAmB,GAAG,iCAAiC,CAAC;AAE9D,IAAM,SAAS,GAAG,OAAO,MAAM,KAAK,WA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AAG,49BAcnB,CAAC"}
|
package/lib/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var FuseImporter;(()=>{"use strict";var e={d:(_,n)=>{for(var s in n)e.o(n,s)&&!e.o(_,s)&&Object.defineProperty(_,s,{enumerable:!0,get:n[s]})},o:(e,_)=>Object.prototype.hasOwnProperty.call(e,_)},_={};(()=>{e.d(_,{default:()=>d});var n,s=function(e,_,n){if(n||2===arguments.length)for(var s,p=0,a=_.length;p<a;p++)!s&&p in _||(s||(s=Array.prototype.slice.call(_,0,p)),s[p]=_[p]);return e.concat(s||Array.prototype.slice.call(_))};!function(e){e.boolean="boolean",e.integer="integer",e.float="float",e.string="string",e.email="email",e.enum="enum",e.url="url",e.date="date",e.datetime="datetime",e.time="time"}(n||(n={}));s([],["cannot_contain","contain","max_length","min_length","length_exactly","unique_case_sensitive","unique_case_insensitive","regex","integer","less_than","greater_than","even","odd","float","email","url","boolean","before_date","after_date"],!0),s([],["sentence_case","capitalize","uppercase","lowercase","trim_whitespace","autoformat","prefix","number_of_decimals","round","floor","ceiling"],!0);var p=function(){return p=Object.assign||function(e){for(var _,n=1,s=arguments.length;n<s;n++)for(var p in _=arguments[n])Object.prototype.hasOwnProperty.call(_,p)&&(e[p]=_[p]);return e},p.apply(this,arguments)},a=function(e,_,n,s){return new(n||(n=Promise))((function(p,a){function r(e){try{o(s.next(e))}catch(e){a(e)}}function i(e){try{o(s.throw(e))}catch(e){a(e)}}function o(e){var _;e.done?p(e.value):(_=e.value,_ instanceof n?_:new n((function(e){e(_)}))).then(r,i)}o((s=s.apply(e,_||[])).next())}))},r=function(e,_){var n,s,p,a,r={label:0,sent:function(){if(1&p[0])throw p[1];return p[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(i){return function(o){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,i[0]&&(r=0)),r;)try{if(n=1,s&&(p=2&i[0]?s.return:i[0]?s.throw||((p=s.return)&&p.call(s),0):s.next)&&!(p=p.call(s,i[1])).done)return p;switch(s=0,p&&(i=[2&i[0],p.value]),i[0]){case 0:case 1:p=i;break;case 4:return r.label++,{value:i[1],done:!1};case 5:r.label++,s=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!(p=r.trys,(p=p.length>0&&p[p.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!p||i[1]>p[0]&&i[1]<p[3])){r.label=i[1];break}if(6===i[0]&&r.label<p[1]){r.label=p[1],p=i;break}if(p&&r.label<p[2]){r.label=p[2],r.ops.push(i);break}p[2]&&r.ops.pop(),r.trys.pop();continue}i=_.call(e,r)}catch(e){i=[6,e],s=0}finally{n=p=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,o])}}},i="fuse-importer-root",o="undefined"!=typeof window,c=console.warn.bind(console.warn);console.warn=function(e){e&&(e.includes("Over 200 classes were generated for component")||c(e))};var t=function(e){var _=e.importer_slug,n=e.api_key,s=e.metadata,p=void 0===s?{}:s,i="true"==={GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_969e5083-7291-4f8e-9574-650dda049cec",npm_package_scripts_test_fuse_shared_ui:"yarn workspace fuse-shared-ui test",npm_package_devDependencies__types_node:"^12.x",DOTNET_NOLOGO:"1",npm_package_resolutions_path_to_regexp:"^0.1.12",npm_package_devDependencies__babel_traverse:"^7.0.0",npm_package_scripts_cypress_test:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress run",npm_package_scripts_rails_e2e_seed:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e rails db:seed && SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec rake fuse:e2e",USER:"runner",npm_config_version_commit_hooks:"true",npm_config_user_agent:"yarn/1.22.22 npm/? node/v22.21.1 linux x64",npm_config_always_auth:"true",npm_package_devDependencies_webpack_cli:"^4.9.1",npm_package_devDependencies_jest:"^28.1.3",npm_package_devDependencies__testing_library_jest_dom:"^5.16.5",CI:"true",npm_package_devDependencies_buffer:"^6.0.3",npm_config_bin_links:"true",npm_config_wrap_output:"",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_969e5083-7291-4f8e-9574-650dda049cec",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/22.21.1/x64/bin/node",npm_config_init_version:"1.0.0",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_package_files_0:"lib",HOME:"/home/runner",npm_package_resolutions__types_react_dom:"18.3.0",npm_package_devDependencies__typescript_eslint_parser:"^8.44.1",npm_package_devDependencies__eslint_js:"^9.36.0",npm_package_devDependencies_jest_canvas_mock:"^2.5.2",npm_package_scripts_translate:"node ./scripts/translate.js",npm_package_browserslist_production_0:">0.2%",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_resolutions__babel_runtime:"^7.28.4",npm_package_devDependencies_stream_browserify:"^3.0.0",npm_package_devDependencies_eslint_config_prettier:"^10.1.8",npm_package_browserslist_production_1:"not dead",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"swovohq",npm_package_scripts_sidekiq_e2e:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec sidekiq -e e2e -C config/sidekiq.yml",npm_package_scripts_build_embed:"yarn build:shared && yarn workspace embed build",npm_package_engines_node:">=16.0.0",npm_config_init_license:"MIT",npm_package_browserslist_production_2:"not op_mini all",GRADLE_HOME:"/usr/share/gradle-9.2.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/29.0.14206865",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",GITHUB_RETENTION_DAYS:"90",YARN_WRAP_OUTPUT:"false",npm_package_scripts_embed:"yarn workspace embed start",npm_config_version_tag_prefix:"v",npm_package_devDependencies_terser_webpack_plugin:"^5.1.2",GITHUB_REPOSITORY_OWNER_ID:"42946404",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_package_devDependencies_util:"^0.12.5",npm_package_scripts_lint_fix:"yarn --cwd ui eslint --fix",npm_package_dependencies_webpack:"^5.101.3",npm_config_userconfig:"/home/runner/work/_temp/.npmrc",SYSTEMD_EXEC_PID:"1743",npm_package_resolutions_tmp:"^0.2.5",npm_package_resolutions_brace_expansion:"^1.1.12",npm_package_devDependencies_husky:"^4.3.0",npm_package_devDependencies_eslint_plugin_react_hooks:"^6.1.0",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",npm_package_description:"Flatirons Fuse is a customizable and powerful CSV Importer that works with all front-end languages",npm_package_devDependencies_babel_loader:"^10.0.0",npm_package_devDependencies_typescript:"^4.3.2",JAVA_HOME_25_X64:"/usr/lib/jvm/temurin-25-jdk-amd64",NVM_DIR:"/home/runner/.nvm",npm_package_readmeFilename:"README.md",npm_package_devDependencies_cypress_real_events:"^1.11.0",npm_package_scripts_rails_e2e_server:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec rails s --port 3001",npm_package_scripts_build_shared:"yarn workspace fuse-shared-ui build",npm_package_dependencies_xlsx:"^0.18.5",npm_package_types:"./lib/esm/index.d.ts",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20251126.144.1",npm_package_devDependencies_prettier:"^3.6.2",npm_package_devDependencies_ts_loader:"^9.2.2",npm_package_scripts_dev:"webpack-dev-server --open --watch-files src",LOGNAME:"runner",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.12/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",npm_package_devDependencies_eslint_plugin_import:"^2.32.0",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.12/x64",JOURNAL_STREAM:"9:13177",GITHUB_WORKFLOW:"Push to NPM with Staging Tag",_:"/usr/local/bin/yarn",npm_package_dependencies_express:"^5.1.0",npm_package_dependencies__rails_actioncable:"^6.0.0",npm_package_private:"false",npm_package_devDependencies_ts_jest:"^28.0.8",npm_package_devDependencies__types_testing_library__jest_dom:"^5.14.5",npm_package_devDependencies__types_jest:"^28.1.7",npm_package_module:"./lib/esm/index.js",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure",GOROOT_1_24_X64:"/opt/hostedtoolcache/go/1.24.10/x64",npm_package_resolutions_webpack:"^5.94.0",npm_package_devDependencies__typescript_eslint_eslint_plugin:"^8.44.1",npm_package_scripts_rails_e2e_migrate:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e rails db:migrate",npm_package_scripts_lint:"yarn --cwd ui eslint --ext tsx,.js ./src",npm_config_registry:"https://registry.yarnpkg.com",npm_package_devDependencies__types_actioncable:"^5.2.11",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",GOROOT_1_25_X64:"/opt/hostedtoolcache/go/1.25.4/x64",GITHUB_RUN_ID:"19941143903",npm_package_devDependencies_path_browserify:"^1.0.1",npm_package_devDependencies__babel_core:"^7.0.0",npm_package_workspaces_0:"./ui/webapp",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"dff443ee0cb54f7763d1a15bf8b1034ad9e3a1f6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",npm_package_resolutions__babel_runtime_corejs3:"^7.26.10",npm_package_resolutions_webpack_dev_server:"^5.2.1",npm_package_devDependencies_process:"^0.11.10",npm_package_scripts_test_webapp:"yarn workspace webapp test",npm_package_scripts_start:"yarn watch:importer & yarn watch:shared & yarn webapp & yarn embed",npm_package_workspaces_1:"./ui/fuse-importer",npm_config_ignore_scripts:"",npm_package_devDependencies_html_webpack_plugin:"^5.5.0",npm_package_scripts_build_esm:"tsc",GITHUB_WORKFLOW_REF:"swovohq/fuse/.github/workflows/fuse-staging-package-publish.yml@refs/heads/develop",GITHUB_ACTION_REPOSITORY:"",ENABLE_RUNNER_TRACING:"true",npm_package_resolutions_on_headers:"^1.1.0",npm_package_resolutions_semver:"^7.5.2",npm_package_resolutions__types_react:"18.3.7",npm_package_devDependencies__faker_js_faker:"^7.3.0",npm_package_scripts_watch_shared:"yarn workspace fuse-shared-ui watch",npm_package_dependencies_axios:"^1.12.2",npm_package_workspaces_2:"./ui/fuse-shared-ui",npm_package_scripts_build_umd:"NODE_ENV=production webpack",npm_package_browserslist_development_0:"last 1 chrome version",PATH:"/tmp/yarn--1764876095147-0.2921517592627967:/home/runner/work/fuse/fuse/ui/fuse-importer/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1764876094901-0.948627791670049:/home/runner/work/fuse/fuse/ui/fuse-importer/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1764876094452-0.16353748888524677:/home/runner/work/fuse/fuse/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/fuse/fuse/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",NODE:"/opt/hostedtoolcache/node/22.21.1/x64/bin/node",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_46290c86-ca0c-4a7d-b52c-caabbf2c5910",INVOCATION_ID:"2f50b93a94cc47bbb7ac04fcdf54fa74",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",npm_package_devDependencies__babel_eslint_parser:"^7.28.4",npm_package_husky_hooks_pre_push:"bundle exec rspec && bundle exec rubocop",npm_package_scripts_build_webapp:"yarn build:importer && yarn build:shared && yarn workspace webapp build",npm_package_workspaces_3:"./ui/embed",npm_package_name:"fuse-importer",npm_package_browserslist_development_1:"last 1 firefox version",GITHUB_ACTION:"__run_3",GITHUB_RUN_NUMBER:"142",GITHUB_TRIGGERING_ACTOR:"mikefrederick",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",npm_package_resolutions_serialize_javascript:"^6.0.2",npm_package_devDependencies_pretty_quick:"^4.2.2",npm_package_devDependencies_browserify_zlib:"^0.2.0",npm_package_scripts_heroku_postbuild:"yarn build && yarn deploy",npm_package_scripts_webapp:"yarn workspace webapp start",npm_package_workspaces_4:"./ui/qa-app",npm_package_browserslist_development_2:"last 1 safari version",npm_package_resolutions_express:"^4.20.0",npm_package_devDependencies_prettier_eslint:"^16.4.2",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",npm_package_devDependencies_querystring_es3:"^0.2.1",npm_package_devDependencies_eslint_plugin_json:"^4.0.1",npm_package_devDependencies_eslint:"9.36.0",npm_package_scripts_pretty:"yarn --cwd ui pretty-quick",npm_package_devDependencies_webpack:"^5.38.0",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 1000038405",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"develop",GITHUB_REPOSITORY:"swovohq/fuse",npm_lifecycle_script:"NODE_ENV=production webpack",npm_package_resolutions_ws:"^8.17.1",npm_package_exclude_0:"src/*",npm_package_devDependencies_dotenv:"^16.0.3",npm_package_main:"./lib/main.js",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.3.13750724",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",npm_package_devDependencies__cypress_webpack_preprocessor:"^7.0.1",npm_package_scripts_test:"jest",npm_package_dependencies_body_parser:"^2.2.0",npm_config_version_git_message:"v%s",npm_package_exclude_1:"**/node_modules",npm_package_devDependencies_webpack_dev_server:"^5.2.1",SHELL:"/bin/bash",GITHUB_REPOSITORY_ID:"409345524",GITHUB_ACTIONS:"true",npm_lifecycle_event:"build:umd",npm_package_devDependencies_assert:"^2.1.0",npm_package_husky_hooks_pre_commit:"yarn --cwd ui pretty-quick --staged",npm_package_scripts_cypress_fuse:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress open -C fuse.cypress.config.js --e2e -b chrome",npm_package_scripts_publish_importer:"yarn workspace fuse-importer publish",npm_package_version:"0.40.0",npm_package_dependencies_webpack_cli:"^6.0.1",npm_package_dependencies_turbolinks:"^5.2.0",npm_package_dependencies_exceljs:"^4.4.0",npm_package_devDependencies_jest_environment_jsdom:"^30.2.0",GITHUB_REF_PROTECTED:"true",npm_config_argv:'{"remain":[],"cooked":["run","build:importer"],"original":["build:importer"]}',npm_package_resolutions_nodemailer:"^7.0.7",npm_package_resolutions_esbuild:"^0.25.0",npm_package_resolutions_follow_redirects:"^1.15.11",npm_package_scripts_build:"rm -rf lib && yarn build:umd && yarn build:esm",GITHUB_WORKSPACE:"/home/runner/work/fuse/fuse",ACCEPT_EULA:"Y",GITHUB_JOB:"publish",npm_package_resolutions__babel_helpers:"^7.26.10",npm_package_devDependencies_cypress:"^15.3.0",npm_package_devDependencies__eslint_eslintrc:"^3.3.1",npm_package_scripts_cypress_fuse_importer:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress open -C fuse-importer.cypress.config.js --e2e -b chrome",npm_package_scripts_test_coverage:"yarn test --coverage",GITHUB_SHA:"dff443ee0cb54f7763d1a15bf8b1034ad9e3a1f6",GITHUB_RUN_ATTEMPT:"1",npm_package_resolutions__adobe_css_tools:"^4.3.2",npm_package_resolutions_form_data:"^4.0.4",npm_package_devDependencies_eslint_plugin_testing_library:"^7.10.0",npm_package_scripts_build_importer:"yarn workspace fuse-importer build",npm_config_version_git_tag:"true",npm_config_version_git_sign:"",GITHUB_REF:"refs/heads/develop",GITHUB_ACTOR:"mikefrederick",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_package_resolutions_word_wrap:"^1.2.4",npm_package_devDependencies_globals:"^16.4.0",npm_package_devDependencies_eslint_plugin_react:"^7.37.5",npm_package_scripts_prebuild_staging_importer:"node prebuild-staging-importer.js",npm_config_strict_ssl:"true",npm_package_devDependencies_eslint_plugin_prettier:"^5.5.4",npm_package_devDependencies_eslint_config_react_app:"^7.0.1",npm_package_devDependencies_console_browserify:"^1.2.0",npm_package_dependencies__rails_ujs:"^6.0.0",npm_package_scripts_test_watch:"yarn test --watch",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_969e5083-7291-4f8e-9574-650dda049cec",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/fuse/fuse/ui/fuse-importer",GITHUB_ACTOR_ID:"367261",RUNNER_WORKSPACE:"/home/runner/work/fuse",npm_execpath:"/usr/local/lib/node_modules/yarn/bin/yarn.js",npm_package_resolutions_body_parser:"^1.20.3",npm_package_resolutions_http_proxy_middleware:"^2.0.9",npm_package_resolutions__babel_traverse:"^7.28.4",npm_package_devDependencies_smtp_tester:"2.0.1",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_969e5083-7291-4f8e-9574-650dda049cec",npm_package_dependencies__rails_activestorage:"^6.0.0",EDGEWEBDRIVER:"/usr/local/share/edge_driver",npm_package_resolutions_micromatch:"^4.0.8",npm_package_scripts_rails_e2e:"yarn rails:e2e:migrate && yarn rails:e2e:seed && yarn rails:e2e:server",npm_config_save_prefix:"^",npm_config_ignore_optional:"",npm_package_scripts_watch:"tsc -w",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.3.13750724",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",npm_package_resolutions_vite:"^5.4.20",npm_package_scripts_deploy:"cp -a ui/webapp/build/. public/",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",npm_package_scripts_watch_importer:"yarn workspace fuse-importer watch",NODE_ENV:"production",INIT_CWD:"/home/runner/work/fuse/fuse",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.3.13750724",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_969e5083-7291-4f8e-9574-650dda049cec",npm_package_resolutions_react_error_overlay:"6.0.9",npm_package_dependencies_luxon:"^3.5.0"}.REACT_APP_CYPRESS?"http://localhost:3000":"https://staging-fuse-aws.flatirons.com";return function(){return a(void 0,void 0,void 0,(function(){var e,s;return r(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),[4,fetch("".concat(i,"/api/v1/importer/sessions"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({api_token:n,importer_slug:_,metadata:p})})];case 1:if(!(e=a.sent()).ok)throw new Error("HTTP error! status: ".concat(e.status));return[4,e.json()];case 2:return[2,a.sent().token];case 3:throw s=a.sent(),console.error("Failed to fetch session token:",s),s;case 4:return[2]}}))}))}};if("undefined"==typeof process){window.process={env:{}}}const d=function(){function e(e,_,n){this.dynamicColumns=[],this.customActions=[],this.cleanupIframe=null,this.windowScrollPosition={x:0,y:0};var s={env:"production",zIndex:1e3,batchValidationDelayMs:500};"string"==typeof e?(this.apiToken=e,this.templateSlug=_,this.options=p(p({},s),n)):"object"==typeof e&&null!==e?(this.apiToken=e.apiToken,this.templateSlug=e.templateSlug,this.options=p(p({},s),e.options)):(this.apiToken=void 0,this.templateSlug=void 0,this.options=s),o&&(this.options.host="https://embed-staging.flatirons.com",{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_969e5083-7291-4f8e-9574-650dda049cec",npm_package_scripts_test_fuse_shared_ui:"yarn workspace fuse-shared-ui test",npm_package_devDependencies__types_node:"^12.x",DOTNET_NOLOGO:"1",npm_package_resolutions_path_to_regexp:"^0.1.12",npm_package_devDependencies__babel_traverse:"^7.0.0",npm_package_scripts_cypress_test:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress run",npm_package_scripts_rails_e2e_seed:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e rails db:seed && SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec rake fuse:e2e",USER:"runner",npm_config_version_commit_hooks:"true",npm_config_user_agent:"yarn/1.22.22 npm/? node/v22.21.1 linux x64",npm_config_always_auth:"true",npm_package_devDependencies_webpack_cli:"^4.9.1",npm_package_devDependencies_jest:"^28.1.3",npm_package_devDependencies__testing_library_jest_dom:"^5.16.5",CI:"true",npm_package_devDependencies_buffer:"^6.0.3",npm_config_bin_links:"true",npm_config_wrap_output:"",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_969e5083-7291-4f8e-9574-650dda049cec",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/22.21.1/x64/bin/node",npm_config_init_version:"1.0.0",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_package_files_0:"lib",HOME:"/home/runner",npm_package_resolutions__types_react_dom:"18.3.0",npm_package_devDependencies__typescript_eslint_parser:"^8.44.1",npm_package_devDependencies__eslint_js:"^9.36.0",npm_package_devDependencies_jest_canvas_mock:"^2.5.2",npm_package_scripts_translate:"node ./scripts/translate.js",npm_package_browserslist_production_0:">0.2%",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_resolutions__babel_runtime:"^7.28.4",npm_package_devDependencies_stream_browserify:"^3.0.0",npm_package_devDependencies_eslint_config_prettier:"^10.1.8",npm_package_browserslist_production_1:"not dead",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"swovohq",npm_package_scripts_sidekiq_e2e:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec sidekiq -e e2e -C config/sidekiq.yml",npm_package_scripts_build_embed:"yarn build:shared && yarn workspace embed build",npm_package_engines_node:">=16.0.0",npm_config_init_license:"MIT",npm_package_browserslist_production_2:"not op_mini all",GRADLE_HOME:"/usr/share/gradle-9.2.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/29.0.14206865",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",GITHUB_RETENTION_DAYS:"90",YARN_WRAP_OUTPUT:"false",npm_package_scripts_embed:"yarn workspace embed start",npm_config_version_tag_prefix:"v",npm_package_devDependencies_terser_webpack_plugin:"^5.1.2",GITHUB_REPOSITORY_OWNER_ID:"42946404",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_package_devDependencies_util:"^0.12.5",npm_package_scripts_lint_fix:"yarn --cwd ui eslint --fix",npm_package_dependencies_webpack:"^5.101.3",npm_config_userconfig:"/home/runner/work/_temp/.npmrc",SYSTEMD_EXEC_PID:"1743",npm_package_resolutions_tmp:"^0.2.5",npm_package_resolutions_brace_expansion:"^1.1.12",npm_package_devDependencies_husky:"^4.3.0",npm_package_devDependencies_eslint_plugin_react_hooks:"^6.1.0",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",npm_package_description:"Flatirons Fuse is a customizable and powerful CSV Importer that works with all front-end languages",npm_package_devDependencies_babel_loader:"^10.0.0",npm_package_devDependencies_typescript:"^4.3.2",JAVA_HOME_25_X64:"/usr/lib/jvm/temurin-25-jdk-amd64",NVM_DIR:"/home/runner/.nvm",npm_package_readmeFilename:"README.md",npm_package_devDependencies_cypress_real_events:"^1.11.0",npm_package_scripts_rails_e2e_server:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec rails s --port 3001",npm_package_scripts_build_shared:"yarn workspace fuse-shared-ui build",npm_package_dependencies_xlsx:"^0.18.5",npm_package_types:"./lib/esm/index.d.ts",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20251126.144.1",npm_package_devDependencies_prettier:"^3.6.2",npm_package_devDependencies_ts_loader:"^9.2.2",npm_package_scripts_dev:"webpack-dev-server --open --watch-files src",LOGNAME:"runner",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.12/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",npm_package_devDependencies_eslint_plugin_import:"^2.32.0",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.12/x64",JOURNAL_STREAM:"9:13177",GITHUB_WORKFLOW:"Push to NPM with Staging Tag",_:"/usr/local/bin/yarn",npm_package_dependencies_express:"^5.1.0",npm_package_dependencies__rails_actioncable:"^6.0.0",npm_package_private:"false",npm_package_devDependencies_ts_jest:"^28.0.8",npm_package_devDependencies__types_testing_library__jest_dom:"^5.14.5",npm_package_devDependencies__types_jest:"^28.1.7",npm_package_module:"./lib/esm/index.js",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure",GOROOT_1_24_X64:"/opt/hostedtoolcache/go/1.24.10/x64",npm_package_resolutions_webpack:"^5.94.0",npm_package_devDependencies__typescript_eslint_eslint_plugin:"^8.44.1",npm_package_scripts_rails_e2e_migrate:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e rails db:migrate",npm_package_scripts_lint:"yarn --cwd ui eslint --ext tsx,.js ./src",npm_config_registry:"https://registry.yarnpkg.com",npm_package_devDependencies__types_actioncable:"^5.2.11",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",GOROOT_1_25_X64:"/opt/hostedtoolcache/go/1.25.4/x64",GITHUB_RUN_ID:"19941143903",npm_package_devDependencies_path_browserify:"^1.0.1",npm_package_devDependencies__babel_core:"^7.0.0",npm_package_workspaces_0:"./ui/webapp",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"dff443ee0cb54f7763d1a15bf8b1034ad9e3a1f6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",npm_package_resolutions__babel_runtime_corejs3:"^7.26.10",npm_package_resolutions_webpack_dev_server:"^5.2.1",npm_package_devDependencies_process:"^0.11.10",npm_package_scripts_test_webapp:"yarn workspace webapp test",npm_package_scripts_start:"yarn watch:importer & yarn watch:shared & yarn webapp & yarn embed",npm_package_workspaces_1:"./ui/fuse-importer",npm_config_ignore_scripts:"",npm_package_devDependencies_html_webpack_plugin:"^5.5.0",npm_package_scripts_build_esm:"tsc",GITHUB_WORKFLOW_REF:"swovohq/fuse/.github/workflows/fuse-staging-package-publish.yml@refs/heads/develop",GITHUB_ACTION_REPOSITORY:"",ENABLE_RUNNER_TRACING:"true",npm_package_resolutions_on_headers:"^1.1.0",npm_package_resolutions_semver:"^7.5.2",npm_package_resolutions__types_react:"18.3.7",npm_package_devDependencies__faker_js_faker:"^7.3.0",npm_package_scripts_watch_shared:"yarn workspace fuse-shared-ui watch",npm_package_dependencies_axios:"^1.12.2",npm_package_workspaces_2:"./ui/fuse-shared-ui",npm_package_scripts_build_umd:"NODE_ENV=production webpack",npm_package_browserslist_development_0:"last 1 chrome version",PATH:"/tmp/yarn--1764876095147-0.2921517592627967:/home/runner/work/fuse/fuse/ui/fuse-importer/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1764876094901-0.948627791670049:/home/runner/work/fuse/fuse/ui/fuse-importer/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1764876094452-0.16353748888524677:/home/runner/work/fuse/fuse/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/fuse/fuse/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",NODE:"/opt/hostedtoolcache/node/22.21.1/x64/bin/node",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_46290c86-ca0c-4a7d-b52c-caabbf2c5910",INVOCATION_ID:"2f50b93a94cc47bbb7ac04fcdf54fa74",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",npm_package_devDependencies__babel_eslint_parser:"^7.28.4",npm_package_husky_hooks_pre_push:"bundle exec rspec && bundle exec rubocop",npm_package_scripts_build_webapp:"yarn build:importer && yarn build:shared && yarn workspace webapp build",npm_package_workspaces_3:"./ui/embed",npm_package_name:"fuse-importer",npm_package_browserslist_development_1:"last 1 firefox version",GITHUB_ACTION:"__run_3",GITHUB_RUN_NUMBER:"142",GITHUB_TRIGGERING_ACTOR:"mikefrederick",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",npm_package_resolutions_serialize_javascript:"^6.0.2",npm_package_devDependencies_pretty_quick:"^4.2.2",npm_package_devDependencies_browserify_zlib:"^0.2.0",npm_package_scripts_heroku_postbuild:"yarn build && yarn deploy",npm_package_scripts_webapp:"yarn workspace webapp start",npm_package_workspaces_4:"./ui/qa-app",npm_package_browserslist_development_2:"last 1 safari version",npm_package_resolutions_express:"^4.20.0",npm_package_devDependencies_prettier_eslint:"^16.4.2",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",npm_package_devDependencies_querystring_es3:"^0.2.1",npm_package_devDependencies_eslint_plugin_json:"^4.0.1",npm_package_devDependencies_eslint:"9.36.0",npm_package_scripts_pretty:"yarn --cwd ui pretty-quick",npm_package_devDependencies_webpack:"^5.38.0",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 1000038405",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"develop",GITHUB_REPOSITORY:"swovohq/fuse",npm_lifecycle_script:"NODE_ENV=production webpack",npm_package_resolutions_ws:"^8.17.1",npm_package_exclude_0:"src/*",npm_package_devDependencies_dotenv:"^16.0.3",npm_package_main:"./lib/main.js",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.3.13750724",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",npm_package_devDependencies__cypress_webpack_preprocessor:"^7.0.1",npm_package_scripts_test:"jest",npm_package_dependencies_body_parser:"^2.2.0",npm_config_version_git_message:"v%s",npm_package_exclude_1:"**/node_modules",npm_package_devDependencies_webpack_dev_server:"^5.2.1",SHELL:"/bin/bash",GITHUB_REPOSITORY_ID:"409345524",GITHUB_ACTIONS:"true",npm_lifecycle_event:"build:umd",npm_package_devDependencies_assert:"^2.1.0",npm_package_husky_hooks_pre_commit:"yarn --cwd ui pretty-quick --staged",npm_package_scripts_cypress_fuse:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress open -C fuse.cypress.config.js --e2e -b chrome",npm_package_scripts_publish_importer:"yarn workspace fuse-importer publish",npm_package_version:"0.40.0",npm_package_dependencies_webpack_cli:"^6.0.1",npm_package_dependencies_turbolinks:"^5.2.0",npm_package_dependencies_exceljs:"^4.4.0",npm_package_devDependencies_jest_environment_jsdom:"^30.2.0",GITHUB_REF_PROTECTED:"true",npm_config_argv:'{"remain":[],"cooked":["run","build:importer"],"original":["build:importer"]}',npm_package_resolutions_nodemailer:"^7.0.7",npm_package_resolutions_esbuild:"^0.25.0",npm_package_resolutions_follow_redirects:"^1.15.11",npm_package_scripts_build:"rm -rf lib && yarn build:umd && yarn build:esm",GITHUB_WORKSPACE:"/home/runner/work/fuse/fuse",ACCEPT_EULA:"Y",GITHUB_JOB:"publish",npm_package_resolutions__babel_helpers:"^7.26.10",npm_package_devDependencies_cypress:"^15.3.0",npm_package_devDependencies__eslint_eslintrc:"^3.3.1",npm_package_scripts_cypress_fuse_importer:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress open -C fuse-importer.cypress.config.js --e2e -b chrome",npm_package_scripts_test_coverage:"yarn test --coverage",GITHUB_SHA:"dff443ee0cb54f7763d1a15bf8b1034ad9e3a1f6",GITHUB_RUN_ATTEMPT:"1",npm_package_resolutions__adobe_css_tools:"^4.3.2",npm_package_resolutions_form_data:"^4.0.4",npm_package_devDependencies_eslint_plugin_testing_library:"^7.10.0",npm_package_scripts_build_importer:"yarn workspace fuse-importer build",npm_config_version_git_tag:"true",npm_config_version_git_sign:"",GITHUB_REF:"refs/heads/develop",GITHUB_ACTOR:"mikefrederick",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_package_resolutions_word_wrap:"^1.2.4",npm_package_devDependencies_globals:"^16.4.0",npm_package_devDependencies_eslint_plugin_react:"^7.37.5",npm_package_scripts_prebuild_staging_importer:"node prebuild-staging-importer.js",npm_config_strict_ssl:"true",npm_package_devDependencies_eslint_plugin_prettier:"^5.5.4",npm_package_devDependencies_eslint_config_react_app:"^7.0.1",npm_package_devDependencies_console_browserify:"^1.2.0",npm_package_dependencies__rails_ujs:"^6.0.0",npm_package_scripts_test_watch:"yarn test --watch",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_969e5083-7291-4f8e-9574-650dda049cec",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/fuse/fuse/ui/fuse-importer",GITHUB_ACTOR_ID:"367261",RUNNER_WORKSPACE:"/home/runner/work/fuse",npm_execpath:"/usr/local/lib/node_modules/yarn/bin/yarn.js",npm_package_resolutions_body_parser:"^1.20.3",npm_package_resolutions_http_proxy_middleware:"^2.0.9",npm_package_resolutions__babel_traverse:"^7.28.4",npm_package_devDependencies_smtp_tester:"2.0.1",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_969e5083-7291-4f8e-9574-650dda049cec",npm_package_dependencies__rails_activestorage:"^6.0.0",EDGEWEBDRIVER:"/usr/local/share/edge_driver",npm_package_resolutions_micromatch:"^4.0.8",npm_package_scripts_rails_e2e:"yarn rails:e2e:migrate && yarn rails:e2e:seed && yarn rails:e2e:server",npm_config_save_prefix:"^",npm_config_ignore_optional:"",npm_package_scripts_watch:"tsc -w",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.3.13750724",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",npm_package_resolutions_vite:"^5.4.20",npm_package_scripts_deploy:"cp -a ui/webapp/build/. public/",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",npm_package_scripts_watch_importer:"yarn workspace fuse-importer watch",NODE_ENV:"production",INIT_CWD:"/home/runner/work/fuse/fuse",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.3.13750724",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_969e5083-7291-4f8e-9574-650dda049cec",npm_package_resolutions_react_error_overlay:"6.0.9",npm_package_dependencies_luxon:"^3.5.0"}.REACT_APP_IMPORTER_HOST&&(this.options.host={GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_969e5083-7291-4f8e-9574-650dda049cec",npm_package_scripts_test_fuse_shared_ui:"yarn workspace fuse-shared-ui test",npm_package_devDependencies__types_node:"^12.x",DOTNET_NOLOGO:"1",npm_package_resolutions_path_to_regexp:"^0.1.12",npm_package_devDependencies__babel_traverse:"^7.0.0",npm_package_scripts_cypress_test:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress run",npm_package_scripts_rails_e2e_seed:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e rails db:seed && SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec rake fuse:e2e",USER:"runner",npm_config_version_commit_hooks:"true",npm_config_user_agent:"yarn/1.22.22 npm/? node/v22.21.1 linux x64",npm_config_always_auth:"true",npm_package_devDependencies_webpack_cli:"^4.9.1",npm_package_devDependencies_jest:"^28.1.3",npm_package_devDependencies__testing_library_jest_dom:"^5.16.5",CI:"true",npm_package_devDependencies_buffer:"^6.0.3",npm_config_bin_links:"true",npm_config_wrap_output:"",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_969e5083-7291-4f8e-9574-650dda049cec",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/22.21.1/x64/bin/node",npm_config_init_version:"1.0.0",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_package_files_0:"lib",HOME:"/home/runner",npm_package_resolutions__types_react_dom:"18.3.0",npm_package_devDependencies__typescript_eslint_parser:"^8.44.1",npm_package_devDependencies__eslint_js:"^9.36.0",npm_package_devDependencies_jest_canvas_mock:"^2.5.2",npm_package_scripts_translate:"node ./scripts/translate.js",npm_package_browserslist_production_0:">0.2%",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_resolutions__babel_runtime:"^7.28.4",npm_package_devDependencies_stream_browserify:"^3.0.0",npm_package_devDependencies_eslint_config_prettier:"^10.1.8",npm_package_browserslist_production_1:"not dead",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"swovohq",npm_package_scripts_sidekiq_e2e:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec sidekiq -e e2e -C config/sidekiq.yml",npm_package_scripts_build_embed:"yarn build:shared && yarn workspace embed build",npm_package_engines_node:">=16.0.0",npm_config_init_license:"MIT",npm_package_browserslist_production_2:"not op_mini all",GRADLE_HOME:"/usr/share/gradle-9.2.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/29.0.14206865",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",GITHUB_RETENTION_DAYS:"90",YARN_WRAP_OUTPUT:"false",npm_package_scripts_embed:"yarn workspace embed start",npm_config_version_tag_prefix:"v",npm_package_devDependencies_terser_webpack_plugin:"^5.1.2",GITHUB_REPOSITORY_OWNER_ID:"42946404",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_package_devDependencies_util:"^0.12.5",npm_package_scripts_lint_fix:"yarn --cwd ui eslint --fix",npm_package_dependencies_webpack:"^5.101.3",npm_config_userconfig:"/home/runner/work/_temp/.npmrc",SYSTEMD_EXEC_PID:"1743",npm_package_resolutions_tmp:"^0.2.5",npm_package_resolutions_brace_expansion:"^1.1.12",npm_package_devDependencies_husky:"^4.3.0",npm_package_devDependencies_eslint_plugin_react_hooks:"^6.1.0",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",npm_package_description:"Flatirons Fuse is a customizable and powerful CSV Importer that works with all front-end languages",npm_package_devDependencies_babel_loader:"^10.0.0",npm_package_devDependencies_typescript:"^4.3.2",JAVA_HOME_25_X64:"/usr/lib/jvm/temurin-25-jdk-amd64",NVM_DIR:"/home/runner/.nvm",npm_package_readmeFilename:"README.md",npm_package_devDependencies_cypress_real_events:"^1.11.0",npm_package_scripts_rails_e2e_server:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec rails s --port 3001",npm_package_scripts_build_shared:"yarn workspace fuse-shared-ui build",npm_package_dependencies_xlsx:"^0.18.5",npm_package_types:"./lib/esm/index.d.ts",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20251126.144.1",npm_package_devDependencies_prettier:"^3.6.2",npm_package_devDependencies_ts_loader:"^9.2.2",npm_package_scripts_dev:"webpack-dev-server --open --watch-files src",LOGNAME:"runner",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.12/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",npm_package_devDependencies_eslint_plugin_import:"^2.32.0",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.12/x64",JOURNAL_STREAM:"9:13177",GITHUB_WORKFLOW:"Push to NPM with Staging Tag",_:"/usr/local/bin/yarn",npm_package_dependencies_express:"^5.1.0",npm_package_dependencies__rails_actioncable:"^6.0.0",npm_package_private:"false",npm_package_devDependencies_ts_jest:"^28.0.8",npm_package_devDependencies__types_testing_library__jest_dom:"^5.14.5",npm_package_devDependencies__types_jest:"^28.1.7",npm_package_module:"./lib/esm/index.js",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure",GOROOT_1_24_X64:"/opt/hostedtoolcache/go/1.24.10/x64",npm_package_resolutions_webpack:"^5.94.0",npm_package_devDependencies__typescript_eslint_eslint_plugin:"^8.44.1",npm_package_scripts_rails_e2e_migrate:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e rails db:migrate",npm_package_scripts_lint:"yarn --cwd ui eslint --ext tsx,.js ./src",npm_config_registry:"https://registry.yarnpkg.com",npm_package_devDependencies__types_actioncable:"^5.2.11",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",GOROOT_1_25_X64:"/opt/hostedtoolcache/go/1.25.4/x64",GITHUB_RUN_ID:"19941143903",npm_package_devDependencies_path_browserify:"^1.0.1",npm_package_devDependencies__babel_core:"^7.0.0",npm_package_workspaces_0:"./ui/webapp",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"dff443ee0cb54f7763d1a15bf8b1034ad9e3a1f6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",npm_package_resolutions__babel_runtime_corejs3:"^7.26.10",npm_package_resolutions_webpack_dev_server:"^5.2.1",npm_package_devDependencies_process:"^0.11.10",npm_package_scripts_test_webapp:"yarn workspace webapp test",npm_package_scripts_start:"yarn watch:importer & yarn watch:shared & yarn webapp & yarn embed",npm_package_workspaces_1:"./ui/fuse-importer",npm_config_ignore_scripts:"",npm_package_devDependencies_html_webpack_plugin:"^5.5.0",npm_package_scripts_build_esm:"tsc",GITHUB_WORKFLOW_REF:"swovohq/fuse/.github/workflows/fuse-staging-package-publish.yml@refs/heads/develop",GITHUB_ACTION_REPOSITORY:"",ENABLE_RUNNER_TRACING:"true",npm_package_resolutions_on_headers:"^1.1.0",npm_package_resolutions_semver:"^7.5.2",npm_package_resolutions__types_react:"18.3.7",npm_package_devDependencies__faker_js_faker:"^7.3.0",npm_package_scripts_watch_shared:"yarn workspace fuse-shared-ui watch",npm_package_dependencies_axios:"^1.12.2",npm_package_workspaces_2:"./ui/fuse-shared-ui",npm_package_scripts_build_umd:"NODE_ENV=production webpack",npm_package_browserslist_development_0:"last 1 chrome version",PATH:"/tmp/yarn--1764876095147-0.2921517592627967:/home/runner/work/fuse/fuse/ui/fuse-importer/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1764876094901-0.948627791670049:/home/runner/work/fuse/fuse/ui/fuse-importer/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1764876094452-0.16353748888524677:/home/runner/work/fuse/fuse/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/fuse/fuse/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",NODE:"/opt/hostedtoolcache/node/22.21.1/x64/bin/node",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_46290c86-ca0c-4a7d-b52c-caabbf2c5910",INVOCATION_ID:"2f50b93a94cc47bbb7ac04fcdf54fa74",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",npm_package_devDependencies__babel_eslint_parser:"^7.28.4",npm_package_husky_hooks_pre_push:"bundle exec rspec && bundle exec rubocop",npm_package_scripts_build_webapp:"yarn build:importer && yarn build:shared && yarn workspace webapp build",npm_package_workspaces_3:"./ui/embed",npm_package_name:"fuse-importer",npm_package_browserslist_development_1:"last 1 firefox version",GITHUB_ACTION:"__run_3",GITHUB_RUN_NUMBER:"142",GITHUB_TRIGGERING_ACTOR:"mikefrederick",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",npm_package_resolutions_serialize_javascript:"^6.0.2",npm_package_devDependencies_pretty_quick:"^4.2.2",npm_package_devDependencies_browserify_zlib:"^0.2.0",npm_package_scripts_heroku_postbuild:"yarn build && yarn deploy",npm_package_scripts_webapp:"yarn workspace webapp start",npm_package_workspaces_4:"./ui/qa-app",npm_package_browserslist_development_2:"last 1 safari version",npm_package_resolutions_express:"^4.20.0",npm_package_devDependencies_prettier_eslint:"^16.4.2",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",npm_package_devDependencies_querystring_es3:"^0.2.1",npm_package_devDependencies_eslint_plugin_json:"^4.0.1",npm_package_devDependencies_eslint:"9.36.0",npm_package_scripts_pretty:"yarn --cwd ui pretty-quick",npm_package_devDependencies_webpack:"^5.38.0",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 1000038405",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"develop",GITHUB_REPOSITORY:"swovohq/fuse",npm_lifecycle_script:"NODE_ENV=production webpack",npm_package_resolutions_ws:"^8.17.1",npm_package_exclude_0:"src/*",npm_package_devDependencies_dotenv:"^16.0.3",npm_package_main:"./lib/main.js",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.3.13750724",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",npm_package_devDependencies__cypress_webpack_preprocessor:"^7.0.1",npm_package_scripts_test:"jest",npm_package_dependencies_body_parser:"^2.2.0",npm_config_version_git_message:"v%s",npm_package_exclude_1:"**/node_modules",npm_package_devDependencies_webpack_dev_server:"^5.2.1",SHELL:"/bin/bash",GITHUB_REPOSITORY_ID:"409345524",GITHUB_ACTIONS:"true",npm_lifecycle_event:"build:umd",npm_package_devDependencies_assert:"^2.1.0",npm_package_husky_hooks_pre_commit:"yarn --cwd ui pretty-quick --staged",npm_package_scripts_cypress_fuse:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress open -C fuse.cypress.config.js --e2e -b chrome",npm_package_scripts_publish_importer:"yarn workspace fuse-importer publish",npm_package_version:"0.40.0",npm_package_dependencies_webpack_cli:"^6.0.1",npm_package_dependencies_turbolinks:"^5.2.0",npm_package_dependencies_exceljs:"^4.4.0",npm_package_devDependencies_jest_environment_jsdom:"^30.2.0",GITHUB_REF_PROTECTED:"true",npm_config_argv:'{"remain":[],"cooked":["run","build:importer"],"original":["build:importer"]}',npm_package_resolutions_nodemailer:"^7.0.7",npm_package_resolutions_esbuild:"^0.25.0",npm_package_resolutions_follow_redirects:"^1.15.11",npm_package_scripts_build:"rm -rf lib && yarn build:umd && yarn build:esm",GITHUB_WORKSPACE:"/home/runner/work/fuse/fuse",ACCEPT_EULA:"Y",GITHUB_JOB:"publish",npm_package_resolutions__babel_helpers:"^7.26.10",npm_package_devDependencies_cypress:"^15.3.0",npm_package_devDependencies__eslint_eslintrc:"^3.3.1",npm_package_scripts_cypress_fuse_importer:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress open -C fuse-importer.cypress.config.js --e2e -b chrome",npm_package_scripts_test_coverage:"yarn test --coverage",GITHUB_SHA:"dff443ee0cb54f7763d1a15bf8b1034ad9e3a1f6",GITHUB_RUN_ATTEMPT:"1",npm_package_resolutions__adobe_css_tools:"^4.3.2",npm_package_resolutions_form_data:"^4.0.4",npm_package_devDependencies_eslint_plugin_testing_library:"^7.10.0",npm_package_scripts_build_importer:"yarn workspace fuse-importer build",npm_config_version_git_tag:"true",npm_config_version_git_sign:"",GITHUB_REF:"refs/heads/develop",GITHUB_ACTOR:"mikefrederick",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_package_resolutions_word_wrap:"^1.2.4",npm_package_devDependencies_globals:"^16.4.0",npm_package_devDependencies_eslint_plugin_react:"^7.37.5",npm_package_scripts_prebuild_staging_importer:"node prebuild-staging-importer.js",npm_config_strict_ssl:"true",npm_package_devDependencies_eslint_plugin_prettier:"^5.5.4",npm_package_devDependencies_eslint_config_react_app:"^7.0.1",npm_package_devDependencies_console_browserify:"^1.2.0",npm_package_dependencies__rails_ujs:"^6.0.0",npm_package_scripts_test_watch:"yarn test --watch",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_969e5083-7291-4f8e-9574-650dda049cec",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/fuse/fuse/ui/fuse-importer",GITHUB_ACTOR_ID:"367261",RUNNER_WORKSPACE:"/home/runner/work/fuse",npm_execpath:"/usr/local/lib/node_modules/yarn/bin/yarn.js",npm_package_resolutions_body_parser:"^1.20.3",npm_package_resolutions_http_proxy_middleware:"^2.0.9",npm_package_resolutions__babel_traverse:"^7.28.4",npm_package_devDependencies_smtp_tester:"2.0.1",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_969e5083-7291-4f8e-9574-650dda049cec",npm_package_dependencies__rails_activestorage:"^6.0.0",EDGEWEBDRIVER:"/usr/local/share/edge_driver",npm_package_resolutions_micromatch:"^4.0.8",npm_package_scripts_rails_e2e:"yarn rails:e2e:migrate && yarn rails:e2e:seed && yarn rails:e2e:server",npm_config_save_prefix:"^",npm_config_ignore_optional:"",npm_package_scripts_watch:"tsc -w",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.3.13750724",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",npm_package_resolutions_vite:"^5.4.20",npm_package_scripts_deploy:"cp -a ui/webapp/build/. public/",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",npm_package_scripts_watch_importer:"yarn workspace fuse-importer watch",NODE_ENV:"production",INIT_CWD:"/home/runner/work/fuse/fuse",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.3.13750724",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_969e5083-7291-4f8e-9574-650dda049cec",npm_package_resolutions_react_error_overlay:"6.0.9",npm_package_dependencies_luxon:"^3.5.0"}.REACT_APP_IMPORTER_HOST),{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_969e5083-7291-4f8e-9574-650dda049cec",npm_package_scripts_test_fuse_shared_ui:"yarn workspace fuse-shared-ui test",npm_package_devDependencies__types_node:"^12.x",DOTNET_NOLOGO:"1",npm_package_resolutions_path_to_regexp:"^0.1.12",npm_package_devDependencies__babel_traverse:"^7.0.0",npm_package_scripts_cypress_test:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress run",npm_package_scripts_rails_e2e_seed:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e rails db:seed && SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec rake fuse:e2e",USER:"runner",npm_config_version_commit_hooks:"true",npm_config_user_agent:"yarn/1.22.22 npm/? node/v22.21.1 linux x64",npm_config_always_auth:"true",npm_package_devDependencies_webpack_cli:"^4.9.1",npm_package_devDependencies_jest:"^28.1.3",npm_package_devDependencies__testing_library_jest_dom:"^5.16.5",CI:"true",npm_package_devDependencies_buffer:"^6.0.3",npm_config_bin_links:"true",npm_config_wrap_output:"",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_969e5083-7291-4f8e-9574-650dda049cec",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/22.21.1/x64/bin/node",npm_config_init_version:"1.0.0",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_package_files_0:"lib",HOME:"/home/runner",npm_package_resolutions__types_react_dom:"18.3.0",npm_package_devDependencies__typescript_eslint_parser:"^8.44.1",npm_package_devDependencies__eslint_js:"^9.36.0",npm_package_devDependencies_jest_canvas_mock:"^2.5.2",npm_package_scripts_translate:"node ./scripts/translate.js",npm_package_browserslist_production_0:">0.2%",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_resolutions__babel_runtime:"^7.28.4",npm_package_devDependencies_stream_browserify:"^3.0.0",npm_package_devDependencies_eslint_config_prettier:"^10.1.8",npm_package_browserslist_production_1:"not dead",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"swovohq",npm_package_scripts_sidekiq_e2e:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec sidekiq -e e2e -C config/sidekiq.yml",npm_package_scripts_build_embed:"yarn build:shared && yarn workspace embed build",npm_package_engines_node:">=16.0.0",npm_config_init_license:"MIT",npm_package_browserslist_production_2:"not op_mini all",GRADLE_HOME:"/usr/share/gradle-9.2.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/29.0.14206865",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",GITHUB_RETENTION_DAYS:"90",YARN_WRAP_OUTPUT:"false",npm_package_scripts_embed:"yarn workspace embed start",npm_config_version_tag_prefix:"v",npm_package_devDependencies_terser_webpack_plugin:"^5.1.2",GITHUB_REPOSITORY_OWNER_ID:"42946404",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_package_devDependencies_util:"^0.12.5",npm_package_scripts_lint_fix:"yarn --cwd ui eslint --fix",npm_package_dependencies_webpack:"^5.101.3",npm_config_userconfig:"/home/runner/work/_temp/.npmrc",SYSTEMD_EXEC_PID:"1743",npm_package_resolutions_tmp:"^0.2.5",npm_package_resolutions_brace_expansion:"^1.1.12",npm_package_devDependencies_husky:"^4.3.0",npm_package_devDependencies_eslint_plugin_react_hooks:"^6.1.0",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",npm_package_description:"Flatirons Fuse is a customizable and powerful CSV Importer that works with all front-end languages",npm_package_devDependencies_babel_loader:"^10.0.0",npm_package_devDependencies_typescript:"^4.3.2",JAVA_HOME_25_X64:"/usr/lib/jvm/temurin-25-jdk-amd64",NVM_DIR:"/home/runner/.nvm",npm_package_readmeFilename:"README.md",npm_package_devDependencies_cypress_real_events:"^1.11.0",npm_package_scripts_rails_e2e_server:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e bundle exec rails s --port 3001",npm_package_scripts_build_shared:"yarn workspace fuse-shared-ui build",npm_package_dependencies_xlsx:"^0.18.5",npm_package_types:"./lib/esm/index.d.ts",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20251126.144.1",npm_package_devDependencies_prettier:"^3.6.2",npm_package_devDependencies_ts_loader:"^9.2.2",npm_package_scripts_dev:"webpack-dev-server --open --watch-files src",LOGNAME:"runner",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.12/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",npm_package_devDependencies_eslint_plugin_import:"^2.32.0",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.12/x64",JOURNAL_STREAM:"9:13177",GITHUB_WORKFLOW:"Push to NPM with Staging Tag",_:"/usr/local/bin/yarn",npm_package_dependencies_express:"^5.1.0",npm_package_dependencies__rails_actioncable:"^6.0.0",npm_package_private:"false",npm_package_devDependencies_ts_jest:"^28.0.8",npm_package_devDependencies__types_testing_library__jest_dom:"^5.14.5",npm_package_devDependencies__types_jest:"^28.1.7",npm_package_module:"./lib/esm/index.js",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure",GOROOT_1_24_X64:"/opt/hostedtoolcache/go/1.24.10/x64",npm_package_resolutions_webpack:"^5.94.0",npm_package_devDependencies__typescript_eslint_eslint_plugin:"^8.44.1",npm_package_scripts_rails_e2e_migrate:"SECRET_KEY_BASE=e2e RAILS_ENV=e2e rails db:migrate",npm_package_scripts_lint:"yarn --cwd ui eslint --ext tsx,.js ./src",npm_config_registry:"https://registry.yarnpkg.com",npm_package_devDependencies__types_actioncable:"^5.2.11",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",GOROOT_1_25_X64:"/opt/hostedtoolcache/go/1.25.4/x64",GITHUB_RUN_ID:"19941143903",npm_package_devDependencies_path_browserify:"^1.0.1",npm_package_devDependencies__babel_core:"^7.0.0",npm_package_workspaces_0:"./ui/webapp",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"dff443ee0cb54f7763d1a15bf8b1034ad9e3a1f6",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",npm_package_resolutions__babel_runtime_corejs3:"^7.26.10",npm_package_resolutions_webpack_dev_server:"^5.2.1",npm_package_devDependencies_process:"^0.11.10",npm_package_scripts_test_webapp:"yarn workspace webapp test",npm_package_scripts_start:"yarn watch:importer & yarn watch:shared & yarn webapp & yarn embed",npm_package_workspaces_1:"./ui/fuse-importer",npm_config_ignore_scripts:"",npm_package_devDependencies_html_webpack_plugin:"^5.5.0",npm_package_scripts_build_esm:"tsc",GITHUB_WORKFLOW_REF:"swovohq/fuse/.github/workflows/fuse-staging-package-publish.yml@refs/heads/develop",GITHUB_ACTION_REPOSITORY:"",ENABLE_RUNNER_TRACING:"true",npm_package_resolutions_on_headers:"^1.1.0",npm_package_resolutions_semver:"^7.5.2",npm_package_resolutions__types_react:"18.3.7",npm_package_devDependencies__faker_js_faker:"^7.3.0",npm_package_scripts_watch_shared:"yarn workspace fuse-shared-ui watch",npm_package_dependencies_axios:"^1.12.2",npm_package_workspaces_2:"./ui/fuse-shared-ui",npm_package_scripts_build_umd:"NODE_ENV=production webpack",npm_package_browserslist_development_0:"last 1 chrome version",PATH:"/tmp/yarn--1764876095147-0.2921517592627967:/home/runner/work/fuse/fuse/ui/fuse-importer/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1764876094901-0.948627791670049:/home/runner/work/fuse/fuse/ui/fuse-importer/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1764876094452-0.16353748888524677:/home/runner/work/fuse/fuse/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/fuse/fuse/node_modules/.bin:/opt/hostedtoolcache/node/22.21.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.21.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",NODE:"/opt/hostedtoolcache/node/22.21.1/x64/bin/node",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_46290c86-ca0c-4a7d-b52c-caabbf2c5910",INVOCATION_ID:"2f50b93a94cc47bbb7ac04fcdf54fa74",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",npm_package_devDependencies__babel_eslint_parser:"^7.28.4",npm_package_husky_hooks_pre_push:"bundle exec rspec && bundle exec rubocop",npm_package_scripts_build_webapp:"yarn build:importer && yarn build:shared && yarn workspace webapp build",npm_package_workspaces_3:"./ui/embed",npm_package_name:"fuse-importer",npm_package_browserslist_development_1:"last 1 firefox version",GITHUB_ACTION:"__run_3",GITHUB_RUN_NUMBER:"142",GITHUB_TRIGGERING_ACTOR:"mikefrederick",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",npm_package_resolutions_serialize_javascript:"^6.0.2",npm_package_devDependencies_pretty_quick:"^4.2.2",npm_package_devDependencies_browserify_zlib:"^0.2.0",npm_package_scripts_heroku_postbuild:"yarn build && yarn deploy",npm_package_scripts_webapp:"yarn workspace webapp start",npm_package_workspaces_4:"./ui/qa-app",npm_package_browserslist_development_2:"last 1 safari version",npm_package_resolutions_express:"^4.20.0",npm_package_devDependencies_prettier_eslint:"^16.4.2",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",npm_package_devDependencies_querystring_es3:"^0.2.1",npm_package_devDependencies_eslint_plugin_json:"^4.0.1",npm_package_devDependencies_eslint:"9.36.0",npm_package_scripts_pretty:"yarn --cwd ui pretty-quick",npm_package_devDependencies_webpack:"^5.38.0",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 1000038405",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"develop",GITHUB_REPOSITORY:"swovohq/fuse",npm_lifecycle_script:"NODE_ENV=production webpack",npm_package_resolutions_ws:"^8.17.1",npm_package_exclude_0:"src/*",npm_package_devDependencies_dotenv:"^16.0.3",npm_package_main:"./lib/main.js",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.3.13750724",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",npm_package_devDependencies__cypress_webpack_preprocessor:"^7.0.1",npm_package_scripts_test:"jest",npm_package_dependencies_body_parser:"^2.2.0",npm_config_version_git_message:"v%s",npm_package_exclude_1:"**/node_modules",npm_package_devDependencies_webpack_dev_server:"^5.2.1",SHELL:"/bin/bash",GITHUB_REPOSITORY_ID:"409345524",GITHUB_ACTIONS:"true",npm_lifecycle_event:"build:umd",npm_package_devDependencies_assert:"^2.1.0",npm_package_husky_hooks_pre_commit:"yarn --cwd ui pretty-quick --staged",npm_package_scripts_cypress_fuse:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress open -C fuse.cypress.config.js --e2e -b chrome",npm_package_scripts_publish_importer:"yarn workspace fuse-importer publish",npm_package_version:"0.40.0",npm_package_dependencies_webpack_cli:"^6.0.1",npm_package_dependencies_turbolinks:"^5.2.0",npm_package_dependencies_exceljs:"^4.4.0",npm_package_devDependencies_jest_environment_jsdom:"^30.2.0",GITHUB_REF_PROTECTED:"true",npm_config_argv:'{"remain":[],"cooked":["run","build:importer"],"original":["build:importer"]}',npm_package_resolutions_nodemailer:"^7.0.7",npm_package_resolutions_esbuild:"^0.25.0",npm_package_resolutions_follow_redirects:"^1.15.11",npm_package_scripts_build:"rm -rf lib && yarn build:umd && yarn build:esm",GITHUB_WORKSPACE:"/home/runner/work/fuse/fuse",ACCEPT_EULA:"Y",GITHUB_JOB:"publish",npm_package_resolutions__babel_helpers:"^7.26.10",npm_package_devDependencies_cypress:"^15.3.0",npm_package_devDependencies__eslint_eslintrc:"^3.3.1",npm_package_scripts_cypress_fuse_importer:"REACT_APP_CYPRESS=true TZ=America/New_York node_modules/cypress/bin/cypress open -C fuse-importer.cypress.config.js --e2e -b chrome",npm_package_scripts_test_coverage:"yarn test --coverage",GITHUB_SHA:"dff443ee0cb54f7763d1a15bf8b1034ad9e3a1f6",GITHUB_RUN_ATTEMPT:"1",npm_package_resolutions__adobe_css_tools:"^4.3.2",npm_package_resolutions_form_data:"^4.0.4",npm_package_devDependencies_eslint_plugin_testing_library:"^7.10.0",npm_package_scripts_build_importer:"yarn workspace fuse-importer build",npm_config_version_git_tag:"true",npm_config_version_git_sign:"",GITHUB_REF:"refs/heads/develop",GITHUB_ACTOR:"mikefrederick",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_package_resolutions_word_wrap:"^1.2.4",npm_package_devDependencies_globals:"^16.4.0",npm_package_devDependencies_eslint_plugin_react:"^7.37.5",npm_package_scripts_prebuild_staging_importer:"node prebuild-staging-importer.js",npm_config_strict_ssl:"true",npm_package_devDependencies_eslint_plugin_prettier:"^5.5.4",npm_package_devDependencies_eslint_config_react_app:"^7.0.1",npm_package_devDependencies_console_browserify:"^1.2.0",npm_package_dependencies__rails_ujs:"^6.0.0",npm_package_scripts_test_watch:"yarn test --watch",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_969e5083-7291-4f8e-9574-650dda049cec",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/fuse/fuse/ui/fuse-importer",GITHUB_ACTOR_ID:"367261",RUNNER_WORKSPACE:"/home/runner/work/fuse",npm_execpath:"/usr/local/lib/node_modules/yarn/bin/yarn.js",npm_package_resolutions_body_parser:"^1.20.3",npm_package_resolutions_http_proxy_middleware:"^2.0.9",npm_package_resolutions__babel_traverse:"^7.28.4",npm_package_devDependencies_smtp_tester:"2.0.1",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_969e5083-7291-4f8e-9574-650dda049cec",npm_package_dependencies__rails_activestorage:"^6.0.0",EDGEWEBDRIVER:"/usr/local/share/edge_driver",npm_package_resolutions_micromatch:"^4.0.8",npm_package_scripts_rails_e2e:"yarn rails:e2e:migrate && yarn rails:e2e:seed && yarn rails:e2e:server",npm_config_save_prefix:"^",npm_config_ignore_optional:"",npm_package_scripts_watch:"tsc -w",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.3.13750724",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",npm_package_resolutions_vite:"^5.4.20",npm_package_scripts_deploy:"cp -a ui/webapp/build/. public/",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",npm_package_scripts_watch_importer:"yarn workspace fuse-importer watch",NODE_ENV:"production",INIT_CWD:"/home/runner/work/fuse/fuse",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.3.13750724",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_969e5083-7291-4f8e-9574-650dda049cec",npm_package_resolutions_react_error_overlay:"6.0.9",npm_package_dependencies_luxon:"^3.5.0"}.REACT_APP_CYPRESS&&(this.options.host="http://localhost:3000/cypress-test/importer-embed"),this.sessionToken=void 0)}return e.prototype.close=function(){var e;if(o){null===(e=this.onClose)||void 0===e||e.call(this),this.cleanupIframe&&(this.cleanupIframe(),this.cleanupIframe=null);var _=document.getElementById(i);document.body.removeChild(_),document.body.style.overflow="auto",window.scrollTo(this.windowScrollPosition.x,this.windowScrollPosition.y)}},e.prototype.mountFuseWebappIframe=function(){return a(this,void 0,void 0,(function(){var e,_,n,s,p,c,t=this;return r(this,(function(d){switch(d.label){case 0:if(!o)return[2];if((e=document.createElement("iframe")).setAttribute("id",i),e.style.cssText="border: none; width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 1000;",e.setAttribute("allow","clipboard-write"),e.src="".concat(this.options.host),(_=document.createElement("div")).innerHTML=m,document.body.appendChild(_),!this.getSessionToken)return[3,4];d.label=1;case 1:return d.trys.push([1,3,,4]),n=this,[4,this.getSessionToken()];case 2:return n.sessionToken=d.sent(),[3,4];case 3:return s=d.sent(),console.error("Failed to get session token",s),[3,4];case 4:return e.onload=function(){_.remove()},p=function(){var _=function(n){return a(t,void 0,void 0,(function(){var s,p,i,o,c,t,d,m=this;return r(this,(function(l){switch(l.label){case 0:return s=n.data,p=s.type,i=s.id,o=s.payload,c={onSubmit:this.onSubmit,onValidateRecord:this.onValidateRecord,formatRecord:this.formatRecord,customAction:function(e,_){return a(m,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.customActions[e].handler(_)];case 1:return[2,n.sent()]}}))}))},onClose:function(){window.removeEventListener("message",_,!1),m.close()}},c[p]?[4,c[p].apply(c,o)]:[3,2];case 1:t=l.sent(),null===(d=null==e?void 0:e.contentWindow)||void 0===d||d.postMessage({type:p,id:i,payload:t},"*"),l.label=2;case 2:return[2]}}))}))};window.addEventListener("message",_,!1)},c=function(){window.addEventListener("message",(function(_){return a(t,void 0,void 0,(function(){var n,s;return r(this,(function(p){return"iframe_ready"===_.data.type&&(null===(n=null==e?void 0:e.contentWindow)||void 0===n||n.postMessage({type:"fuse_init",payload:{sessionToken:this.sessionToken,apiToken:this.apiToken,templateSlug:this.templateSlug,options:this.options,dynamicColumns:this.dynamicColumns,hasFormatRecord:void 0!==this.formatRecord,hasOnValidateRecord:void 0!==this.onValidateRecord,hasOnSubmit:void 0!==this.onSubmit,customActions:null===(s=this.customActions)||void 0===s?void 0:s.map((function(e){return{name:e.name,actionType:e.actionType}})),customStyles:this.customStyles}},"*")),[2]}))}))}),!1)},p(),c(),document.body.appendChild(e),[2]}}))}))},e.prototype.show=function(){return a(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return o?(this.windowScrollPosition={x:window.scrollX,y:window.scrollY},window.scrollTo(0,0),document.body.style.overflow="hidden",[4,this.mountFuseWebappIframe()]):[2];case 1:return e.sent(),[2]}}))}))},e.prototype.addColumn=function(e){this.dynamicColumns.push(e)},e.prototype.addCustomAction=function(e){var _;Array.isArray(e)||(e=[e]),(_=this.customActions).push.apply(_,e)},e.prototype.setCustomStyles=function(e){this.customStyles=e},e.getFuseClientSideToken=t,e}();var m='\n<div style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.6); z-index: 1050; display: flex; justify-content: center; align-items: center;">\n <div style="width: 70px; display: flex; justify-content: space-between;">\n <div style=" margin: 0 5px 0 5px; width: 12px; height: 12px; background-color: #CAC4BF; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; animation-delay: -0.32s;"></div>\n <div style=" margin: 0 5px 0 5px; width: 12px; height: 12px; background-color: #CAC4BF; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; animation-delay: -0.16s;"></div>\n <div style="margin: 0 5px 0 5px; width: 12px; height: 12px; background-color: #CAC4BF; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both;"></div>\n </div>\n</div>\n<style>\n @keyframes bounce {\n 0%, 80%, 100% { transform: scale(0); }\n 40% { transform: scale(1.0); }\n }\n</style>\n'})(),FuseImporter=_.default})();
|
|
1
|
+
var FuseImporter;(()=>{"use strict";var t={d:(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},e={};(()=>{t.d(e,{default:()=>d});var n,o=function(t,e,n){if(n||2===arguments.length)for(var o,i=0,s=e.length;i<s;i++)!o&&i in e||(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return t.concat(o||Array.prototype.slice.call(e))};!function(t){t.boolean="boolean",t.integer="integer",t.float="float",t.string="string",t.email="email",t.enum="enum",t.url="url",t.date="date",t.datetime="datetime",t.time="time"}(n||(n={}));o([],["cannot_contain","contain","max_length","min_length","length_exactly","unique_case_sensitive","unique_case_insensitive","regex","integer","less_than","greater_than","even","odd","float","email","url","boolean","before_date","after_date"],!0),o([],["sentence_case","capitalize","uppercase","lowercase","trim_whitespace","autoformat","prefix","number_of_decimals","round","floor","ceiling"],!0);var i=function(){return i=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},i.apply(this,arguments)},s=function(t,e,n,o){return new(n||(n=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,a)}c((o=o.apply(t,e||[])).next())}))},r=function(t,e){var n,o,i,s,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(r=0)),r;)try{if(n=1,o&&(i=2&a[0]?o.return:a[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;switch(o=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return r.label++,{value:a[1],done:!1};case 5:r.label++,o=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(!(i=r.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){r=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){r.label=a[1];break}if(6===a[0]&&r.label<i[1]){r.label=i[1],i=a;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(a);break}i[2]&&r.ops.pop(),r.trys.pop();continue}a=e.call(t,r)}catch(t){a=[6,t],o=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}},a="fuse-importer-root",c="undefined"!=typeof window,l=console.warn.bind(console.warn);console.warn=function(t){t&&(t.includes("Over 200 classes were generated for component")||l(t))};var u=function(t){var e=t.importer_slug,n=t.api_key,o=t.metadata,i=void 0===o?{}:o,a="true"==={NODE_ENV:"production"}.REACT_APP_CYPRESS?"http://localhost:3000":"https://staging-fuse-aws.swovo.com";return function(){return s(void 0,void 0,void 0,(function(){var t,o;return r(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),[4,fetch("".concat(a,"/api/v1/importer/sessions"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({api_token:n,importer_slug:e,metadata:i})})];case 1:if(!(t=s.sent()).ok)throw new Error("HTTP error! status: ".concat(t.status));return[4,t.json()];case 2:return[2,s.sent().token];case 3:throw o=s.sent(),console.error("Failed to fetch session token:",o),o;case 4:return[2]}}))}))}};if("undefined"==typeof process){window.process={env:{}}}const d=function(){function t(t,e,n){this.dynamicColumns=[],this.customActions=[],this.cleanupIframe=null,this.windowScrollPosition={x:0,y:0};var o={env:"production",zIndex:1e3,batchValidationDelayMs:500};"string"==typeof t?(this.apiToken=t,this.templateSlug=e,this.options=i(i({},o),n)):"object"==typeof t&&null!==t?(this.apiToken=t.apiToken,this.templateSlug=t.templateSlug,this.options=i(i({},o),t.options)):(this.apiToken=void 0,this.templateSlug=void 0,this.options=o),c&&(this.options.host="https://embed-staging.swovo.com",{NODE_ENV:"production"}.REACT_APP_IMPORTER_HOST&&(this.options.host={NODE_ENV:"production"}.REACT_APP_IMPORTER_HOST),{NODE_ENV:"production"}.REACT_APP_CYPRESS&&(this.options.host="http://localhost:3000/cypress-test/importer-embed"),this.sessionToken=void 0)}return t.prototype.close=function(){var t;if(c){null===(t=this.onClose)||void 0===t||t.call(this),this.cleanupIframe&&(this.cleanupIframe(),this.cleanupIframe=null);var e=document.getElementById(a);document.body.removeChild(e),document.body.style.overflow="auto",window.scrollTo(this.windowScrollPosition.x,this.windowScrollPosition.y)}},t.prototype.mountFuseWebappIframe=function(){return s(this,void 0,void 0,(function(){var t,e,n,o,i,l,u=this;return r(this,(function(d){switch(d.label){case 0:if(!c)return[2];if((t=document.createElement("iframe")).setAttribute("id",a),t.style.cssText="border: none; width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 1000;",t.setAttribute("allow","clipboard-write"),t.src="".concat(this.options.host),(e=document.createElement("div")).innerHTML=p,document.body.appendChild(e),!this.getSessionToken)return[3,4];d.label=1;case 1:return d.trys.push([1,3,,4]),n=this,[4,this.getSessionToken()];case 2:return n.sessionToken=d.sent(),[3,4];case 3:return o=d.sent(),console.error("Failed to get session token",o),[3,4];case 4:return t.onload=function(){e.remove()},i=function(){var e=function(n){return s(u,void 0,void 0,(function(){var o,i,a,c,l,u,d,p=this;return r(this,(function(h){switch(h.label){case 0:return o=n.data,i=o.type,a=o.id,c=o.payload,l={onSubmit:this.onSubmit,onValidateRecord:this.onValidateRecord,formatRecord:this.formatRecord,customAction:function(t,e){return s(p,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.customActions[t].handler(e)];case 1:return[2,n.sent()]}}))}))},onClose:function(){window.removeEventListener("message",e,!1),p.close()}},l[i]?[4,l[i].apply(l,c)]:[3,2];case 1:u=h.sent(),null===(d=null==t?void 0:t.contentWindow)||void 0===d||d.postMessage({type:i,id:a,payload:u},"*"),h.label=2;case 2:return[2]}}))}))};window.addEventListener("message",e,!1)},l=function(){window.addEventListener("message",(function(e){return s(u,void 0,void 0,(function(){var n,o;return r(this,(function(i){return"iframe_ready"===e.data.type&&(null===(n=null==t?void 0:t.contentWindow)||void 0===n||n.postMessage({type:"fuse_init",payload:{sessionToken:this.sessionToken,apiToken:this.apiToken,templateSlug:this.templateSlug,options:this.options,dynamicColumns:this.dynamicColumns,hasFormatRecord:void 0!==this.formatRecord,hasOnValidateRecord:void 0!==this.onValidateRecord,hasOnSubmit:void 0!==this.onSubmit,customActions:null===(o=this.customActions)||void 0===o?void 0:o.map((function(t){return{name:t.name,actionType:t.actionType}})),customStyles:this.customStyles}},"*")),[2]}))}))}),!1)},i(),l(),document.body.appendChild(t),[2]}}))}))},t.prototype.show=function(){return s(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return c?(this.windowScrollPosition={x:window.scrollX,y:window.scrollY},window.scrollTo(0,0),document.body.style.overflow="hidden",[4,this.mountFuseWebappIframe()]):[2];case 1:return t.sent(),[2]}}))}))},t.prototype.addColumn=function(t){this.dynamicColumns.push(t)},t.prototype.addCustomAction=function(t){var e;Array.isArray(t)||(t=[t]),(e=this.customActions).push.apply(e,t)},t.prototype.setCustomStyles=function(t){this.customStyles=t},t.getFuseClientSideToken=u,t}();var p='\n<div style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.6); z-index: 1050; display: flex; justify-content: center; align-items: center;">\n <div style="width: 70px; display: flex; justify-content: space-between;">\n <div style=" margin: 0 5px 0 5px; width: 12px; height: 12px; background-color: #CAC4BF; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; animation-delay: -0.32s;"></div>\n <div style=" margin: 0 5px 0 5px; width: 12px; height: 12px; background-color: #CAC4BF; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; animation-delay: -0.16s;"></div>\n <div style="margin: 0 5px 0 5px; width: 12px; height: 12px; background-color: #CAC4BF; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both;"></div>\n </div>\n</div>\n<style>\n @keyframes bounce {\n 0%, 80%, 100% { transform: scale(0); }\n 40% { transform: scale(1.0); }\n }\n</style>\n'})(),FuseImporter=e.default})();
|
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fuse-importer",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.40.1",
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "0.40.2-staging.2.1",
|
|
5
|
+
"description": "Swovo Fuse is a customizable and powerful CSV Importer that works with all front-end languages",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/swovohq/fuse.git",
|
|
9
|
+
"directory": "ui/fuse-importer"
|
|
10
|
+
},
|
|
6
11
|
"browserslist": {
|
|
7
12
|
"production": [
|
|
8
13
|
">0.2%",
|
|
@@ -32,7 +37,6 @@
|
|
|
32
37
|
"main": "./lib/main.js",
|
|
33
38
|
"module": "./lib/esm/index.js",
|
|
34
39
|
"types": "./lib/esm/index.d.ts",
|
|
35
|
-
"dependencies": {},
|
|
36
40
|
"devDependencies": {
|
|
37
41
|
"@testing-library/jest-dom": "^5.16.5",
|
|
38
42
|
"@types/actioncable": "^5.2.11",
|