Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cst

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cst - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

lib/utils/toArray.js

8

lib/plugins/scopes/Scope.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc