@wyw-in-js/shared 0.5.4 → 0.5.5

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/esm/index.js CHANGED
@@ -3,7 +3,6 @@ export { asyncResolveFallback, syncResolve } from './asyncResolveFallback';
3
3
  export { hasEvalMeta } from './hasEvalMeta';
4
4
  export { findPackageJSON } from './findPackageJSON';
5
5
  export { isBoxedPrimitive } from './isBoxedPrimitive';
6
- export { IVariableContext } from './IVariableContext';
7
6
  export { enableDebug, logger } from './logger';
8
7
  export { isFeatureEnabled } from './options/isFeatureEnabled';
9
8
  export { slugify } from './slugify';
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Debugger","asyncResolveFallback","syncResolve","hasEvalMeta","findPackageJSON","isBoxedPrimitive","IVariableContext","enableDebug","logger","isFeatureEnabled","slugify","ValueType"],"sources":["../src/index.ts"],"sourcesContent":["export { Debugger } from 'debug';\n\nexport { asyncResolveFallback, syncResolve } from './asyncResolveFallback';\nexport { hasEvalMeta } from './hasEvalMeta';\nexport { findPackageJSON } from './findPackageJSON';\nexport { isBoxedPrimitive } from './isBoxedPrimitive';\nexport { IVariableContext } from './IVariableContext';\nexport { enableDebug, logger } from './logger';\nexport { isFeatureEnabled } from './options/isFeatureEnabled';\nexport { slugify } from './slugify';\nexport { ValueType } from './types';\n\nexport type {\n ClassNameSlugVars,\n ClassNameFn,\n StrictOptions,\n EvalRule,\n Evaluator,\n FeatureFlag,\n EvaluatorConfig,\n FeatureFlags,\n VariableNameFn,\n} from './options/types';\nexport type {\n Artifact,\n BuildCodeFrameErrorFn,\n ConstValue,\n ExpressionValue,\n FunctionValue,\n ICSSRule,\n LazyValue,\n Location,\n Replacement,\n Replacements,\n Rules,\n WYWEvalMeta,\n} from './types';\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;AAEhC,SAASC,oBAAoB,EAAEC,WAAW,QAAQ,wBAAwB;AAC1E,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,eAAe,QAAQ,mBAAmB;AACnD,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,WAAW,EAAEC,MAAM,QAAQ,UAAU;AAC9C,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,SAAS,QAAQ,SAAS"}
1
+ {"version":3,"file":"index.js","names":["Debugger","asyncResolveFallback","syncResolve","hasEvalMeta","findPackageJSON","isBoxedPrimitive","enableDebug","logger","isFeatureEnabled","slugify","ValueType"],"sources":["../src/index.ts"],"sourcesContent":["export { Debugger } from 'debug';\n\nexport { asyncResolveFallback, syncResolve } from './asyncResolveFallback';\nexport { hasEvalMeta } from './hasEvalMeta';\nexport { findPackageJSON } from './findPackageJSON';\nexport { isBoxedPrimitive } from './isBoxedPrimitive';\nexport { enableDebug, logger } from './logger';\nexport { isFeatureEnabled } from './options/isFeatureEnabled';\nexport { slugify } from './slugify';\nexport { ValueType } from './types';\n\nexport type { IVariableContext } from './IVariableContext';\nexport type {\n ClassNameSlugVars,\n ClassNameFn,\n StrictOptions,\n EvalRule,\n Evaluator,\n FeatureFlag,\n EvaluatorConfig,\n FeatureFlags,\n VariableNameFn,\n} from './options/types';\nexport type {\n Artifact,\n BuildCodeFrameErrorFn,\n ConstValue,\n ExpressionValue,\n FunctionValue,\n ICSSRule,\n LazyValue,\n Location,\n Replacement,\n Replacements,\n Rules,\n WYWEvalMeta,\n} from './types';\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;AAEhC,SAASC,oBAAoB,EAAEC,WAAW,QAAQ,wBAAwB;AAC1E,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,eAAe,QAAQ,mBAAmB;AACnD,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,WAAW,EAAEC,MAAM,QAAQ,UAAU;AAC9C,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,SAAS,QAAQ,SAAS"}
package/lib/index.js CHANGED
@@ -9,12 +9,6 @@ Object.defineProperty(exports, "Debugger", {
9
9
  return _debug.Debugger;
10
10
  }
11
11
  });
12
- Object.defineProperty(exports, "IVariableContext", {
13
- enumerable: true,
14
- get: function () {
15
- return _IVariableContext.IVariableContext;
16
- }
17
- });
18
12
  Object.defineProperty(exports, "ValueType", {
19
13
  enumerable: true,
20
14
  get: function () {
@@ -80,7 +74,6 @@ var _asyncResolveFallback = require("./asyncResolveFallback");
80
74
  var _hasEvalMeta = require("./hasEvalMeta");
81
75
  var _findPackageJSON = require("./findPackageJSON");
82
76
  var _isBoxedPrimitive = require("./isBoxedPrimitive");
83
- var _IVariableContext = require("./IVariableContext");
84
77
  var _logger = require("./logger");
85
78
  var _isFeatureEnabled = require("./options/isFeatureEnabled");
86
79
  var _slugify = require("./slugify");
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_debug","require","_asyncResolveFallback","_hasEvalMeta","_findPackageJSON","_isBoxedPrimitive","_IVariableContext","_logger","_isFeatureEnabled","_slugify","_types"],"sources":["../src/index.ts"],"sourcesContent":["export { Debugger } from 'debug';\n\nexport { asyncResolveFallback, syncResolve } from './asyncResolveFallback';\nexport { hasEvalMeta } from './hasEvalMeta';\nexport { findPackageJSON } from './findPackageJSON';\nexport { isBoxedPrimitive } from './isBoxedPrimitive';\nexport { IVariableContext } from './IVariableContext';\nexport { enableDebug, logger } from './logger';\nexport { isFeatureEnabled } from './options/isFeatureEnabled';\nexport { slugify } from './slugify';\nexport { ValueType } from './types';\n\nexport type {\n ClassNameSlugVars,\n ClassNameFn,\n StrictOptions,\n EvalRule,\n Evaluator,\n FeatureFlag,\n EvaluatorConfig,\n FeatureFlags,\n VariableNameFn,\n} from './options/types';\nexport type {\n Artifact,\n BuildCodeFrameErrorFn,\n ConstValue,\n ExpressionValue,\n FunctionValue,\n ICSSRule,\n LazyValue,\n Location,\n Replacement,\n Replacements,\n Rules,\n WYWEvalMeta,\n} from './types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,qBAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,iBAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,iBAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,MAAA,GAAAT,OAAA"}
1
+ {"version":3,"file":"index.js","names":["_debug","require","_asyncResolveFallback","_hasEvalMeta","_findPackageJSON","_isBoxedPrimitive","_logger","_isFeatureEnabled","_slugify","_types"],"sources":["../src/index.ts"],"sourcesContent":["export { Debugger } from 'debug';\n\nexport { asyncResolveFallback, syncResolve } from './asyncResolveFallback';\nexport { hasEvalMeta } from './hasEvalMeta';\nexport { findPackageJSON } from './findPackageJSON';\nexport { isBoxedPrimitive } from './isBoxedPrimitive';\nexport { enableDebug, logger } from './logger';\nexport { isFeatureEnabled } from './options/isFeatureEnabled';\nexport { slugify } from './slugify';\nexport { ValueType } from './types';\n\nexport type { IVariableContext } from './IVariableContext';\nexport type {\n ClassNameSlugVars,\n ClassNameFn,\n StrictOptions,\n EvalRule,\n Evaluator,\n FeatureFlag,\n EvaluatorConfig,\n FeatureFlags,\n VariableNameFn,\n} from './options/types';\nexport type {\n Artifact,\n BuildCodeFrameErrorFn,\n ConstValue,\n ExpressionValue,\n FunctionValue,\n ICSSRule,\n LazyValue,\n Location,\n Replacement,\n Replacements,\n Rules,\n WYWEvalMeta,\n} from './types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,qBAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AACA,IAAAO,QAAA,GAAAP,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wyw-in-js/shared",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "dependencies": {
5
5
  "debug": "^4.3.4",
6
6
  "find-up": "^5.0.0",
@@ -12,10 +12,10 @@
12
12
  "@types/debug": "^4.1.9",
13
13
  "@types/node": "^16.18.55",
14
14
  "typescript": "^5.2.2",
15
- "@wyw-in-js/babel-config": "0.5.4",
16
- "@wyw-in-js/eslint-config": "0.5.4",
17
- "@wyw-in-js/jest-preset": "0.5.4",
18
- "@wyw-in-js/ts-config": "0.5.4"
15
+ "@wyw-in-js/babel-config": "0.5.5",
16
+ "@wyw-in-js/eslint-config": "0.5.5",
17
+ "@wyw-in-js/jest-preset": "0.5.5",
18
+ "@wyw-in-js/ts-config": "0.5.5"
19
19
  },
20
20
  "engines": {
21
21
  "node": ">=16.0.0"
package/types/index.d.ts CHANGED
@@ -3,10 +3,10 @@ export { asyncResolveFallback, syncResolve } from './asyncResolveFallback';
3
3
  export { hasEvalMeta } from './hasEvalMeta';
4
4
  export { findPackageJSON } from './findPackageJSON';
5
5
  export { isBoxedPrimitive } from './isBoxedPrimitive';
6
- export { IVariableContext } from './IVariableContext';
7
6
  export { enableDebug, logger } from './logger';
8
7
  export { isFeatureEnabled } from './options/isFeatureEnabled';
9
8
  export { slugify } from './slugify';
10
9
  export { ValueType } from './types';
10
+ export type { IVariableContext } from './IVariableContext';
11
11
  export type { ClassNameSlugVars, ClassNameFn, StrictOptions, EvalRule, Evaluator, FeatureFlag, EvaluatorConfig, FeatureFlags, VariableNameFn, } from './options/types';
12
12
  export type { Artifact, BuildCodeFrameErrorFn, ConstValue, ExpressionValue, FunctionValue, ICSSRule, LazyValue, Location, Replacement, Replacements, Rules, WYWEvalMeta, } from './types';