From 928f7f4f9ab4c8185a0c53c83471419c2077fdc4 Mon Sep 17 00:00:00 2001 From: npmcdn-to-unpkg-bot Date: Sat, 10 Sep 2016 16:25:00 +0100 Subject: [PATCH] Replace npmcdn.com with unpkg.com --- test/form/paths-function/_config.js | 2 +- test/form/paths-function/_expected/amd.js | 2 +- test/form/paths-function/_expected/cjs.js | 2 +- test/form/paths-function/_expected/es.js | 2 +- test/form/paths-function/_expected/umd.js | 4 ++-- test/form/paths/_config.js | 2 +- test/form/paths/_expected/amd.js | 2 +- test/form/paths/_expected/cjs.js | 2 +- test/form/paths/_expected/es.js | 2 +- test/form/paths/_expected/umd.js | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/form/paths-function/_config.js b/test/form/paths-function/_config.js index d4f6a0d..2d1f055 100644 --- a/test/form/paths-function/_config.js +++ b/test/form/paths-function/_config.js @@ -1,6 +1,6 @@ module.exports = { description: 'external paths (#754)', options: { - paths: id => `https://npmcdn.com/${id}` + paths: id => `https://unpkg.com/${id}` } }; diff --git a/test/form/paths-function/_expected/amd.js b/test/form/paths-function/_expected/amd.js index fe2d243..0893293 100644 --- a/test/form/paths-function/_expected/amd.js +++ b/test/form/paths-function/_expected/amd.js @@ -1,4 +1,4 @@ -define(['https://npmcdn.com/foo'], function (foo) { 'use strict'; +define(['https://unpkg.com/foo'], function (foo) { 'use strict'; foo = 'default' in foo ? foo['default'] : foo; diff --git a/test/form/paths-function/_expected/cjs.js b/test/form/paths-function/_expected/cjs.js index 864ce43..4bb0804 100644 --- a/test/form/paths-function/_expected/cjs.js +++ b/test/form/paths-function/_expected/cjs.js @@ -2,6 +2,6 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var foo = _interopDefault(require('https://npmcdn.com/foo')); +var foo = _interopDefault(require('https://unpkg.com/foo')); assert.equal( foo, 42 ); diff --git a/test/form/paths-function/_expected/es.js b/test/form/paths-function/_expected/es.js index 1c4fe57..74bfea3 100644 --- a/test/form/paths-function/_expected/es.js +++ b/test/form/paths-function/_expected/es.js @@ -1,3 +1,3 @@ -import foo from 'https://npmcdn.com/foo'; +import foo from 'https://unpkg.com/foo'; assert.equal( foo, 42 ); diff --git a/test/form/paths-function/_expected/umd.js b/test/form/paths-function/_expected/umd.js index 8da109e..e86e892 100644 --- a/test/form/paths-function/_expected/umd.js +++ b/test/form/paths-function/_expected/umd.js @@ -1,6 +1,6 @@ (function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('https://npmcdn.com/foo')) : - typeof define === 'function' && define.amd ? define(['https://npmcdn.com/foo'], factory) : + typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('https://unpkg.com/foo')) : + typeof define === 'function' && define.amd ? define(['https://unpkg.com/foo'], factory) : (factory(global.foo)); }(this, (function (foo) { 'use strict'; diff --git a/test/form/paths/_config.js b/test/form/paths/_config.js index c9b4ca3..1d6ed03 100644 --- a/test/form/paths/_config.js +++ b/test/form/paths/_config.js @@ -2,7 +2,7 @@ module.exports = { description: 'external paths (#754)', options: { paths: { - foo: 'https://npmcdn.com/foo' + foo: 'https://unpkg.com/foo' } } }; diff --git a/test/form/paths/_expected/amd.js b/test/form/paths/_expected/amd.js index fe2d243..0893293 100644 --- a/test/form/paths/_expected/amd.js +++ b/test/form/paths/_expected/amd.js @@ -1,4 +1,4 @@ -define(['https://npmcdn.com/foo'], function (foo) { 'use strict'; +define(['https://unpkg.com/foo'], function (foo) { 'use strict'; foo = 'default' in foo ? foo['default'] : foo; diff --git a/test/form/paths/_expected/cjs.js b/test/form/paths/_expected/cjs.js index 864ce43..4bb0804 100644 --- a/test/form/paths/_expected/cjs.js +++ b/test/form/paths/_expected/cjs.js @@ -2,6 +2,6 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var foo = _interopDefault(require('https://npmcdn.com/foo')); +var foo = _interopDefault(require('https://unpkg.com/foo')); assert.equal( foo, 42 ); diff --git a/test/form/paths/_expected/es.js b/test/form/paths/_expected/es.js index 1c4fe57..74bfea3 100644 --- a/test/form/paths/_expected/es.js +++ b/test/form/paths/_expected/es.js @@ -1,3 +1,3 @@ -import foo from 'https://npmcdn.com/foo'; +import foo from 'https://unpkg.com/foo'; assert.equal( foo, 42 ); diff --git a/test/form/paths/_expected/umd.js b/test/form/paths/_expected/umd.js index 8da109e..e86e892 100644 --- a/test/form/paths/_expected/umd.js +++ b/test/form/paths/_expected/umd.js @@ -1,6 +1,6 @@ (function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('https://npmcdn.com/foo')) : - typeof define === 'function' && define.amd ? define(['https://npmcdn.com/foo'], factory) : + typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('https://unpkg.com/foo')) : + typeof define === 'function' && define.amd ? define(['https://unpkg.com/foo'], factory) : (factory(global.foo)); }(this, (function (foo) { 'use strict';