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

can-view-import

Package Overview
Dependencies
Maintainers
5
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-view-import - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

14

can-view-import.js
var assign = require('can-util/js/assign/assign');
var canData = require('can-util/dom/data/data');
var DOCUMENT = require("can-util/dom/document/document");
var getChildNodes = require('can-util/dom/child-nodes/child-nodes');
var importer = require('can-util/js/import/import');
var mutate = require("can-util/dom/mutate/mutate");
var nodeLists = require('can-view-nodelist');

@@ -50,5 +52,7 @@ var tag = require('can-view-callbacks').tag;

tagData.subtemplate(scope, tagData.options) :
document.createDocumentFragment();
DOCUMENT().createDocumentFragment();
var nodeList = nodeLists.register([], undefined, true);
var nodeList = nodeLists.register([], undefined, tagData.parentNodeList || true);
nodeList.expression = "<can-import>";
events.one.call(el, "removed", function(){

@@ -58,5 +62,5 @@ nodeLists.unregister(nodeList);

el.appendChild(frag);
nodeLists.update(nodeList, el.childNodes);
mutate.appendChild.call(el, frag);
nodeLists.update(nodeList, getChildNodes(el));
}
});
var stealTools = require("steal-tools");
stealTools.export({
system: {
steal: {
config: __dirname + "/package.json!npm"

@@ -13,7 +13,7 @@ },

}).catch(function(e){
setTimeout(function(){
throw e;
},1);
});

@@ -13,19 +13,19 @@ {

},
"/Users/marshall/Sites/canjs-repos/can-view-import/node_modules/steal-stache"
"/Users/matthew/dev/can-view-import/node_modules/steal-stache"
]
],
"_from": "can-view-import@>=3.0.3 <4.0.0",
"_id": "can-view-import@3.0.4",
"_id": "can-view-import@3.0.6",
"_inCache": true,
"_location": "/can-view-import",
"_nodeVersion": "6.3.1",
"_nodeVersion": "7.6.0",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/can-view-import-3.0.4.tgz_1482171029691_0.8530249858740717"
"tmp": "tmp/can-view-import-3.0.6.tgz_1488825539547_0.3103071232326329"
},
"_npmUser": {
"name": "matthewp",
"email": "matthew@matthewphillips.info"
"name": "marshallswain",
"email": "marshall@creativeideal.net"
},
"_npmVersion": "3.10.3",
"_npmVersion": "4.1.2",
"_phantomChildren": {},

@@ -44,7 +44,7 @@ "_requested": {

],
"_resolved": "https://registry.npmjs.org/can-view-import/-/can-view-import-3.0.4.tgz",
"_shasum": "a36e2bfa362d80b3f62e3f3c435c002a5b775875",
"_resolved": "https://registry.npmjs.org/can-view-import/-/can-view-import-3.0.6.tgz",
"_shasum": "b05f9f4dbe41adbb437ce143ed7a3ee03c9c453c",
"_shrinkwrap": null,
"_spec": "can-view-import@^3.0.3",
"_where": "/Users/marshall/Sites/canjs-repos/can-view-import/node_modules/steal-stache",
"_where": "/Users/matthew/dev/can-view-import/node_modules/steal-stache",
"author": {

@@ -92,7 +92,7 @@ "name": "Bitovi",

"devDependencies": {
"bit-docs": "0.0.6",
"can-component": "^3.0.0-pre.3",
"can-compute": "^3.0.0-pre.2",
"can-map": "^3.0.0-pre.3",
"can-stache": "^3.0.0-pre.2",
"bit-docs": "0.0.7",
"can-component": "^3.0.0",
"can-compute": "^3.0.0",
"can-map": "^3.0.0",
"can-stache": "^3.0.0",
"done-serve": "^0.2.0",

@@ -102,13 +102,13 @@ "donejs-cli": "^0.9.4",

"jshint": "^2.9.1",
"steal": "^0.16.0",
"steal-qunit": "^0.1.1",
"steal-tools": "^0.16.0",
"testee": "^0.2.4"
"steal": "^1.2.0",
"steal-qunit": "^1.0.0",
"steal-tools": "^1.0.0",
"testee": "^0.3.0"
},
"directories": {},
"dist": {
"shasum": "a36e2bfa362d80b3f62e3f3c435c002a5b775875",
"tarball": "https://registry.npmjs.org/can-view-import/-/can-view-import-3.0.4.tgz"
"shasum": "b05f9f4dbe41adbb437ce143ed7a3ee03c9c453c",
"tarball": "https://registry.npmjs.org/can-view-import/-/can-view-import-3.0.6.tgz"
},
"gitHead": "f97d13b648c287e0d9fcc3f2f4b1710c95e19d89",
"gitHead": "6c0c3391806180617e9514890907c3ff2bec44c9",
"homepage": "https://canjs.com",

@@ -127,2 +127,6 @@ "keywords": [],

{
"name": "marshallswain",
"email": "marshall@creativeideal.net"
},
{
"name": "matthewp",

@@ -158,17 +162,3 @@ "email": "matthew@matthewphillips.info"

},
"system": {
"main": "can-view-import",
"configDependencies": [
"live-reload"
],
"npmIgnore": [
"documentjs",
"testee",
"generator-donejs",
"donejs-cli",
"steal-tools"
],
"npmAlgorithm": "flat"
},
"version": "3.0.4"
"version": "3.0.6"
}
{
"name": "can-view-import",
"version": "3.0.6",
"version": "3.0.7",
"description": "Import dependencies in CanJS views",

@@ -5,0 +5,0 @@ "homepage": "https://canjs.com",

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