goyette-portfolio-lib 1.5.13 → 1.5.16
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/.idea/workspace.xml
CHANGED
|
@@ -6,19 +6,12 @@
|
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
7
|
<list default="true" id="dc7e37fb-98fd-404f-b5bd-7014781d1f53" name="Default" comment="">
|
|
8
8
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
10
11
|
<change beforePath="$PROJECT_DIR$/../portfolio-server/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-server/.idea/workspace.xml" afterDir="false" />
|
|
12
|
+
<change beforePath="$PROJECT_DIR$/../portfolio-server/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-server/package.json" afterDir="false" />
|
|
11
13
|
<change beforePath="$PROJECT_DIR$/../portfolio-ui/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/.idea/workspace.xml" afterDir="false" />
|
|
12
|
-
<change beforePath="$PROJECT_DIR$/../portfolio-ui/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/package-lock.json" afterDir="false" />
|
|
13
14
|
<change beforePath="$PROJECT_DIR$/../portfolio-ui/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/package.json" afterDir="false" />
|
|
14
|
-
<change beforePath="$PROJECT_DIR$/../portfolio-ui/src/Components/App/App.js" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/src/Components/App/App.js" afterDir="false" />
|
|
15
|
-
<change beforePath="$PROJECT_DIR$/../portfolio-ui/src/Components/AppHeaderBar/AppHeaderBar.js" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/src/Components/AppHeaderBar/AppHeaderBar.js" afterDir="false" />
|
|
16
|
-
<change beforePath="$PROJECT_DIR$/../portfolio-ui/src/Components/Blog/Blog.js" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/src/Components/Blog/Blog.js" afterDir="false" />
|
|
17
|
-
<change beforePath="$PROJECT_DIR$/../portfolio-ui/src/Components/BlogAdmin/BlogAdmin.js" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/src/Components/BlogAdmin/BlogAdmin.js" afterDir="false" />
|
|
18
|
-
<change beforePath="$PROJECT_DIR$/../portfolio-ui/src/Components/BlogEditPost/BlogEditPost.js" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/src/Components/BlogEditPost/BlogEditPost.js" afterDir="false" />
|
|
19
|
-
<change beforePath="$PROJECT_DIR$/../portfolio-ui/src/Components/ImageViewDialog/ImageViewDialog.js" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/src/Components/ImageViewDialog/ImageViewDialog.js" afterDir="false" />
|
|
20
|
-
<change beforePath="$PROJECT_DIR$/../portfolio-ui/src/Pages/Common/Admin/AdminTelemetry/AdminTelemetry.js" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/src/Pages/Common/Admin/AdminTelemetry/AdminTelemetry.js" afterDir="false" />
|
|
21
|
-
<change beforePath="$PROJECT_DIR$/../portfolio-ui/src/Pages/DanGoyette/Contact/Contact.js" beforeDir="false" afterPath="$PROJECT_DIR$/../portfolio-ui/src/Pages/DanGoyette/Contact/Contact.js" afterDir="false" />
|
|
22
15
|
</list>
|
|
23
16
|
<option name="SHOW_DIALOG" value="false" />
|
|
24
17
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -154,8 +147,8 @@
|
|
|
154
147
|
<component name="PackageJsonUpdateNotifier">
|
|
155
148
|
<dismissed value="$PROJECT_DIR$/package.json" />
|
|
156
149
|
</component>
|
|
157
|
-
<component name="ProjectColorInfo">{
|
|
158
|
-
"associatedIndex": 4
|
|
150
|
+
<component name="ProjectColorInfo">{
|
|
151
|
+
"associatedIndex": 4
|
|
159
152
|
}</component>
|
|
160
153
|
<component name="ProjectFrameBounds" extendedState="6">
|
|
161
154
|
<option name="x" value="383" />
|
|
@@ -281,22 +274,22 @@
|
|
|
281
274
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
282
275
|
<option name="showLibraryContents" value="true" />
|
|
283
276
|
</component>
|
|
284
|
-
<component name="PropertiesComponent"><![CDATA[{
|
|
285
|
-
"keyToString": {
|
|
286
|
-
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
287
|
-
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
288
|
-
"git-widget-placeholder": "master",
|
|
289
|
-
"ignore.virus.scanning.warn.message": "true",
|
|
290
|
-
"last_opened_file_path": "C:/Users/dango/GitHub/Portfolio/goyette-portfolio-lib/lib/Models/Telemetry",
|
|
291
|
-
"node.js.detected.package.eslint": "true",
|
|
292
|
-
"node.js.detected.package.tslint": "true",
|
|
293
|
-
"node.js.selected.package.eslint": "(autodetect)",
|
|
294
|
-
"node.js.selected.package.tslint": "(autodetect)",
|
|
295
|
-
"nodejs_package_manager_path": "npm",
|
|
296
|
-
"npm.build:flow.executor": "Run",
|
|
297
|
-
"settings.editor.selected.configurable": "inlay.hints",
|
|
298
|
-
"vue.rearranger.settings.migration": "true"
|
|
299
|
-
}
|
|
277
|
+
<component name="PropertiesComponent"><![CDATA[{
|
|
278
|
+
"keyToString": {
|
|
279
|
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
280
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
281
|
+
"git-widget-placeholder": "master",
|
|
282
|
+
"ignore.virus.scanning.warn.message": "true",
|
|
283
|
+
"last_opened_file_path": "C:/Users/dango/GitHub/Portfolio/goyette-portfolio-lib/lib/Models/Telemetry",
|
|
284
|
+
"node.js.detected.package.eslint": "true",
|
|
285
|
+
"node.js.detected.package.tslint": "true",
|
|
286
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
287
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
288
|
+
"nodejs_package_manager_path": "npm",
|
|
289
|
+
"npm.build:flow.executor": "Run",
|
|
290
|
+
"settings.editor.selected.configurable": "inlay.hints",
|
|
291
|
+
"vue.rearranger.settings.migration": "true"
|
|
292
|
+
}
|
|
300
293
|
}]]></component>
|
|
301
294
|
<component name="RecentsManager">
|
|
302
295
|
<key name="CopyFile.RECENT_KEYS">
|
package/dist/lib/SharedUtils.js
CHANGED
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _string = _interopRequireDefault(require("string"));
|
|
8
|
+
var _dotenv = _interopRequireDefault(require("dotenv"));
|
|
8
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -12,8 +13,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
12
13
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
14
15
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15
|
-
|
|
16
|
-
//dotenv.config();
|
|
16
|
+
_dotenv["default"].config();
|
|
17
17
|
var SharedUtils = /*#__PURE__*/function () {
|
|
18
18
|
function SharedUtils() {
|
|
19
19
|
_classCallCheck(this, SharedUtils);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SharedUtils.js","names":["_string","_interopRequireDefault","require","obj","__esModule","_typeof","o","Symbol","iterator","constructor","prototype","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","protoProps","staticProps","t","_toPrimitive","String","r","e","toPrimitive","call","Number","SharedUtils","value","mergeRoute","_len","arguments","args","Array","_key","S","stripLeft","s","stripRight","join","replaceRouteParam","route","param","paramValue","pValue","toString","replace","getSafeEnvValue","process","env","Error","concat","dateToShortDateString","date","format","d","getFullYear","padLeft","getMonth","getDate","Date","dateToDateTimeString","getHours","getMinutes","getSeconds","getPostIdFromTitle","title","trim","toLowerCase","substr","toUpperCase","encodeURIComponent","_default","exports"],"sources":["../../lib/SharedUtils.js"],"sourcesContent":["// @flow\r\nimport S from 'string';\r\
|
|
1
|
+
{"version":3,"file":"SharedUtils.js","names":["_string","_interopRequireDefault","require","_dotenv","obj","__esModule","_typeof","o","Symbol","iterator","constructor","prototype","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","protoProps","staticProps","t","_toPrimitive","String","r","e","toPrimitive","call","Number","dotenv","config","SharedUtils","value","mergeRoute","_len","arguments","args","Array","_key","S","stripLeft","s","stripRight","join","replaceRouteParam","route","param","paramValue","pValue","toString","replace","getSafeEnvValue","process","env","Error","concat","dateToShortDateString","date","format","d","getFullYear","padLeft","getMonth","getDate","Date","dateToDateTimeString","getHours","getMinutes","getSeconds","getPostIdFromTitle","title","trim","toLowerCase","substr","toUpperCase","encodeURIComponent","_default","exports"],"sources":["../../lib/SharedUtils.js"],"sourcesContent":["// @flow\r\nimport S from 'string';\r\nimport dotenv from 'dotenv';\r\n\r\ndotenv.config();\r\n\r\nclass SharedUtils {\r\n\r\n static mergeRoute(...args: Array<?string>): string {\r\n\r\n for (let i = 0; i < args.length; i++) {\r\n if (i > 0) {\r\n args[i] = S(args[i]).stripLeft('/').s;\r\n }\r\n if (i < args.length - 1) {\r\n args[i] = S(args[i]).stripRight('/').s;\r\n }\r\n }\r\n\r\n return args.join('/');\r\n }\r\n\r\n static replaceRouteParam(route: string, param: string, paramValue: ?string | ?number) {\r\n let pValue = \"\";\r\n if (paramValue) {\r\n if (typeof paramValue === 'string') {\r\n pValue = paramValue;\r\n } else {\r\n pValue = paramValue.toString();\r\n }\r\n }\r\n\r\n return route.replace(param, pValue);\r\n }\r\n\r\n static getSafeEnvValue(key: string): string {\r\n if (!process.env[key]) {\r\n throw new Error(`Env key ${key} not found`);\r\n }\r\n return process.env[key];\r\n }\r\n\r\n\r\n static dateToShortDateString(date: ?Date | ?string): ?string {\r\n\r\n let format = (d: Date) => {\r\n return `${S(d.getFullYear()).padLeft(4, \"0\").s}-${S(d.getMonth() + 1).padLeft(2, \"0\").s}-${S(d.getDate()).padLeft(2, \"0\").s}`;\r\n };\r\n\r\n if (!date) {\r\n return null;\r\n } else if (typeof date === 'string') {\r\n return format(new Date(date));\r\n } else {\r\n return format(date);\r\n }\r\n }\r\n\r\n static dateToDateTimeString(date: ?Date | ?string): ?string {\r\n\r\n let format = (d: Date) => {\r\n return `${SharedUtils.dateToShortDateString(d) || \"\"} ${d.getHours()}:${S(d.getMinutes() + 1).padLeft(2, \"0\").s}:${S(d.getSeconds() + 1).padLeft(2, \"0\").s}`;\r\n };\r\n\r\n if (!date) {\r\n return null;\r\n } else if (typeof date === 'string') {\r\n return format(new Date(date));\r\n } else {\r\n return format(date);\r\n }\r\n }\r\n\r\n static getPostIdFromTitle(title: string): string {\r\n title = title.replace(/\\s/g, \"-\");\r\n title = title.replace(/[`@#$%^&+=,./<>?;':\"[\\]{}\\\\|]/g, \"\");\r\n title = title.trim().toLowerCase();\r\n if (title.length > 0) {\r\n title = title.substr(0, 1).toUpperCase() + title.substr(1, title.length - 1);\r\n }\r\n return encodeURIComponent(title);\r\n }\r\n\r\n}\r\n\r\nexport default SharedUtils; "],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AAA4B,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,QAAAC,CAAA,sCAAAD,OAAA,wBAAAE,MAAA,uBAAAA,MAAA,CAAAC,QAAA,aAAAF,CAAA,kBAAAA,CAAA,gBAAAA,CAAA,WAAAA,CAAA,yBAAAC,MAAA,IAAAD,CAAA,CAAAG,WAAA,KAAAF,MAAA,IAAAD,CAAA,KAAAC,MAAA,CAAAG,SAAA,qBAAAJ,CAAA,KAAAD,OAAA,CAAAC,CAAA;AAAA,SAAAK,gBAAAC,QAAA,EAAAC,WAAA,UAAAD,QAAA,YAAAC,WAAA,eAAAC,SAAA;AAAA,SAAAC,kBAAAC,MAAA,EAAAC,KAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAD,KAAA,CAAAE,MAAA,EAAAD,CAAA,UAAAE,UAAA,GAAAH,KAAA,CAAAC,CAAA,GAAAE,UAAA,CAAAC,UAAA,GAAAD,UAAA,CAAAC,UAAA,WAAAD,UAAA,CAAAE,YAAA,wBAAAF,UAAA,EAAAA,UAAA,CAAAG,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