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

@cicada/render

Package Overview
Dependencies
Maintainers
6
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cicada/render - npm Package Compare versions

Comparing version 1.1.3-alpha2 to 1.1.3

8

lib/createStateTree.js

@@ -134,3 +134,5 @@ 'use strict';

function findParentPath(path) {
function findParentPath() {
var path = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
var arr = path.split('.');

@@ -141,3 +143,5 @@ arr.pop();

function findClosestInitialPath(statePath) {
function findClosestInitialPath() {
var statePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
var result = statePath;

@@ -144,0 +148,0 @@ var arr = statePath.split('.');

@@ -42,6 +42,10 @@ 'use strict';

},
split: function split(path) {
split: function split() {
var path = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
return path.split(rxAccess);
},
remove: function remove(obj, path) {
remove: function remove(obj) {
var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
var arr = Array.isArray(path) ? path : path.split(rxAccess);

@@ -48,0 +52,0 @@ var base = arr.length > 1 ? _exist2.default.get(obj, arr.slice(0, arr.length - 1)) : obj;

{
"name": "@cicada/render",
"version": "1.1.3-alpha2",
"version": "1.1.3",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "scripts": {

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