occam-verify-cli 0.0.516 → 0.0.518
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/lib/type/object.js +118 -0
- package/package.json +3 -3
- package/src/type/object.js +9 -0
- package/src/typeNames.js +3 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "default", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return ObjectType;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _type = /*#__PURE__*/ _interopRequireDefault(require("../type"));
|
|
12
|
+
function _assertThisInitialized(self) {
|
|
13
|
+
if (self === void 0) {
|
|
14
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15
|
+
}
|
|
16
|
+
return self;
|
|
17
|
+
}
|
|
18
|
+
function _classCallCheck(instance, Constructor) {
|
|
19
|
+
if (!(instance instanceof Constructor)) {
|
|
20
|
+
throw new TypeError("Cannot call a class as a function");
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function _defineProperties(target, props) {
|
|
24
|
+
for(var i = 0; i < props.length; i++){
|
|
25
|
+
var descriptor = props[i];
|
|
26
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
27
|
+
descriptor.configurable = true;
|
|
28
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
29
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
33
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
34
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
35
|
+
return Constructor;
|
|
36
|
+
}
|
|
37
|
+
function _getPrototypeOf(o) {
|
|
38
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
39
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
40
|
+
};
|
|
41
|
+
return _getPrototypeOf(o);
|
|
42
|
+
}
|
|
43
|
+
function _inherits(subClass, superClass) {
|
|
44
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
45
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
46
|
+
}
|
|
47
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
48
|
+
constructor: {
|
|
49
|
+
value: subClass,
|
|
50
|
+
writable: true,
|
|
51
|
+
configurable: true
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
55
|
+
}
|
|
56
|
+
function _interopRequireDefault(obj) {
|
|
57
|
+
return obj && obj.__esModule ? obj : {
|
|
58
|
+
default: obj
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function _possibleConstructorReturn(self, call) {
|
|
62
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
63
|
+
return call;
|
|
64
|
+
}
|
|
65
|
+
return _assertThisInitialized(self);
|
|
66
|
+
}
|
|
67
|
+
function _setPrototypeOf(o, p) {
|
|
68
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
69
|
+
o.__proto__ = p;
|
|
70
|
+
return o;
|
|
71
|
+
};
|
|
72
|
+
return _setPrototypeOf(o, p);
|
|
73
|
+
}
|
|
74
|
+
var _typeof = function(obj) {
|
|
75
|
+
"@swc/helpers - typeof";
|
|
76
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
77
|
+
};
|
|
78
|
+
function _isNativeReflectConstruct() {
|
|
79
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
80
|
+
if (Reflect.construct.sham) return false;
|
|
81
|
+
if (typeof Proxy === "function") return true;
|
|
82
|
+
try {
|
|
83
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
84
|
+
return true;
|
|
85
|
+
} catch (e) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function _createSuper(Derived) {
|
|
90
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
91
|
+
return function _createSuperInternal() {
|
|
92
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
93
|
+
if (hasNativeReflectConstruct) {
|
|
94
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
95
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
96
|
+
} else {
|
|
97
|
+
result = Super.apply(this, arguments);
|
|
98
|
+
}
|
|
99
|
+
return _possibleConstructorReturn(this, result);
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
var ObjectType = /*#__PURE__*/ function(Type) {
|
|
103
|
+
_inherits(ObjectType, Type);
|
|
104
|
+
var _super = _createSuper(ObjectType);
|
|
105
|
+
function ObjectType() {
|
|
106
|
+
_classCallCheck(this, ObjectType);
|
|
107
|
+
return _super.apply(this, arguments);
|
|
108
|
+
}
|
|
109
|
+
_createClass(ObjectType, null, [
|
|
110
|
+
{
|
|
111
|
+
key: "fromNothing",
|
|
112
|
+
value: function fromNothing() {}
|
|
113
|
+
}
|
|
114
|
+
]);
|
|
115
|
+
return ObjectType;
|
|
116
|
+
}(_type.default);
|
|
117
|
+
|
|
118
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90eXBlL29iamVjdC5qcyIsIjw8anN4LWNvbmZpZy1wcmFnbWEuanM+PiJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IFR5cGUgZnJvbSBcIi4uL3R5cGVcIjtcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgT2JqZWN0VHlwZSBleHRlbmRzIFR5cGUge1xuICBzdGF0aWMgZnJvbU5vdGhpbmcoKSB7XG5cbiAgfVxufSIsIlJlYWN0LmNyZWF0ZUVsZW1lbnQiXSwibmFtZXMiOlsiT2JqZWN0VHlwZSIsImZyb21Ob3RoaW5nIiwiVHlwZSJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7ZUFJcUJBOzs7eURBRko7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFRixJQUFBLEFBQU1BLDJCQUFOO2NBQU1BOzhCQUFBQTthQUFBQTs4QkFBQUE7OztpQkFBQUE7O1lBQ1pDLEtBQUFBO21CQUFQLFNBQU9BLGNBQWMsQ0FFckI7OztXQUhtQkQ7RUFBbUJFLGFBQUkifQ==
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "occam-verify-cli",
|
|
3
3
|
"author": "James Smith",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.518",
|
|
5
5
|
"license": "MIT, Anti-996",
|
|
6
6
|
"homepage": "https://github.com/djalbat/occam-verify-cli",
|
|
7
7
|
"description": "Occam's Verifier",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"argumentative": "^2.0.21",
|
|
14
14
|
"necessary": "^11.2.1",
|
|
15
|
-
"occam-custom-grammars": "^5.0.
|
|
15
|
+
"occam-custom-grammars": "^5.0.394",
|
|
16
16
|
"occam-dom": "^3.1.1",
|
|
17
|
-
"occam-file-system": "^5.0.
|
|
17
|
+
"occam-file-system": "^5.0.156",
|
|
18
18
|
"occam-grammar-utilities": "^7.0.66"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
package/src/typeNames.js
ADDED