mol_crypto2_lib 0.0.47 → 0.0.48

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/node.mjs CHANGED
@@ -1125,6 +1125,12 @@ var $;
1125
1125
  // [ Symbol.toPrimitive ]() {
1126
1126
  // return this.toString()
1127
1127
  // }
1128
+ match(...args) {
1129
+ return this.toString().match(...args);
1130
+ }
1131
+ split(...args) {
1132
+ return this.toString().split(...args);
1133
+ }
1128
1134
  toString() {
1129
1135
  return this.join('\n');
1130
1136
  }
package/node.test.js CHANGED
@@ -1116,6 +1116,12 @@ var $;
1116
1116
  // [ Symbol.toPrimitive ]() {
1117
1117
  // return this.toString()
1118
1118
  // }
1119
+ match(...args) {
1120
+ return this.toString().match(...args);
1121
+ }
1122
+ split(...args) {
1123
+ return this.toString().split(...args);
1124
+ }
1119
1125
  toString() {
1120
1126
  return this.join('\n');
1121
1127
  }