Socket
Socket
Sign inDemoInstall

symfony-collection-js

Package Overview
Dependencies
178
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.0 to 4.2.1

2

example/triply_nested_collection_example_with_jquery_AMD_requiresJS/js/app/main.js

@@ -19,3 +19,2 @@ define(["jquery", "symfonyCollectionJs"], function($) {

prototype_name: '__subname__',
call_post_add_on_init: true,
post_add: function(new_elem, context) {

@@ -28,2 +27,3 @@ $(new_elem).find('.sub-sub-collection-root').formCollection({

btn_down_selector: '.sub-sub-collection-elem-down',
call_post_add_on_init: false,
prototype_name: '__subsubname__'

@@ -30,0 +30,0 @@ });

@@ -441,3 +441,2 @@ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){

prototype_name: '__subname__',
call_post_add_on_init: true,
post_add: function(new_elem, context) {

@@ -450,2 +449,3 @@ $(new_elem).find('.sub-sub-collection-root').formCollection({

btn_down_selector: '.sub-sub-collection-elem-down',
call_post_add_on_init: false,
prototype_name: '__subsubname__'

@@ -452,0 +452,0 @@ });

@@ -21,3 +21,2 @@ require('./lib/symfonyCollectionJs.js');

prototype_name: '__subname__',
call_post_add_on_init: true,
post_add: function(new_elem, context) {

@@ -30,2 +29,3 @@ $(new_elem).find('.sub-sub-collection-root').formCollection({

btn_down_selector: '.sub-sub-collection-elem-down',
call_post_add_on_init: false,
prototype_name: '__subsubname__'

@@ -32,0 +32,0 @@ });

{
"name": "symfony-collection-js",
"version": "4.2.0",
"version": "4.2.1",
"description": "A plugin working with and without jquery to dynamically create elements of a symfony form collection.",

@@ -12,3 +12,3 @@ "main": "symfonyCollectionJs.js",

"devDependencies": {
"karma": "^6.3.4",
"karma": "^6.3.5",
"karma-chrome-launcher": "^3.1.0",

@@ -18,3 +18,3 @@ "karma-coverage": "^2.0.3",

"karma-qunit": "^4.1.2",
"qunit": "^2.16.0"
"qunit": "^2.17.2"
},

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

@@ -18,3 +18,3 @@ # symfonyCollectionJs ![GitHub](https://img.shields.io/github/license/ruano-a/symfonyCollectionJs) ![Maintenance](https://img.shields.io/maintenance/yes/2021) ![GitHub last commit](https://img.shields.io/github/last-commit/ruano-a/symfonyCollectionJs) ![npm](https://img.shields.io/npm/dm/symfony-collection-js?label=npm%20downloads) [![](https://data.jsdelivr.com/v1/package/npm/symfony-collection-js/badge)](https://www.jsdelivr.com/package/npm/symfony-collection-js) [![codecov](https://codecov.io/gh/ruano-a/symfonyCollectionJs/branch/master/graph/badge.svg?token=Z93Y3NTP1Q)](https://codecov.io/gh/ruano-a/symfonyCollectionJs) ![npm bundle size](https://img.shields.io/bundlephobia/min/symfony-collection-js) ![Dependencies](https://badgen.net/bundlephobia/dependency-count/symfony-collection-js) ![Badge count](https://img.shields.io/badge/badge%20count-enough%20%3C3-blue)

```html
<script src="https://cdn.jsdelivr.net/gh/ruano-a/symfonyCollectionJs@4.1.0/symfonyCollectionJs.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ruano-a/symfonyCollectionJs@4.2.1/symfonyCollectionJs.min.js"></script>
```

@@ -114,7 +114,7 @@

# Any advanced example ?
# Any advanced example?
Yes ! in the example folder, with and without jQuery, with and without loader.
# Can I use this package without symfony ?
# Can I use this package without symfony?

@@ -124,2 +124,6 @@ Absolutely, you only need to have the data-prototype attribute properly set.

# Is there a Symfony UX integration?
Yes! Just there : [UX Collection JS](https://github.com/tienvx/ux-collection-js)
# Requirement

@@ -126,0 +130,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc