aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/esm/parse/_lib/Parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/date-fns/esm/parse/_lib/Parser.js')
-rw-r--r--node_modules/date-fns/esm/parse/_lib/Parser.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/node_modules/date-fns/esm/parse/_lib/Parser.js b/node_modules/date-fns/esm/parse/_lib/Parser.js
deleted file mode 100644
index b9b2678..0000000
--- a/node_modules/date-fns/esm/parse/_lib/Parser.js
+++ /dev/null
@@ -1,31 +0,0 @@
-import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
-import _createClass from "@babel/runtime/helpers/esm/createClass";
-import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
-import { ValueSetter } from "./Setter.js";
-export var Parser = /*#__PURE__*/function () {
- function Parser() {
- _classCallCheck(this, Parser);
- _defineProperty(this, "incompatibleTokens", void 0);
- _defineProperty(this, "priority", void 0);
- _defineProperty(this, "subPriority", void 0);
- }
- _createClass(Parser, [{
- key: "run",
- value: function run(dateString, token, match, options) {
- var result = this.parse(dateString, token, match, options);
- if (!result) {
- return null;
- }
- return {
- setter: new ValueSetter(result.value, this.validate, this.set, this.priority, this.subPriority),
- rest: result.rest
- };
- }
- }, {
- key: "validate",
- value: function validate(_utcDate, _value, _options) {
- return true;
- }
- }]);
- return Parser;
-}(); \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage