@prisma/schema-files-loader 6.6.0-dev.9 → 6.6.0-dev.90

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 (2) hide show
  1. package/dist/index.js +3 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -5,7 +5,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
8
  var __export = (target, all) => {
10
9
  for (var name in all)
11
10
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -27,7 +26,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
26
  mod
28
27
  ));
29
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
31
29
 
32
30
  // src/index.ts
33
31
  var index_exports = {};
@@ -62,9 +60,9 @@ var CompositeFilesResolver = class {
62
60
  constructor(primary, secondary, options) {
63
61
  this.primary = primary;
64
62
  this.secondary = secondary;
65
- __publicField(this, "_fileNameToKey");
66
63
  this._fileNameToKey = createFileNameToKeyMapper(options);
67
64
  }
65
+ _fileNameToKey;
68
66
  async listDirContents(path3) {
69
67
  const primaryContent = await this.primary.listDirContents(path3);
70
68
  const secondaryContent = await this.secondary.listDirContents(path3);
@@ -90,9 +88,9 @@ function uniqueWith(fileNames, toKey) {
90
88
 
91
89
  // src/resolver/InMemoryFilesResolver.ts
92
90
  var InMemoryFilesResolver = class {
91
+ _tree = {};
92
+ _fileNameToKey;
93
93
  constructor(options) {
94
- __publicField(this, "_tree", {});
95
- __publicField(this, "_fileNameToKey");
96
94
  this._fileNameToKey = createFileNameToKeyMapper(options);
97
95
  }
98
96
  addFile(absolutePath, content) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/schema-files-loader",
3
- "version": "6.6.0-dev.9",
3
+ "version": "6.6.0-dev.90",
4
4
  "description": "Package for resolving and loading schema files when schema is split into multiple files",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  ],
17
17
  "sideEffects": false,
18
18
  "dependencies": {
19
- "@prisma/prisma-schema-wasm": "6.6.0-8.725ea6aafbde3109ce0f840593ac739332fe78a2",
19
+ "@prisma/prisma-schema-wasm": "6.6.0-45.fbda4d61f6cc9c7361b803e72f3a0ffeb87db447",
20
20
  "fs-extra": "11.3.0"
21
21
  },
22
22
  "devDependencies": {