@dialecte/scl 0.2.4 → 0.2.6

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.
@@ -1,30 +1,35 @@
1
- import { CUSTOM_RECORD_ID_ATTRIBUTE as u, CUSTOM_RECORD_ID_ATTRIBUTE_NAME as I } from "@dialecte/core/helpers";
2
- import { createTestRunner as o, createTestRecordFactory as n, createXmlAssertions as S, XMLNS_DEV_NAMESPACE as E, createTestProject as a } from "@dialecte/core/test";
3
- import { S as e, H as t } from "../dialecte.config-BkqCz0VE.js";
4
- const _ = 'xmlns="http://www.iec.ch/61850/2003/SCL"', C = 'xmlns:eIEC61850-6-100="http://www.iec.ch/61850/2019/SCL/6-100"', A = `${_} ${C} ${E}`, L = o(e, t);
5
- async function l(s) {
6
- const { sourceXml: c, targetXml: r } = s;
7
- return a({
8
- sourceXml: c,
9
- targetXml: r,
1
+ import { CUSTOM_RECORD_ID_ATTRIBUTE as X, CUSTOM_RECORD_ID_ATTRIBUTE_NAME as x } from "@dialecte/core/helpers";
2
+ import { createTestRunner as r, createTestRecordFactory as S, createXmlAssertions as E, XMLNS_DEV_NAMESPACE as a, createTestProject as _ } from "@dialecte/core/test";
3
+ import { b as C, H as t, a as e } from "../index-BsKA2oVp.js";
4
+ const T = 'xmlns="http://www.iec.ch/61850/2003/SCL"', L = 'xmlns:eIEC61850-6-100="http://www.iec.ch/61850/2019/SCL/6-100"', A = `${T} ${L} ${a}`, s = { base: C }, N = r({
5
+ dialecteConfig: e,
6
+ hooks: t,
7
+ extensions: s
8
+ });
9
+ async function l(c) {
10
+ const { sourceXml: o, targetXml: n } = c;
11
+ return _({
12
+ sourceXml: o,
13
+ targetXml: n,
10
14
  dialecteConfig: e,
15
+ extensions: s,
11
16
  hooks: t
12
17
  });
13
18
  }
14
- const M = n(e), { assertExpectedElementQueries: i, assertUnexpectedElementQueries: p } = S(
19
+ const M = S(e), { assertExpectedElementQueries: p, assertUnexpectedElementQueries: O } = E(
15
20
  {
16
21
  namespaces: e.namespaces
17
22
  }
18
23
  );
19
24
  export {
20
25
  A as ALL_XMLNS_NAMESPACES,
21
- u as CUSTOM_RECORD_ID_ATTRIBUTE,
22
- I as CUSTOM_RECORD_ID_ATTRIBUTE_NAME,
23
- C as XMLNS_SCL_6_100_NAMESPACE,
24
- _ as XMLNS_SCL_NAMESPACE,
25
- i as assertExpectedElementQueries,
26
- p as assertUnexpectedElementQueries,
26
+ X as CUSTOM_RECORD_ID_ATTRIBUTE,
27
+ x as CUSTOM_RECORD_ID_ATTRIBUTE_NAME,
28
+ L as XMLNS_SCL_6_100_NAMESPACE,
29
+ T as XMLNS_SCL_NAMESPACE,
30
+ p as assertExpectedElementQueries,
31
+ O as assertUnexpectedElementQueries,
27
32
  l as createSclTestProject,
28
33
  M as createSclTestRecord,
29
- L as runSclTestCases
34
+ N as runSclTestCases
30
35
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialecte/scl",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "Dialecte - SCL (Substation Configuration Language) sdk",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -47,7 +47,7 @@
47
47
  "prepare": "husky"
48
48
  },
49
49
  "dependencies": {
50
- "@dialecte/core": "0.2.9",
50
+ "@dialecte/core": "0.2.10",
51
51
  "dexie": "4.2.0"
52
52
  },
53
53
  "devDependencies": {