{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss-import/issues/16","labels_url":"https://api.github.com/repos/postcss/postcss-import/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss-import/issues/16/comments","events_url":"https://api.github.com/repos/postcss/postcss-import/issues/16/events","html_url":"https://github.com/postcss/postcss-import/issues/16","id":53809839,"number":16,"title":"postcss-import does not work with postcss 4.0","user":{"login":"nullstyle","id":366,"avatar_url":"https://avatars.githubusercontent.com/u/366?v=3","gravatar_id":"","url":"https://api.github.com/users/nullstyle","html_url":"https://github.com/nullstyle","followers_url":"https://api.github.com/users/nullstyle/followers","following_url":"https://api.github.com/users/nullstyle/following{/other_user}","gists_url":"https://api.github.com/users/nullstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/nullstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nullstyle/subscriptions","organizations_url":"https://api.github.com/users/nullstyle/orgs","repos_url":"https://api.github.com/users/nullstyle/repos","events_url":"https://api.github.com/users/nullstyle/events{/privacy}","received_events_url":"https://api.github.com/users/nullstyle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-08T22:30:26Z","updated_at":"2015-01-23T11:24:12Z","closed_at":null,"body":"I get the following error:\r\n\r\n```\r\n/Users/nullstyle/src/tmp/busted/node_modules/postcss-import/node_modules/postcss-message-helpers/index.js:79\r\n    throw err\r\n          ^\r\nTypeError: <css input>:1:1: Cannot call method 'map' of undefined\r\n    at <css input>:1:1\r\n    at Root.Container.normalize (/Users/nullstyle/src/tmp/busted/node_modules/postcss/lib/container.js:451:25)\r\n    at Root.normalize (/Users/nullstyle/src/tmp/busted/node_modules/postcss/lib/root.js:44:45)\r\n    at Root.Container.insertBefore (/Users/nullstyle/src/tmp/busted/node_modules/postcss/lib/container.js:306:20)\r\n    at insertRules (/Users/nullstyle/src/tmp/busted/node_modules/postcss-import/index.js:217:17)\r\n    at readImportedContent (/Users/nullstyle/src/tmp/busted/node_modules/postcss-import/index.js:185:3)\r\n    at readAtImport (/Users/nullstyle/src/tmp/busted/node_modules/postcss-import/index.js:150:3)\r\n    at transformAtImport (/Users/nullstyle/src/tmp/busted/node_modules/postcss-import/index.js:86:7)\r\n    at Object.tryCatch [as try] (/Users/nullstyle/src/tmp/busted/node_modules/postcss-import/node_modules/postcss-message-helpers/index.js:53:12)\r\n    at checkAtRule (/Users/nullstyle/src/tmp/busted/node_modules/postcss-import/index.js:85:16)\r\n    at /Users/nullstyle/src/tmp/busted/node_modules/postcss/lib/container.js:218:22\r\n```"},"comment":{"url":"https://api.github.com/repos/postcss/postcss-import/issues/comments/71180574","html_url":"https://github.com/postcss/postcss-import/issues/16#issuecomment-71180574","issue_url":"https://api.github.com/repos/postcss/postcss-import/issues/16","id":71180574,"user":{"login":"ai","id":19343,"avatar_url":"https://avatars.githubusercontent.com/u/19343?v=3","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T11:24:12Z","updated_at":"2015-01-23T11:24:12Z","body":"How PostCSS stringify rules.\r\n\r\n1. If rule has `between` property, PostCSS wwill use it.\r\n2. If rules doesn’t have `between` property, PostCSS ill try to find other rule with `between` and use it.\r\n3. If there is no rules in `between`, PostCSS will use default value.\r\n\r\nWhen you `clone()` node, it will remove all whitespace properties: `before`, `after` and `between`.\r\n\r\nWhen you use `moveTo()` it will remove `before` and `after`. Property `between` will be removed only if you move node to different root."}}