feelin 4.3.0 → 7.0.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.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -1
  3. data/CHANGELOG.md +14 -1
  4. data/README.md +29 -0
  5. data/feelin.gemspec +8 -2
  6. data/lib/feelin/js/dist/feelin.js +13630 -0
  7. data/lib/feelin/js/entry.js +1 -0
  8. data/lib/feelin/js/package-lock.json +526 -31
  9. data/lib/feelin/js/package.json +8 -1
  10. data/lib/feelin/version.rb +1 -1
  11. data/lib/feelin.rb +36 -35
  12. data/spec/feelin/feelin_spec.rb +14 -0
  13. metadata +12 -106
  14. data/lib/feelin/js/node_modules/.package-lock.json +0 -67
  15. data/lib/feelin/js/node_modules/@lezer/common/LICENSE +0 -21
  16. data/lib/feelin/js/node_modules/@lezer/common/README.md +0 -14
  17. data/lib/feelin/js/node_modules/@lezer/common/dist/index.cjs +0 -2181
  18. data/lib/feelin/js/node_modules/@lezer/common/dist/index.d.cts +0 -1137
  19. data/lib/feelin/js/node_modules/@lezer/common/dist/index.d.ts +0 -1137
  20. data/lib/feelin/js/node_modules/@lezer/common/dist/index.js +0 -2168
  21. data/lib/feelin/js/node_modules/@lezer/common/package.json +0 -32
  22. data/lib/feelin/js/node_modules/@lezer/highlight/LICENSE +0 -21
  23. data/lib/feelin/js/node_modules/@lezer/highlight/README.md +0 -14
  24. data/lib/feelin/js/node_modules/@lezer/highlight/dist/index.cjs +0 -915
  25. data/lib/feelin/js/node_modules/@lezer/highlight/dist/index.d.cts +0 -621
  26. data/lib/feelin/js/node_modules/@lezer/highlight/dist/index.d.ts +0 -623
  27. data/lib/feelin/js/node_modules/@lezer/highlight/dist/index.js +0 -904
  28. data/lib/feelin/js/node_modules/@lezer/highlight/package.json +0 -31
  29. data/lib/feelin/js/node_modules/@lezer/lr/LICENSE +0 -21
  30. data/lib/feelin/js/node_modules/@lezer/lr/README.md +0 -25
  31. data/lib/feelin/js/node_modules/@lezer/lr/dist/constants.d.ts +0 -45
  32. data/lib/feelin/js/node_modules/@lezer/lr/dist/constants.js +0 -5
  33. data/lib/feelin/js/node_modules/@lezer/lr/dist/index.cjs +0 -1890
  34. data/lib/feelin/js/node_modules/@lezer/lr/dist/index.d.cts +0 -303
  35. data/lib/feelin/js/node_modules/@lezer/lr/dist/index.d.ts +0 -303
  36. data/lib/feelin/js/node_modules/@lezer/lr/dist/index.js +0 -1883
  37. data/lib/feelin/js/node_modules/@lezer/lr/package.json +0 -32
  38. data/lib/feelin/js/node_modules/feelin/LICENSE +0 -21
  39. data/lib/feelin/js/node_modules/feelin/README.md +0 -65
  40. data/lib/feelin/js/node_modules/feelin/dist/builtins.d.ts +0 -355
  41. data/lib/feelin/js/node_modules/feelin/dist/index.cjs +0 -2072
  42. data/lib/feelin/js/node_modules/feelin/dist/index.cjs.map +0 -1
  43. data/lib/feelin/js/node_modules/feelin/dist/index.d.ts +0 -3
  44. data/lib/feelin/js/node_modules/feelin/dist/index.esm.js +0 -2063
  45. data/lib/feelin/js/node_modules/feelin/dist/index.esm.js.map +0 -1
  46. data/lib/feelin/js/node_modules/feelin/dist/interpreter.d.ts +0 -26
  47. data/lib/feelin/js/node_modules/feelin/dist/parser.d.ts +0 -4
  48. data/lib/feelin/js/node_modules/feelin/dist/temporal.d.ts +0 -6
  49. data/lib/feelin/js/node_modules/feelin/dist/types.d.ts +0 -35
  50. data/lib/feelin/js/node_modules/feelin/dist/utils.d.ts +0 -12
  51. data/lib/feelin/js/node_modules/feelin/package.json +0 -63
  52. data/lib/feelin/js/node_modules/lezer-feel/LICENSE +0 -21
  53. data/lib/feelin/js/node_modules/lezer-feel/README.md +0 -94
  54. data/lib/feelin/js/node_modules/lezer-feel/dist/index.cjs +0 -1328
  55. data/lib/feelin/js/node_modules/lezer-feel/dist/index.cjs.map +0 -1
  56. data/lib/feelin/js/node_modules/lezer-feel/dist/index.d.ts +0 -32
  57. data/lib/feelin/js/node_modules/lezer-feel/dist/index.js +0 -1323
  58. data/lib/feelin/js/node_modules/lezer-feel/dist/index.js.map +0 -1
  59. data/lib/feelin/js/node_modules/lezer-feel/package.json +0 -61
  60. data/lib/feelin/js/node_modules/luxon/LICENSE.md +0 -7
  61. data/lib/feelin/js/node_modules/luxon/README.md +0 -55
  62. data/lib/feelin/js/node_modules/luxon/build/amd/luxon.js +0 -8623
  63. data/lib/feelin/js/node_modules/luxon/build/amd/luxon.js.map +0 -1
  64. data/lib/feelin/js/node_modules/luxon/build/cjs-browser/luxon.js +0 -8621
  65. data/lib/feelin/js/node_modules/luxon/build/cjs-browser/luxon.js.map +0 -1
  66. data/lib/feelin/js/node_modules/luxon/build/es6/luxon.js +0 -8011
  67. data/lib/feelin/js/node_modules/luxon/build/es6/luxon.js.map +0 -1
  68. data/lib/feelin/js/node_modules/luxon/build/global/luxon.js +0 -8626
  69. data/lib/feelin/js/node_modules/luxon/build/global/luxon.js.map +0 -1
  70. data/lib/feelin/js/node_modules/luxon/build/global/luxon.min.js +0 -1
  71. data/lib/feelin/js/node_modules/luxon/build/global/luxon.min.js.map +0 -1
  72. data/lib/feelin/js/node_modules/luxon/build/node/luxon.js +0 -7679
  73. data/lib/feelin/js/node_modules/luxon/build/node/luxon.js.map +0 -1
  74. data/lib/feelin/js/node_modules/luxon/package.json +0 -87
  75. data/lib/feelin/js/node_modules/luxon/src/datetime.js +0 -2566
  76. data/lib/feelin/js/node_modules/luxon/src/duration.js +0 -990
  77. data/lib/feelin/js/node_modules/luxon/src/errors.js +0 -61
  78. data/lib/feelin/js/node_modules/luxon/src/impl/conversions.js +0 -206
  79. data/lib/feelin/js/node_modules/luxon/src/impl/diff.js +0 -95
  80. data/lib/feelin/js/node_modules/luxon/src/impl/digits.js +0 -90
  81. data/lib/feelin/js/node_modules/luxon/src/impl/english.js +0 -233
  82. data/lib/feelin/js/node_modules/luxon/src/impl/formats.js +0 -176
  83. data/lib/feelin/js/node_modules/luxon/src/impl/formatter.js +0 -409
  84. data/lib/feelin/js/node_modules/luxon/src/impl/invalid.js +0 -14
  85. data/lib/feelin/js/node_modules/luxon/src/impl/locale.js +0 -554
  86. data/lib/feelin/js/node_modules/luxon/src/impl/regexParser.js +0 -335
  87. data/lib/feelin/js/node_modules/luxon/src/impl/tokenParser.js +0 -505
  88. data/lib/feelin/js/node_modules/luxon/src/impl/util.js +0 -316
  89. data/lib/feelin/js/node_modules/luxon/src/impl/zoneUtil.js +0 -34
  90. data/lib/feelin/js/node_modules/luxon/src/info.js +0 -205
  91. data/lib/feelin/js/node_modules/luxon/src/interval.js +0 -665
  92. data/lib/feelin/js/node_modules/luxon/src/luxon.js +0 -26
  93. data/lib/feelin/js/node_modules/luxon/src/package.json +0 -4
  94. data/lib/feelin/js/node_modules/luxon/src/settings.js +0 -180
  95. data/lib/feelin/js/node_modules/luxon/src/zone.js +0 -97
  96. data/lib/feelin/js/node_modules/luxon/src/zones/IANAZone.js +0 -231
  97. data/lib/feelin/js/node_modules/luxon/src/zones/fixedOffsetZone.js +0 -150
  98. data/lib/feelin/js/node_modules/luxon/src/zones/invalidZone.js +0 -53
  99. data/lib/feelin/js/node_modules/luxon/src/zones/systemZone.js +0 -61
  100. data/lib/feelin/js/node_modules/min-dash/LICENSE +0 -21
  101. data/lib/feelin/js/node_modules/min-dash/README.md +0 -38
  102. data/lib/feelin/js/node_modules/min-dash/dist/array.d.ts +0 -12
  103. data/lib/feelin/js/node_modules/min-dash/dist/collection.d.ts +0 -174
  104. data/lib/feelin/js/node_modules/min-dash/dist/fn.d.ts +0 -37
  105. data/lib/feelin/js/node_modules/min-dash/dist/index.cjs +0 -910
  106. data/lib/feelin/js/node_modules/min-dash/dist/index.d.ts +0 -5
  107. data/lib/feelin/js/node_modules/min-dash/dist/index.esm.js +0 -872
  108. data/lib/feelin/js/node_modules/min-dash/dist/lang.d.ts +0 -29
  109. data/lib/feelin/js/node_modules/min-dash/dist/min-dash.js +0 -916
  110. data/lib/feelin/js/node_modules/min-dash/dist/min-dash.min.js +0 -1
  111. data/lib/feelin/js/node_modules/min-dash/dist/object.d.ts +0 -112
  112. data/lib/feelin/js/node_modules/min-dash/package.json +0 -72
@@ -1 +0,0 @@
1
- !function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n="undefined"!=typeof globalThis?globalThis:n||self).MinDash={})}(this,(function(n){"use strict";const t=Object.prototype.toString,e=Object.prototype.hasOwnProperty;function r(n){return void 0===n}function o(n){return void 0!==n}function u(n){return null==n}function i(n){return"[object Array]"===t.call(n)}function c(n){return"[object Object]"===t.call(n)}function f(n){const e=t.call(n);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e||"[object Proxy]"===e}function l(n){if(!i(n))throw new Error("must supply array")}function s(n,t){return!u(n)&&e.call(n,t)}function a(n,t){const e=w(t);let r;return p(n,(function(n,t){if(e(n,t))return r=n,!1})),r}function p(n,t){let e,o;if(r(n))return;const u=i(n)?O:v;for(let r in n)if(s(n,r)&&(e=n[r],o=t(e,u(r)),!1===o))return e}function y(n,t,e){return p(n,(function(n,r){e=t(e,n,r)})),e}function d(n,t){return!!y(n,(function(n,e,r){return n&&t(e,r)}),!0)}function b(n,t){let e=[];return p(n,(function(n,r){e.push(t(n,r))})),e}function h(n){return n&&Object.keys(n)||[]}function g(n,t,e={}){return t=_(t),p(n,(function(n){let r=t(n)||"_",o=e[r];o||(o=e[r]=[]),o.push(n)})),e}function j(n,...t){n=_(n);let e={};return p(t,(t=>g(t,n,e))),b(e,(function(n,t){return n[0]}))}const m=j;function _(n){return f(n)?n:t=>t[n]}function w(n){return f(n)?n:t=>t===n}function v(n){return n}function O(n){return Number(n)}n.assign=function(n,...t){return Object.assign(n,...t)},n.bind=function(n,t){return n.bind(t)},n.debounce=function(n,t){let e,r,o,u;function i(e){let i=Date.now(),l=e?0:u+t-i;if(l>0)return c(l);n.apply(o,r),f()}function c(n){e=setTimeout(i,n)}function f(){e&&clearTimeout(e),e=u=r=o=void 0}function l(...n){u=Date.now(),r=n,o=this,e||c(t)}return l.flush=function(){e&&i(!0),f()},l.cancel=f,l},n.ensureArray=l,n.every=d,n.filter=function(n,t){const e=w(t);let r=[];return p(n,(function(n,t){e(n,t)&&r.push(n)})),r},n.find=a,n.findIndex=function(n,t){const e=w(t);let r=i(n)?-1:void 0;return p(n,(function(n,t){if(e(n,t))return r=t,!1})),r},n.flatten=function(n){return Array.prototype.concat.apply([],n)},n.forEach=p,n.get=function(n,t,e){let o=n;return p(t,(function(n){if(u(o))return o=void 0,!1;o=o[n]})),r(o)?e:o},n.groupBy=g,n.has=s,n.isArray=i,n.isDefined=o,n.isFunction=f,n.isNil=u,n.isNumber=function(n){return"[object Number]"===t.call(n)},n.isObject=c,n.isString=function(n){return"[object String]"===t.call(n)},n.isUndefined=r,n.keys=h,n.map=b,n.matchPattern=function(n){return function(t){return d(n,(function(n,e){return t[e]===n}))}},n.merge=function n(t,...e){return e.length?(p(e,(function(e){e&&c(e)&&p(e,(function(e,r){if("__proto__"===r)return;let o=t[r];c(e)?(c(o)||(o={}),t[r]=n(o,e)):t[r]=e}))})),t):t},n.omit=function(n,t){let e={};return p(Object(n),(function(n,r){-1===t.indexOf(r)&&(e[r]=n)})),e},n.pick=function(n,t){let e={},r=Object(n);return p(t,(function(t){t in r&&(e[t]=n[t])})),e},n.reduce=y,n.set=function(n,t,e){let i=n;return p(t,(function(n,c){if("number"!=typeof n&&"string"!=typeof n)throw new Error("illegal key type: "+typeof n+". Key should be of type number or string.");if("constructor"===n)throw new Error("illegal key: constructor");if("__proto__"===n)throw new Error("illegal key: __proto__");let f=t[c+1],l=i[n];o(f)&&u(l)&&(l=i[n]=isNaN(+f)?{}:[]),r(f)?r(e)?delete i[n]:i[n]=e:i=l})),n},n.size=function(n){return h(n).length},n.some=function(n,t){return!!a(n,t)},n.sortBy=function(n,t){t=_(t);let e=[];return p(n,(function(n,r){let o=t(n,r),u={d:o,v:n};for(var i=0;i<e.length;i++){let{d:n}=e[i];if(o<n)return void e.splice(i,0,u)}e.push(u)})),b(e,(n=>n.v))},n.throttle=function(n,t){let e=!1;return function(...r){e||(n(...r),e=!0,setTimeout((()=>{e=!1}),t))}},n.unionBy=m,n.uniqueBy=j,n.values=function(n){return b(n,(n=>n))},n.without=function(n,t){if(r(n))return[];l(n);const e=w(t);return n.filter((function(n,t){return!e(n,t)}))}}));
@@ -1,112 +0,0 @@
1
- type PropertyName = string | number | symbol;
2
-
3
- /**
4
- * Copy the values of all of the enumerable own properties from one or more source objects to a
5
- * target object. Returns the target object.
6
- *
7
- * @param target The target object to copy to.
8
- * @param source The source object from which to copy properties.
9
- */
10
- export function assign<T, U>(target: T, source: U): T & U;
11
-
12
- /**
13
- * Copy the values of all of the enumerable own properties from one or more source objects to a
14
- * target object. Returns the target object.
15
- *
16
- * @param target The target object to copy to.
17
- * @param source1 The first source object from which to copy properties.
18
- * @param source2 The second source object from which to copy properties.
19
- */
20
- export function assign<T, U, V>(target: T, source1: U, source2: V): T & U & V;
21
-
22
- /**
23
- * Copy the values of all of the enumerable own properties from one or more source objects to a
24
- * target object. Returns the target object.
25
- *
26
- * @param target The target object to copy to.
27
- * @param source1 The first source object from which to copy properties.
28
- * @param source2 The second source object from which to copy properties.
29
- * @param source3 The third source object from which to copy properties.
30
- */
31
- export function assign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
32
-
33
- /**
34
- * Copy the values of all of the enumerable own properties from one or more source objects to a
35
- * target object. Returns the target object.
36
- *
37
- * @param target The target object to copy to.
38
- * @param sources One or more source objects from which to copy properties
39
- */
40
- export function assign<T>(target: T, ...sources: any[]): T;
41
-
42
- /**
43
- * Gets a nested property of a given object, with an optional default value.
44
- *
45
- * @param target The target of the get operation.
46
- * @param path The path to the nested value.
47
- * @param defaultValue The result to return if the property does not exist.
48
- *
49
- * @return any
50
- */
51
- export function get(target: any, path: (string|number)[], defaultValue?: any): any;
52
-
53
- /**
54
- * Sets a nested property of a given object to the specified value.
55
- *
56
- * This mutates the object and returns it.
57
- *
58
- * @param target The target of the set operation.
59
- * @param path The path to the nested value.
60
- * @param value The value to set.
61
- *
62
- * @return the element
63
- */
64
- export function set<T>(target: T, path: PropertyName[], value: any): T;
65
-
66
- /**
67
- * Pick properties from the given target.
68
- *
69
- * @param target
70
- * @param properties
71
- *
72
- * @return
73
- */
74
- export function pick<T, V extends keyof T>(target: T, properties: Array<V>): Pick<T, V>;
75
-
76
- /**
77
- * Pick properties from the given target.
78
- *
79
- * @param target
80
- * @param properties
81
- *
82
- * @return
83
- */
84
- export function pick<T, V extends PropertyName[]>(target: T, properties: V): Partial<T>;
85
-
86
- /**
87
- * Pick all target properties, excluding the given ones.
88
- *
89
- * @param target
90
- * @param properties
91
- *
92
- * @return target
93
- */
94
- export function omit<T, V extends keyof T>(target: T, properties: V): Omit<T, V>;
95
-
96
- /**
97
- * Pick all target properties, excluding the given ones.
98
- *
99
- * @param target
100
- * @param properties
101
- *
102
- * @return target
103
- */
104
- export function omit<T, V extends PropertyName[]>(target: T, properties: V): Pick<T, Exclude<keyof T, V[number]>>;
105
-
106
- /**
107
- * Copy the values of all of the enumerable own properties from one or more source objects to a
108
- * target object. Returns the target object.
109
- * @param target The target object to copy to.
110
- * @param sources One or more source objects from which to copy properties
111
- */
112
- export function merge(target: object, ...sources: any[]): any;
@@ -1,72 +0,0 @@
1
- {
2
- "name": "min-dash",
3
- "version": "4.2.3",
4
- "description": "Minimum utility toolbelt",
5
- "main": "dist/index.cjs",
6
- "module": "dist/index.esm.js",
7
- "types": "dist/index.d.ts",
8
- "type": "module",
9
- "exports": {
10
- ".": {
11
- "import": "./dist/index.esm.js",
12
- "require": "./dist/index.cjs",
13
- "types": "./dist/index.d.ts"
14
- },
15
- "./package.json": "./package.json"
16
- },
17
- "files": [
18
- "dist"
19
- ],
20
- "scripts": {
21
- "all": "run-s lint test distro test:types",
22
- "bundle": "rollup -c --bundleConfigAsCjs",
23
- "copy": "cpx 'lib/*.d.ts' dist",
24
- "distro": "run-s copy bundle test:integration test:bundle",
25
- "dev": "npm test -- --watch",
26
- "lint": "eslint .",
27
- "prepublishOnly": "run-s distro",
28
- "test": "mocha -r source-map-support/register --full-trace test/*.spec.js",
29
- "test:bundle": "rollup -c test/bundling/rollup.config.js",
30
- "test:integration": "mocha --full-trace test/integration/*.spec.{cjs,js}",
31
- "test:types": "run-s test:types:*",
32
- "test:types:cjs": "tsc --noEmit",
33
- "test:types:esm": "tsc --noEmit --module node16"
34
- },
35
- "repository": {
36
- "type": "git",
37
- "url": "git+https://github.com/bpmn-io/min-dash.git"
38
- },
39
- "keywords": [
40
- "lodash",
41
- "utility",
42
- "tool",
43
- "belt"
44
- ],
45
- "author": "bpmn.io <http://bpmn.io>",
46
- "license": "MIT",
47
- "bugs": {
48
- "url": "https://github.com/bpmn-io/min-dash/issues"
49
- },
50
- "sideEffects": false,
51
- "homepage": "https://github.com/bpmn-io/min-dash",
52
- "devDependencies": {
53
- "@rollup/plugin-node-resolve": "^15.3.1",
54
- "@rollup/plugin-terser": "^0.4.4",
55
- "@types/mocha": "^10.0.10",
56
- "@types/node": "^20.11.5",
57
- "@types/sinon": "^17.0.3",
58
- "@types/sinon-chai": "^3.2.12",
59
- "chai": "^4.5.0",
60
- "cpx": "^1.5.0",
61
- "eslint": "^8.56.0",
62
- "eslint-plugin-bpmn-io": "^1.0.0",
63
- "mocha": "^10.8.2",
64
- "npm-run-all": "^4.1.1",
65
- "rollup": "^4.34.7",
66
- "sinon": "^17.0.1",
67
- "sinon-chai": "^3.7.0",
68
- "source-map-support": "^0.5.19",
69
- "ts-expect": "^1.3.0",
70
- "typescript": "^5.3.3"
71
- }
72
- }