@orpc/interop 1.11.3 → 1.12.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 CHANGED
@@ -2,7 +2,7 @@
2
2
  > This is an internal package. Breaking changes may be introduced without notice - use at your own risk.
3
3
 
4
4
  <div align="center">
5
- <image align="center" src="https://orpc.unnoq.com/logo.webp" width=280 alt="oRPC logo" />
5
+ <image align="center" src="https://orpc.dev/logo.webp" width=280 alt="oRPC logo" />
6
6
  </div>
7
7
 
8
8
  <h1></h1>
@@ -48,7 +48,7 @@
48
48
 
49
49
  ## Documentation
50
50
 
51
- You can find the full documentation [here](https://orpc.unnoq.com).
51
+ You can find the full documentation [here](https://orpc.dev).
52
52
 
53
53
  ## Packages
54
54
 
@@ -73,8 +73,6 @@ A compatibility layer that builds & re-exports upstream packages that don't yet
73
73
 
74
74
  **Included packages:**
75
75
 
76
- - [json-schema-typed](https://www.npmjs.com/package/json-schema-typed) to address issue [RemyRylan/json-schema-typed#116](https://github.com/RemyRylan/json-schema-typed/issues/116)
77
-
78
76
  - [compression](https://www.npmjs.com/package/compression) for esm compatibility
79
77
 
80
78
  ## Sponsors
@@ -993,7 +993,7 @@ var hasRequiredSafeBuffer;
993
993
  function requireSafeBuffer () {
994
994
  if (hasRequiredSafeBuffer) return safeBuffer.exports;
995
995
  hasRequiredSafeBuffer = 1;
996
- (function (module, exports) {
996
+ (function (module, exports$1) {
997
997
  /* eslint-disable node/no-deprecated-api */
998
998
  var buffer = require$$0;
999
999
  var Buffer = buffer.Buffer;
@@ -1008,8 +1008,8 @@ function requireSafeBuffer () {
1008
1008
  module.exports = buffer;
1009
1009
  } else {
1010
1010
  // Copy properties from require('buffer')
1011
- copyProps(buffer, exports);
1012
- exports.Buffer = SafeBuffer;
1011
+ copyProps(buffer, exports$1);
1012
+ exports$1.Buffer = SafeBuffer;
1013
1013
  }
1014
1014
 
1015
1015
  function SafeBuffer (arg, encodingOrOffset, length) {
@@ -13163,7 +13163,7 @@ var hasRequiredDebug;
13163
13163
  function requireDebug () {
13164
13164
  if (hasRequiredDebug) return debug.exports;
13165
13165
  hasRequiredDebug = 1;
13166
- (function (module, exports) {
13166
+ (function (module, exports$1) {
13167
13167
  /**
13168
13168
  * This is the common logic for both the Node.js and web browser
13169
13169
  * implementations of `debug()`.
@@ -13171,19 +13171,19 @@ function requireDebug () {
13171
13171
  * Expose `debug()` as the module.
13172
13172
  */
13173
13173
 
13174
- exports = module.exports = createDebug.debug = createDebug['default'] = createDebug;
13175
- exports.coerce = coerce;
13176
- exports.disable = disable;
13177
- exports.enable = enable;
13178
- exports.enabled = enabled;
13179
- exports.humanize = requireMs();
13174
+ exports$1 = module.exports = createDebug.debug = createDebug['default'] = createDebug;
13175
+ exports$1.coerce = coerce;
13176
+ exports$1.disable = disable;
13177
+ exports$1.enable = enable;
13178
+ exports$1.enabled = enabled;
13179
+ exports$1.humanize = requireMs();
13180
13180
 
13181
13181
  /**
13182
13182
  * The currently active debug mode names, and names to skip.
13183
13183
  */
13184
13184
 
13185
- exports.names = [];
13186
- exports.skips = [];
13185
+ exports$1.names = [];
13186
+ exports$1.skips = [];
13187
13187
 
13188
13188
  /**
13189
13189
  * Map of special "%n" handling functions, for the debug "format" argument.
@@ -13191,7 +13191,7 @@ function requireDebug () {
13191
13191
  * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
13192
13192
  */
13193
13193
 
13194
- exports.formatters = {};
13194
+ exports$1.formatters = {};
13195
13195
 
13196
13196
  /**
13197
13197
  * Previous log timestamp.
@@ -13214,7 +13214,7 @@ function requireDebug () {
13214
13214
  hash |= 0; // Convert to 32bit integer
13215
13215
  }
13216
13216
 
13217
- return exports.colors[Math.abs(hash) % exports.colors.length];
13217
+ return exports$1.colors[Math.abs(hash) % exports$1.colors.length];
13218
13218
  }
13219
13219
 
13220
13220
  /**
@@ -13247,7 +13247,7 @@ function requireDebug () {
13247
13247
  args[i] = arguments[i];
13248
13248
  }
13249
13249
 
13250
- args[0] = exports.coerce(args[0]);
13250
+ args[0] = exports$1.coerce(args[0]);
13251
13251
 
13252
13252
  if ('string' !== typeof args[0]) {
13253
13253
  // anything else let's inspect with %O
@@ -13260,7 +13260,7 @@ function requireDebug () {
13260
13260
  // if we encounter an escaped % then don't increase the array index
13261
13261
  if (match === '%%') return match;
13262
13262
  index++;
13263
- var formatter = exports.formatters[format];
13263
+ var formatter = exports$1.formatters[format];
13264
13264
  if ('function' === typeof formatter) {
13265
13265
  var val = args[index];
13266
13266
  match = formatter.call(self, val);
@@ -13273,20 +13273,20 @@ function requireDebug () {
13273
13273
  });
13274
13274
 
13275
13275
  // apply env-specific formatting (colors, etc.)
13276
- exports.formatArgs.call(self, args);
13276
+ exports$1.formatArgs.call(self, args);
13277
13277
 
13278
- var logFn = debug.log || exports.log || console.log.bind(console);
13278
+ var logFn = debug.log || exports$1.log || console.log.bind(console);
13279
13279
  logFn.apply(self, args);
13280
13280
  }
13281
13281
 
13282
13282
  debug.namespace = namespace;
13283
- debug.enabled = exports.enabled(namespace);
13284
- debug.useColors = exports.useColors();
13283
+ debug.enabled = exports$1.enabled(namespace);
13284
+ debug.useColors = exports$1.useColors();
13285
13285
  debug.color = selectColor(namespace);
13286
13286
 
13287
13287
  // env-specific initialization logic for debug instances
13288
- if ('function' === typeof exports.init) {
13289
- exports.init(debug);
13288
+ if ('function' === typeof exports$1.init) {
13289
+ exports$1.init(debug);
13290
13290
  }
13291
13291
 
13292
13292
  return debug;
@@ -13301,10 +13301,10 @@ function requireDebug () {
13301
13301
  */
13302
13302
 
13303
13303
  function enable(namespaces) {
13304
- exports.save(namespaces);
13304
+ exports$1.save(namespaces);
13305
13305
 
13306
- exports.names = [];
13307
- exports.skips = [];
13306
+ exports$1.names = [];
13307
+ exports$1.skips = [];
13308
13308
 
13309
13309
  var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/);
13310
13310
  var len = split.length;
@@ -13313,9 +13313,9 @@ function requireDebug () {
13313
13313
  if (!split[i]) continue; // ignore empty strings
13314
13314
  namespaces = split[i].replace(/\*/g, '.*?');
13315
13315
  if (namespaces[0] === '-') {
13316
- exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
13316
+ exports$1.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
13317
13317
  } else {
13318
- exports.names.push(new RegExp('^' + namespaces + '$'));
13318
+ exports$1.names.push(new RegExp('^' + namespaces + '$'));
13319
13319
  }
13320
13320
  }
13321
13321
  }
@@ -13327,7 +13327,7 @@ function requireDebug () {
13327
13327
  */
13328
13328
 
13329
13329
  function disable() {
13330
- exports.enable('');
13330
+ exports$1.enable('');
13331
13331
  }
13332
13332
 
13333
13333
  /**
@@ -13340,13 +13340,13 @@ function requireDebug () {
13340
13340
 
13341
13341
  function enabled(name) {
13342
13342
  var i, len;
13343
- for (i = 0, len = exports.skips.length; i < len; i++) {
13344
- if (exports.skips[i].test(name)) {
13343
+ for (i = 0, len = exports$1.skips.length; i < len; i++) {
13344
+ if (exports$1.skips[i].test(name)) {
13345
13345
  return false;
13346
13346
  }
13347
13347
  }
13348
- for (i = 0, len = exports.names.length; i < len; i++) {
13349
- if (exports.names[i].test(name)) {
13348
+ for (i = 0, len = exports$1.names.length; i < len; i++) {
13349
+ if (exports$1.names[i].test(name)) {
13350
13350
  return true;
13351
13351
  }
13352
13352
  }
@@ -13380,14 +13380,14 @@ var hasRequiredBrowser;
13380
13380
  function requireBrowser () {
13381
13381
  if (hasRequiredBrowser) return browser.exports;
13382
13382
  hasRequiredBrowser = 1;
13383
- (function (module, exports) {
13384
- exports = module.exports = requireDebug();
13385
- exports.log = log;
13386
- exports.formatArgs = formatArgs;
13387
- exports.save = save;
13388
- exports.load = load;
13389
- exports.useColors = useColors;
13390
- exports.storage = 'undefined' != typeof chrome
13383
+ (function (module, exports$1) {
13384
+ exports$1 = module.exports = requireDebug();
13385
+ exports$1.log = log;
13386
+ exports$1.formatArgs = formatArgs;
13387
+ exports$1.save = save;
13388
+ exports$1.load = load;
13389
+ exports$1.useColors = useColors;
13390
+ exports$1.storage = 'undefined' != typeof chrome
13391
13391
  && 'undefined' != typeof chrome.storage
13392
13392
  ? chrome.storage.local
13393
13393
  : localstorage();
@@ -13396,7 +13396,7 @@ function requireBrowser () {
13396
13396
  * Colors.
13397
13397
  */
13398
13398
 
13399
- exports.colors = [
13399
+ exports$1.colors = [
13400
13400
  'lightseagreen',
13401
13401
  'forestgreen',
13402
13402
  'goldenrod',
@@ -13437,7 +13437,7 @@ function requireBrowser () {
13437
13437
  * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
13438
13438
  */
13439
13439
 
13440
- exports.formatters.j = function(v) {
13440
+ exports$1.formatters.j = function(v) {
13441
13441
  try {
13442
13442
  return JSON.stringify(v);
13443
13443
  } catch (err) {
@@ -13460,7 +13460,7 @@ function requireBrowser () {
13460
13460
  + (useColors ? ' %c' : ' ')
13461
13461
  + args[0]
13462
13462
  + (useColors ? '%c ' : ' ')
13463
- + '+' + exports.humanize(this.diff);
13463
+ + '+' + exports$1.humanize(this.diff);
13464
13464
 
13465
13465
  if (!useColors) return;
13466
13466
 
@@ -13510,9 +13510,9 @@ function requireBrowser () {
13510
13510
  function save(namespaces) {
13511
13511
  try {
13512
13512
  if (null == namespaces) {
13513
- exports.storage.removeItem('debug');
13513
+ exports$1.storage.removeItem('debug');
13514
13514
  } else {
13515
- exports.storage.debug = namespaces;
13515
+ exports$1.storage.debug = namespaces;
13516
13516
  }
13517
13517
  } catch(e) {}
13518
13518
  }
@@ -13527,7 +13527,7 @@ function requireBrowser () {
13527
13527
  function load() {
13528
13528
  var r;
13529
13529
  try {
13530
- r = exports.storage.debug;
13530
+ r = exports$1.storage.debug;
13531
13531
  } catch(e) {}
13532
13532
 
13533
13533
  // If debug isn't set in LS, and we're in Electron, try to load $DEBUG
@@ -13542,7 +13542,7 @@ function requireBrowser () {
13542
13542
  * Enable namespaces listed in `localStorage.debug` initially.
13543
13543
  */
13544
13544
 
13545
- exports.enable(load());
13545
+ exports$1.enable(load());
13546
13546
 
13547
13547
  /**
13548
13548
  * Localstorage attempts to return the localstorage.
@@ -13575,7 +13575,7 @@ var hasRequiredNode;
13575
13575
  function requireNode () {
13576
13576
  if (hasRequiredNode) return node.exports;
13577
13577
  hasRequiredNode = 1;
13578
- (function (module, exports) {
13578
+ (function (module, exports$1) {
13579
13579
  var tty = require$$0$1;
13580
13580
  var util = require$$1;
13581
13581
 
@@ -13585,19 +13585,19 @@ function requireNode () {
13585
13585
  * Expose `debug()` as the module.
13586
13586
  */
13587
13587
 
13588
- exports = module.exports = requireDebug();
13589
- exports.init = init;
13590
- exports.log = log;
13591
- exports.formatArgs = formatArgs;
13592
- exports.save = save;
13593
- exports.load = load;
13594
- exports.useColors = useColors;
13588
+ exports$1 = module.exports = requireDebug();
13589
+ exports$1.init = init;
13590
+ exports$1.log = log;
13591
+ exports$1.formatArgs = formatArgs;
13592
+ exports$1.save = save;
13593
+ exports$1.load = load;
13594
+ exports$1.useColors = useColors;
13595
13595
 
13596
13596
  /**
13597
13597
  * Colors.
13598
13598
  */
13599
13599
 
13600
- exports.colors = [6, 2, 3, 4, 5, 1];
13600
+ exports$1.colors = [6, 2, 3, 4, 5, 1];
13601
13601
 
13602
13602
  /**
13603
13603
  * Build up the default `inspectOpts` object from the environment variables.
@@ -13605,7 +13605,7 @@ function requireNode () {
13605
13605
  * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
13606
13606
  */
13607
13607
 
13608
- exports.inspectOpts = Object.keys(process.env).filter(function (key) {
13608
+ exports$1.inspectOpts = Object.keys(process.env).filter(function (key) {
13609
13609
  return /^debug_/i.test(key);
13610
13610
  }).reduce(function (obj, key) {
13611
13611
  // camel-case
@@ -13647,8 +13647,8 @@ function requireNode () {
13647
13647
  */
13648
13648
 
13649
13649
  function useColors() {
13650
- return 'colors' in exports.inspectOpts
13651
- ? Boolean(exports.inspectOpts.colors)
13650
+ return 'colors' in exports$1.inspectOpts
13651
+ ? Boolean(exports$1.inspectOpts.colors)
13652
13652
  : tty.isatty(fd);
13653
13653
  }
13654
13654
 
@@ -13656,7 +13656,7 @@ function requireNode () {
13656
13656
  * Map %o to `util.inspect()`, all on a single line.
13657
13657
  */
13658
13658
 
13659
- exports.formatters.o = function(v) {
13659
+ exports$1.formatters.o = function(v) {
13660
13660
  this.inspectOpts.colors = this.useColors;
13661
13661
  return util.inspect(v, this.inspectOpts)
13662
13662
  .split('\n').map(function(str) {
@@ -13668,7 +13668,7 @@ function requireNode () {
13668
13668
  * Map %o to `util.inspect()`, allowing multiple lines if needed.
13669
13669
  */
13670
13670
 
13671
- exports.formatters.O = function(v) {
13671
+ exports$1.formatters.O = function(v) {
13672
13672
  this.inspectOpts.colors = this.useColors;
13673
13673
  return util.inspect(v, this.inspectOpts);
13674
13674
  };
@@ -13688,7 +13688,7 @@ function requireNode () {
13688
13688
  var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m';
13689
13689
 
13690
13690
  args[0] = prefix + args[0].split('\n').join('\n' + prefix);
13691
- args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m');
13691
+ args.push('\u001b[3' + c + 'm+' + exports$1.humanize(this.diff) + '\u001b[0m');
13692
13692
  } else {
13693
13693
  args[0] = new Date().toUTCString()
13694
13694
  + ' ' + name + ' ' + args[0];
@@ -13809,9 +13809,9 @@ function requireNode () {
13809
13809
  function init (debug) {
13810
13810
  debug.inspectOpts = {};
13811
13811
 
13812
- var keys = Object.keys(exports.inspectOpts);
13812
+ var keys = Object.keys(exports$1.inspectOpts);
13813
13813
  for (var i = 0; i < keys.length; i++) {
13814
- debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
13814
+ debug.inspectOpts[keys[i]] = exports$1.inspectOpts[keys[i]];
13815
13815
  }
13816
13816
  }
13817
13817
 
@@ -13819,7 +13819,7 @@ function requireNode () {
13819
13819
  * Enable namespaces listed in `process.env.DEBUG` initially.
13820
13820
  */
13821
13821
 
13822
- exports.enable(load());
13822
+ exports$1.enable(load());
13823
13823
  } (node, node.exports));
13824
13824
  return node.exports;
13825
13825
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@orpc/interop",
3
3
  "type": "module",
4
- "version": "1.11.3",
4
+ "version": "1.12.1",
5
5
  "license": "MIT",
6
- "homepage": "https://orpc.unnoq.com",
6
+ "homepage": "https://orpc.dev",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/unnoq/orpc.git",
@@ -14,26 +14,6 @@
14
14
  "orpc"
15
15
  ],
16
16
  "exports": {
17
- "./json-schema-typed": {
18
- "types": "./dist/json-schema-typed/index.d.mts",
19
- "import": "./dist/json-schema-typed/index.mjs",
20
- "default": "./dist/json-schema-typed/index.mjs"
21
- },
22
- "./json-schema-typed/draft-07": {
23
- "types": "./dist/json-schema-typed/draft-07.d.mts",
24
- "import": "./dist/json-schema-typed/draft-07.mjs",
25
- "default": "./dist/json-schema-typed/draft-07.mjs"
26
- },
27
- "./json-schema-typed/draft-2019-09": {
28
- "types": "./dist/json-schema-typed/draft-2019-09.d.mts",
29
- "import": "./dist/json-schema-typed/draft-2019-09.mjs",
30
- "default": "./dist/json-schema-typed/draft-2019-09.mjs"
31
- },
32
- "./json-schema-typed/draft-2020-12": {
33
- "types": "./dist/json-schema-typed/draft-2020-12.d.mts",
34
- "import": "./dist/json-schema-typed/draft-2020-12.mjs",
35
- "default": "./dist/json-schema-typed/draft-2020-12.mjs"
36
- },
37
17
  "./compression": {
38
18
  "types": "./dist/compression/index.d.mts",
39
19
  "import": "./dist/compression/index.mjs",
@@ -45,8 +25,7 @@
45
25
  ],
46
26
  "devDependencies": {
47
27
  "@types/compression": "^1.8.1",
48
- "compression": "^1.8.1",
49
- "json-schema-typed": "^8.0.1"
28
+ "compression": "^1.8.1"
50
29
  },
51
30
  "scripts": {
52
31
  "build": "unbuild",