Comparing version 0.0.19 to 0.0.20
@@ -27,2 +27,6 @@ 'use strict'; | ||
var _utilsToArray = require('../../utils/toArray'); | ||
var _utilsToArray2 = _interopRequireDefault(_utilsToArray); | ||
var Scope = (function () { | ||
@@ -267,3 +271,3 @@ function Scope(_ref) { | ||
get: function get() { | ||
return [].concat.apply([], Array.from(this._variables.values())); | ||
return [].concat.apply([], (0, _utilsToArray2['default'])(this._variables.values())); | ||
} | ||
@@ -273,3 +277,3 @@ }, { | ||
get: function get() { | ||
return [].concat.apply([], Array.from(this._references.values())); | ||
return [].concat.apply([], (0, _utilsToArray2['default'])(this._references.values())); | ||
} | ||
@@ -276,0 +280,0 @@ }, { |
@@ -9,4 +9,10 @@ 'use strict'; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
var _utilsToArray = require('../../utils/toArray'); | ||
var _utilsToArray2 = _interopRequireDefault(_utilsToArray); | ||
var Variable = (function () { | ||
@@ -93,3 +99,3 @@ function Variable(_ref) { | ||
get: function get() { | ||
return Array.from(this._definitions); | ||
return (0, _utilsToArray2['default'])(this._definitions); | ||
} | ||
@@ -99,3 +105,3 @@ }, { | ||
get: function get() { | ||
return Array.from(this._references); | ||
return (0, _utilsToArray2['default'])(this._references); | ||
} | ||
@@ -102,0 +108,0 @@ }]); |
{ | ||
"name": "cst", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "JavaScript CST Implementation", | ||
@@ -5,0 +5,0 @@ "author": "Marat Dulin", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
522938
125
8387